diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-22 10:20:06 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-22 10:20:06 +0000 |
commit | 216937af29f22e6a9ee7f2124bb8e22d57f961e3 (patch) | |
tree | 3f068c85e16f1211722b5ce3354b0807f28a26b3 /themes/openwrt.org-oxygen/luasrc/view | |
parent | 30b216f774c2404a965807ddb93a4a4b2aaeac04 (diff) |
themes: properly format load values in theme headers
Diffstat (limited to 'themes/openwrt.org-oxygen/luasrc/view')
-rw-r--r-- | themes/openwrt.org-oxygen/luasrc/view/themes/openwrt.org-oxygen/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
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 fe18214ce1..31873182ce 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 @@ -64,7 +64,7 @@ require("luci.http").prepare_content("application/xhtml+xml") <h1><%=luci.version.distname%></h1> <p> <%=luci.version.distversion%><br /> -<%:load%>: <%=load1%> <%=load5%> <%=load15%><br /> +<%:load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%><br /> <%:hostname%>: <%=hostname%> </p> </div> |