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 | |
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')
4 files changed, 7 insertions, 6 deletions
diff --git a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm b/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm index 7972c93f9..689353c48 100644 --- a/themes/openwrt-light/luasrc/view/themes/openwrt-light/header.htm +++ b/themes/openwrt-light/luasrc/view/themes/openwrt-light/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%>) | +: <%=luci.version.distversion%> | <%:load%>: <%=load1%> <%=load5%> <%=load15%> | <%:hostname%>: <%=hostname%> </p> diff --git a/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm b/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm index a2c48b9f4..fe18214ce 100644 --- a/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm +++ b/themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm @@ -61,9 +61,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> 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> |