diff options
author | Udo Walter | 2017-12-27 18:25:34 +0100 |
---|---|---|
committer | Udo Walter | 2017-12-27 18:25:34 +0100 |
commit | 37e4ff35a2b40cd8513e4f06df720668ba7fa661 (patch) | |
tree | 92d638c687c8ff1e9093528066cf37d54eca5e6e /modules-available/serversetup-bwlp/templates/ipxe.html | |
parent | [permissionmanager] bugfix + added locationid 0 to the getAllowedLocations (diff) | |
download | slx-admin-37e4ff35a2b40cd8513e4f06df720668ba7fa661.tar.gz slx-admin-37e4ff35a2b40cd8513e4f06df720668ba7fa661.tar.xz slx-admin-37e4ff35a2b40cd8513e4f06df720668ba7fa661.zip |
[serversetup-bwlp] added permissions to edit boot address and menu and
to download the usb image
Diffstat (limited to 'modules-available/serversetup-bwlp/templates/ipxe.html')
-rw-r--r-- | modules-available/serversetup-bwlp/templates/ipxe.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/serversetup-bwlp/templates/ipxe.html b/modules-available/serversetup-bwlp/templates/ipxe.html index bb776dca..e0dc53e5 100644 --- a/modules-available/serversetup-bwlp/templates/ipxe.html +++ b/modules-available/serversetup-bwlp/templates/ipxe.html @@ -3,7 +3,7 @@ <input type="password" name="password_fake" id="password_fake" value="" style="position:absolute;top:-2000px" tabindex="-1"> <input type="hidden" name="action" value="ipxe"> <input type="hidden" name="token" value="{{token}}"> - <div class="panel panel-default"> + <div class="panel panel-default {{^editAllowed}}disabledPanel{{/editAllowed}}"> <div class="panel-heading"> {{lang_bootMenu}} </div> @@ -52,10 +52,10 @@ </div> <div class="panel-footer"> - <button class="btn btn-primary pull-right" name="action" value="ipxe">{{lang_bootMenuCreate}}</button> + <button class="btn btn-primary pull-right" name="action" value="ipxe" {{^editAllowed}}disabled{{/editAllowed}}>{{lang_bootMenuCreate}}</button> <div> <div class="btn-group" role="group"> - <a class="btn btn-default" href="?do=ServerSetup&action=getimage"> + <a class="btn btn-default {{^downloadAllowed}}disabled{{/downloadAllowed}}" href="?do=ServerSetup&action=getimage"> <span class="glyphicon glyphicon-download-alt"></span> {{lang_downloadImage}} </a> |