diff options
author | Simon Rettberg | 2019-02-12 14:55:12 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-12 14:55:12 +0100 |
commit | c2a6dfb649107ce3ad64162e2bb2c3c7275650fb (patch) | |
tree | 5a58f34c9c2563bb9baebcf7a36afe3e1d08a120 /modules-available/serversetup-bwlp-ipxe/templates/localboot.html | |
parent | [serversetup-bwlp] Auto-import of old PXELinux config on bootup (diff) | |
download | slx-admin-c2a6dfb649107ce3ad64162e2bb2c3c7275650fb.tar.gz slx-admin-c2a6dfb649107ce3ad64162e2bb2c3c7275650fb.tar.xz slx-admin-c2a6dfb649107ce3ad64162e2bb2c3c7275650fb.zip |
[serversetup*] PXELinux and iPXE side-by-side
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/templates/localboot.html')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/templates/localboot.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/templates/localboot.html b/modules-available/serversetup-bwlp-ipxe/templates/localboot.html new file mode 100644 index 00000000..3037de2a --- /dev/null +++ b/modules-available/serversetup-bwlp-ipxe/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_systemmodel}}</th> + <th class="slx-smallcol">{{lang_count}}</th> + <th class="slx-smallcol">{{lang_override}}</th> + </tr> + {{#exceptions}} + <tr> + <td><a href="?do=statistics&show=list&filters=systemmodel+%3D+{{systemmodel}}">{{systemmodel}}</a></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> |