summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-19 16:45:01 +0100
committerSimon Rettberg2019-03-19 16:45:01 +0100
commit847c6ef5d74992f0a453a12ea65924a5e4b68964 (patch)
treedae79c08942c4d5daf6fc2195c5be63b19412674 /modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html
parent[serversetup-bwlp-ipxe] Fix localboot detection for PXELinux import (diff)
downloadslx-admin-847c6ef5d74992f0a453a12ea65924a5e4b68964.tar.gz
slx-admin-847c6ef5d74992f0a453a12ea65924a5e4b68964.tar.xz
slx-admin-847c6ef5d74992f0a453a12ea65924a5e4b68964.zip
[serversetup-bwlp-ipxe] Fix incomplete bootentries, hide arch select
For type "script", the architecture options do nothing. Hide.
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html b/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html
index 687c312b..a6955642 100644
--- a/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html
+++ b/modules-available/serversetup-bwlp-ipxe/templates/ipxe-new-boot-entry.html
@@ -39,19 +39,19 @@
</label>
<input id="input-title" class="form-control" name="title" value="{{title}}" maxlength="100">
</div>
- <div class="form-group">
- <label for="arch-selector">
- {{lang_archSelector}}
- </label>
- <select id="arch-selector" class="form-control" name="entry[arch]">
- <option value="agnostic" {{agnostic_selected}}>{{lang_archAgnostic}}</option>
- <option value="PCBIOS" {{PCBIOS_selected}}>{{lang_biosOnly}}</option>
- <option value="EFI" {{EFI_selected}}>{{lang_efiOnly}}</option>
- <option value="PCBIOS-EFI" {{PCBIOS-EFI_selected}}>{{lang_archBoth}}</option>
- </select>
- </div>
<div class="type-form" id="form-exec">
+ <div class="form-group">
+ <label for="arch-selector">
+ {{lang_archSelector}}
+ </label>
+ <select id="arch-selector" class="form-control" name="entry[arch]">
+ <option value="agnostic" {{agnostic_selected}}>{{lang_archAgnostic}}</option>
+ <option value="PCBIOS" {{PCBIOS_selected}}>{{lang_biosOnly}}</option>
+ <option value="EFI" {{EFI_selected}}>{{lang_efiOnly}}</option>
+ <option value="PCBIOS-EFI" {{PCBIOS-EFI_selected}}>{{lang_archBoth}}</option>
+ </select>
+ </div>
<div class="row">
{{#entries}}
<div class="mode-class col-md-6" id="col-{{mode}}">