Commit Graph

9 Commits

Author SHA1 Message Date
Nils Schneider
1097fadc92 gluon-config-mode: correct hostname on reboot.html
Display the correct hostname on the final page of configmode.
Previously, this page used to simply call luci.sys.hostname() which
would return the current hostname. However, when the configmode changes
the hostname luci.sys.hostname() will not reflect this. This patch
fetches the hostname directly from the UCI system config.

This adds a variable called 'hostname' which may be used in site.conf at
config_mode.msg_reboot and .msg_pubkey.
2014-01-28 03:16:56 +01:00
Nils Schneider
ad2d413f23 gluon-config-mode: use welcome text from site.conf 2014-01-23 01:21:43 +01:00
Nils Schneider
57f65acaf2 gluon-config-mode: replace inline style with class
Replace the inline stylesheet for the public key box on the reboot page
with a CSS class so it can be styled using the theme.
2014-01-22 17:00:58 +01:00
Nils Schneider
be79b874c5 gluon-config-mode: show hostname on reboot page. fixes #8 2013-11-28 19:16:39 +01:00
Nils Schneider
15aafe47c8 gluon-config-mode: texts from mkm 2013-10-09 21:13:48 +02:00
Nils Schneider
0d1e3e144b gluon-config-mode: site.conf: configmode -> config_mode 2013-10-03 23:04:41 +02:00
Nils Schneider
71b8be79f4 gluon-config-mode: rename config-mode to gluon-config-mode 2013-10-02 22:56:51 +02:00
Nils Schneider
cf6c51ee5e gluon-config-mode: rename configmode to config-mode (except in lua variables where it is still called configmode) 2013-10-02 15:24:14 +02:00
Nils Schneider
663b419cd5 configmode: read pubkey message from site configuration 2013-09-30 00:55:38 +02:00