summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html
diff options
context:
space:
mode:
authorSimon Rettberg2020-10-23 15:56:56 +0200
committerSimon Rettberg2020-10-23 15:56:56 +0200
commit09ad25e241134aafb4b384f39bc2a848f0c28332 (patch)
tree7b7f0a5f257fe37ce95cddd580d3485b66916bef /modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html
parent[dozmod] expiredimages: Link to user's actionlog instead of sending mail (diff)
downloadslx-admin-09ad25e241134aafb4b384f39bc2a848f0c28332.tar.gz
slx-admin-09ad25e241134aafb4b384f39bc2a848f0c28332.tar.xz
slx-admin-09ad25e241134aafb4b384f39bc2a848f0c28332.zip
[serversetup-bwlp-ipxe] Add "Edit" link for bootentries in menu editor
Add link to the popup where you select a boot entry for a menu entry in a menu.
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html b/modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html
index d637f0d1..b79e6bb3 100644
--- a/modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html
+++ b/modules-available/serversetup-bwlp-ipxe/templates/menu-edit.html
@@ -84,7 +84,8 @@
</td>
<td>
- <select class="form-control key-list no-spacer" {{^entryid}}style="display: none;"{{/entryid}} name="entry[{{menuentryid}}][hotkey]" {{readonly}} data-default="{{hotkey}}">
+ <select class="form-control key-list no-spacer" {{^entryid}}style="display: none;"{{/entryid}}
+ name="entry[{{menuentryid}}][hotkey]" {{readonly}} data-default="{{hotkey}}">
</select>
</td>
@@ -206,6 +207,11 @@
{{/otherFields}}
</table>
{{/ishook}}
+ {{^no_edit}}
+ <div class="text-right">
+ <a href="?do=serversetup&amp;show=editbootentry&amp;id={{entryid}}">{{lang_edit}}</a>
+ </div>
+ {{/no_edit}}
</div>
{{/entrylist}}
</div>