diff options
author | Simon Rettberg | 2019-01-18 16:37:17 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-01-18 16:37:17 +0100 |
commit | 63aa220d849dca2384773bf755358557a1d711c5 (patch) | |
tree | dda64ebb4c70bac3dae4d8e101d6570a2d6aa3c3 /modules-available/serversetup-bwlp/templates | |
parent | [inc/Trigger] PHP 5.6 compat (diff) | |
download | slx-admin-63aa220d849dca2384773bf755358557a1d711c5.tar.gz slx-admin-63aa220d849dca2384773bf755358557a1d711c5.tar.xz slx-admin-63aa220d849dca2384773bf755358557a1d711c5.zip |
[serversetup-bwlp] Make localboot method configurable
Diffstat (limited to 'modules-available/serversetup-bwlp/templates')
-rw-r--r-- | modules-available/serversetup-bwlp/templates/localboot.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp/templates/localboot.html b/modules-available/serversetup-bwlp/templates/localboot.html new file mode 100644 index 00000000..7000be37 --- /dev/null +++ b/modules-available/serversetup-bwlp/templates/localboot.html @@ -0,0 +1,59 @@ +<h2>{{lang_localBootHead}}</h2> + +<p>{{lang_localBootIntro}}</p> + +<form method="post" action="?do=serversetup"> + + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="savelocalboot"> + + <br> + <div class="form-group"> + <label for="default-selector"> + {{lang_localBootDefault}} + </label> + <select id="default-selector" class="form-control" name="default"> + {{#options}} + <option {{selected}}>{{key}}</option> + {{/options}} + </select> + </div> + + <br> + <h3> + {{lang_localBootExceptions}} + </h3> + <table class="table"> + <tr> + <th>{{lang_name}}</th> + <th class="slx-smallcol">{{lang_count}}</th> + <th class="slx-smallcol">{{lang_override}}</th> + </tr> + {{#exceptions}} + <tr> + <td>{{systemmodel}}</td> + <td class="text-right">{{cnt}}</td> + <td> + <select class="form-control" name="override[{{systemmodel}}]"> + <option value="" {{^bootmethod}}selected{{/bootmethod}}>{{lang_none}}</option> + {{#options}} + <option {{selected}}>{{key}}</option> + {{/options}} + </select> + </td> + </tr> + {{/exceptions}} + </table> + + <div class="text-right"> + <button class="btn btn-warning" type="reset"> + <span class="glyphicon glyphicon-refresh"></span> + {{lang_reset}} + </button> + <button class="btn btn-primary" type="submit"> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + </div> + +</form> |