diff options
author | Simon Rettberg | 2013-11-21 17:02:04 +0100 |
---|---|---|
committer | Simon Rettberg | 2013-11-21 17:02:04 +0100 |
commit | 639715cee0744fd1b5f5ded28b1b60c969702026 (patch) | |
tree | 6680655fc15c354ed34dcbe09bc179969644d3f2 /templates | |
parent | Notify about missing options/files/actions on dashboard (diff) | |
download | slx-admin-639715cee0744fd1b5f5ded28b1b60c969702026.tar.gz slx-admin-639715cee0744fd1b5f5ded28b1b60c969702026.tar.xz slx-admin-639715cee0744fd1b5f5ded28b1b60c969702026.zip |
Make default boot entry selectable (also fix menu timeout)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page-ipxe.html | 6 | ||||
-rw-r--r-- | templates/txt-pxeconfig.html | 18 |
2 files changed, 14 insertions, 10 deletions
diff --git a/templates/page-ipxe.html b/templates/page-ipxe.html index 7910c5af..ba56582e 100644 --- a/templates/page-ipxe.html +++ b/templates/page-ipxe.html @@ -5,7 +5,11 @@ </div> {{#ips}} <div class="panel-body">{{ip}} - <a class="btn btn-success" href="#" onclick="this.style.display='none';loadContent('#compiler', 'api.php?do=exec&type=ipxe&ip={{ip}}&id=compiler')">Kompilieren</a>{{#current}} (Aktuelle Konfiguration){{/current}} + <span> + <a class="btn btn-success" href="#" onclick="this.parentNode.style.display='none';loadContent('#compiler', 'api.php?do=exec&type=ipxe&ip={{ip}}&id=compiler&default=hddboot')">Kompilieren (HDD Default)</a> + <a class="btn btn-success" href="#" onclick="this.parentNode.style.display='none';loadContent('#compiler', 'api.php?do=exec&type=ipxe&ip={{ip}}&id=compiler&default=openslx')">Kompilieren (OpenSLX Default)</a> + {{#current}}(Aktuelle Konfiguration){{/current}} + </span> </div> {{/ips}} </div> diff --git a/templates/txt-pxeconfig.html b/templates/txt-pxeconfig.html index 6998a205..acef8802 100644 --- a/templates/txt-pxeconfig.html +++ b/templates/txt-pxeconfig.html @@ -39,8 +39,8 @@ menu color help 37;40 #ff1c2a33 #00000000 none MENU MSGCOLOR #ff1c2a33 #00000000 none -TIMEOUT 10 -TOTALTIMEOUT 120 +TIMEOUT 100 +TOTALTIMEOUT 1200 MENU TITLE bwLehrpool ALPHA VERSION ONTIMEOUT {{{DEFAULT}}} @@ -54,15 +54,15 @@ LABEL shutdown LABEL openslx - MENU LABEL bwLehrpool ^Kursumgebung - KERNEL http://{{{SERVER}}}/boot/default/kernel - INITRD http://{{{SERVER}}}/boot/default/initramfs-stage31 - APPEND slxsrv={{{SERVER}}} slxbase=boot/default - IPAPPEND 3 + MENU LABEL bwLehrpool ^Kursumgebung + KERNEL http://{{{SERVER}}}/boot/default/kernel + INITRD http://{{{SERVER}}}/boot/default/initramfs-stage31 + APPEND slxsrv={{{SERVER}}} slxbase=boot/default + IPAPPEND 3 + {{{openslx}}} LABEL hddboot MENU LABEL Von ^lokaler Festplatte booten LOCALBOOT 0 - - + {{{hddboot}}} |