summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp/templates/menu-list.html
diff options
context:
space:
mode:
authorUdo Walter2018-11-09 02:46:50 +0100
committerUdo Walter2018-11-09 02:46:50 +0100
commit093d16682743eb1502819bb6c127afeac65d4ede (patch)
tree6df837422263b4bc88dbd31ab06db6b45360fddd /modules-available/serversetup-bwlp/templates/menu-list.html
parent[serversetup-bwlp] bootmenu-edit UI improvements (diff)
downloadslx-admin-093d16682743eb1502819bb6c127afeac65d4ede.tar.gz
slx-admin-093d16682743eb1502819bb6c127afeac65d4ede.tar.xz
slx-admin-093d16682743eb1502819bb6c127afeac65d4ede.zip
[serversetup-bwlp] add location selection to menu edit + ui improvements
- add multiselect to select the locations - add architecture information to the bootentry select modal - add glyphicon to the hide entry column header - default menu is now selected in the menu list - fixed error when creating a menu (isdefault has no default value) and when creating a menu without bootentries
Diffstat (limited to 'modules-available/serversetup-bwlp/templates/menu-list.html')
-rw-r--r--modules-available/serversetup-bwlp/templates/menu-list.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp/templates/menu-list.html b/modules-available/serversetup-bwlp/templates/menu-list.html
index 1f190bb7..5d8ee184 100644
--- a/modules-available/serversetup-bwlp/templates/menu-list.html
+++ b/modules-available/serversetup-bwlp/templates/menu-list.html
@@ -20,13 +20,22 @@
{{locationCount}}
</td>
<td align="center">
+ {{^isdefault}}
+ <form method="post" action="?do=serversetup" {{^showSetDefault}}style="display: none;"{{/showSetDefault}}>
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="menuid" value="{{menuid}}">
+ <button type="submit" name="action" value="setDefaultMenu" class="btn btn-xs btn-info">
+ <span class="glyphicon glyphicon-ok"></span>
+ </button>
+ </form>
+ {{/isdefault}}
{{#isdefault}}
<span class="glyphicon glyphicon-ok"></span>
{{/isdefault}}
</td>
<td align="center">
{{#allowEdit}}
- <a href="?do=serversetup&amp;show=editmenu&amp;id={{menuid}}" class="btn btn-xs btn-default">
+ <a href="?do=serversetup&amp;show=editmenu&amp;id={{menuid}}" class="btn btn-xs btn-primary">
<span class="glyphicon glyphicon-edit"></span>
</a>
{{/allowEdit}}