From 03424ad19ac1bb42635a3d6653565aa0dc6ccf5a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 25 Mar 2019 11:46:50 +0100 Subject: Introduce JS helper for bootstrap confirm dialogs on button-submit --- .../templates/bootentry-list.html | 135 +++++++++------------ .../serversetup-bwlp-ipxe/templates/menu-list.html | 45 ++----- 2 files changed, 65 insertions(+), 115 deletions(-) (limited to 'modules-available/serversetup-bwlp-ipxe') diff --git a/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html b/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html index edfc0e5f..96130b14 100644 --- a/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html +++ b/modules-available/serversetup-bwlp-ipxe/templates/bootentry-list.html @@ -4,58 +4,64 @@ {{lang_bootentryIntro}}

- - - - - - - - - {{#allowEdit}}{{/allowEdit}} - - - - - {{#bootentryTable}} - - - - - - - {{#allowEdit}} - - {{/allowEdit}} - + + {{/bootentryTable}} + +
{{lang_entryId}}{{lang_bootentryTitle}}{{lang_hotkey}}{{lang_refCount}}{{lang_edit}}{{lang_copy}}{{lang_delete}}
- {{entryid}} - - {{title}} - - {{hotkey}} - - {{refs}} - - - - - - - - - +
+ + + + + + + + + + + {{#allowEdit}}{{/allowEdit}} + + + + + {{#bootentryTable}} + + + + + + {{#allowEdit}} - {{^builtin}} - - {{/builtin}} + {{/allowEdit}} - - - {{/bootentryTable}} - -
{{lang_entryId}}{{lang_bootentryTitle}}{{lang_hotkey}}{{lang_refCount}}{{lang_edit}}{{lang_copy}}{{lang_delete}}
+ {{entryid}} + + {{title}} + + {{hotkey}} + + {{refs}} + + + + + + + + +
+
+ {{#allowEdit}} + {{^builtin}} + + {{/builtin}} + {{/allowEdit}} +
+ +
{{#allowEdit}} @@ -66,32 +72,3 @@
- - -
- - -
- - \ No newline at end of file diff --git a/modules-available/serversetup-bwlp-ipxe/templates/menu-list.html b/modules-available/serversetup-bwlp-ipxe/templates/menu-list.html index ed12e596..8e67e697 100644 --- a/modules-available/serversetup-bwlp-ipxe/templates/menu-list.html +++ b/modules-available/serversetup-bwlp-ipxe/templates/menu-list.html @@ -48,9 +48,14 @@ {{#allowEdit}} - +
+ + + +
{{/allowEdit}} @@ -64,37 +69,5 @@
+
- - - -
- - -
- - \ No newline at end of file -- cgit v1.2.3-55-g7522