summaryrefslogtreecommitdiffstats
path: root/theming
diff options
context:
space:
mode:
authorOliver Tappe2008-01-11 12:26:15 +0100
committerOliver Tappe2008-01-11 12:26:15 +0100
commita66c764439c979699cd561f870e33df9408d0756 (patch)
tree97de0653a60791e45694e36dd34b3d1e0c473103 /theming
parent* added two new global settings: (diff)
downloadcore-a66c764439c979699cd561f870e33df9408d0756.tar.gz
core-a66c764439c979699cd561f870e33df9408d0756.tar.xz
core-a66c764439c979699cd561f870e33df9408d0756.zip
* added support to the config-demuxer for PXE-theming, i.e. it will look
at the contents of the 'pxe-theme' setting and then try to activate the PXE-theme with the given name. That includes these actions: - an optional template is still loaded and the PXE theme config file is appended to it (such that the theme configuration overrides and/or extends the general PXE-template) - the last background picture referenced by the PXE configuration is copied to the target folder - the menu margin is set according to the 'pxe-theme-menu-margin' setting - any separator lines are rendered as appropriate for the given margin - if any system has a description, it is formatted as appriopriate for the given margin and added to the PXE menu as a TEXT HELP block The whole setup seems to work properly, except for a charset conversion bug concerning the data that has come from the DB (label and description) Thanks go to Michael for his great work on the PXE theme! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1461 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'theming')
-rw-r--r--theming/openslx/pxe/theme.conf39
1 files changed, 32 insertions, 7 deletions
diff --git a/theming/openslx/pxe/theme.conf b/theming/openslx/pxe/theme.conf
index dfae7215..16fcc6a8 100644
--- a/theming/openslx/pxe/theme.conf
+++ b/theming/openslx/pxe/theme.conf
@@ -1,13 +1,13 @@
-# define menu
-# geometry / behavior
+DEFAULT vesamenu.c32
+MENU BACKGROUND openslx.png
PROMPT 0
NOESCAPE 1
TIMEOUT 100
TOTALTIMEOUT 3000
MENU WIDTH 78
-MENU MARGIN 9
-MENU PASSWORDMARGIN 9
+MENU MARGIN @@@MENU_MARGIN@@@
+MENU PASSWORDMARGIN @@@MENU_MARGIN@@@
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 18
@@ -19,7 +19,6 @@ MENU HELPMSGENDROW -1
MENU HSHIFT 0
MENU VSHIFT 5
-# color
menu color screen 37;40 #80ffffff #00000000 std
menu color border 37;40 #40000000 #ff8093a1 std
menu color title 1;37;40 #ffff8b00 #ff8093a1 std
@@ -39,9 +38,35 @@ menu color timeout 1;37;40 #ffff8b00 #00000000 std
menu color help 37;40 #ff1c2a33 #00000000 none
menu color msg07 37;40 #90ffffff #00000000 std
-# messages / titles
MENU MASTER PASSWD secret
MENU PASSPROMPT Gesicherter Bereich, bitte Passwort eingeben:
MENU AUTOBOOT Auswahl startet in # Sekunden
-MENU TITLE OpenSLX - Hauptmenue
+MENU TITLE OpenSLX - Hauptmenü
+
+#####
+LABEL Bitte wählen Sie über die Pfeiltasten aus:
+ KERNEL vesamenu.c32
+ APPEND pxelinux.cfg/default
+
+LABEL @@@SEPARATOR_LINE@@@
+ KERNEL vesamenu.c32
+ APPEND pxelinux.cfg/default
+#####
+
+@@@SLX_LABELS@@@
+
+#####
+LABEL @@@SEPARATOR_LINE@@@
+ KERNEL vesamenu.c32
+ APPEND pxelinux.cfg/default
+#####
+
+LABEL hilfe
+ MENU LABEL ^Hilfe
+ TEXT HELP
+ Bitte wählen Sie das gewünschte System über die Pfeiltasten
+ und bestätigen Sie mit der Return-Taste.
+ ENDTEXT
+ KERNEL vesamenu.c32
+ APPEND pxelinux.cfg/default