diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-17 16:35:02 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-01-17 16:35:02 +0000 |
commit | 89c8f98b12f28caf95989d99da6b6cb411f979c5 (patch) | |
tree | c438471ace8fbac62b400df7c585a21c6ba76cbc /themes/openwrt.org | |
parent | f2148a5c65fa6c66d0d22fa43ec2f3e71aac9aa1 (diff) |
build: add mkversion.sh helper script
contrib: (re-)generate version.lua at build time
libs/core: use version.lua
themes: adept header to version.lua, fix css for openwrt.org
Diffstat (limited to 'themes/openwrt.org')
-rw-r--r-- | themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css | 1 | ||||
-rw-r--r-- | themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css index 7fb7fc873..cf4265d6a 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -9,6 +9,7 @@ body { background-position: bottom center; background-repeat: repeat-x; color: #ffffff; + height: 100%; } body { diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm index e658bfc67..131e76722 100644 --- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm @@ -59,9 +59,9 @@ require("luci.http").prepare_content("application/xhtml+xml") </p> <div id="header"> -<h1><%=luci.config.brand.firmware%></h1> +<h1><%=luci.version.distname%></h1> <p> -<%=luci.config.brand.distro%><br /> +<%=luci.version.distversion%><br /> <%:load%>: <%=load1%> <%=load5%> <%=load15%><br /> <%:hostname%>: <%=hostname%> </p> |