summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/templates/localboot.html
diff options
context:
space:
mode:
authorroot2019-02-19 18:53:50 +0100
committerroot2019-02-19 18:53:50 +0100
commit0ad4c0f8196b61699754762aacbaab0223478ab9 (patch)
treede434c4aea8d07ecd01cd3badd48d057d62c2d1b /modules-available/serversetup-bwlp-ipxe/templates/localboot.html
parent[usb-lock-off] Edit rule cleanup and fix of the dropdown boxes. (diff)
parent[statistics] Fix RAM change warning to handle increase too (diff)
downloadslx-admin-0ad4c0f8196b61699754762aacbaab0223478ab9.tar.gz
slx-admin-0ad4c0f8196b61699754762aacbaab0223478ab9.tar.xz
slx-admin-0ad4c0f8196b61699754762aacbaab0223478ab9.zip
Merge branch 'master' into usb-lock-offusb-lock-off
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/templates/localboot.html')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/templates/localboot.html59
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>