projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
themes: properly format load values in theme headers
[project/luci.git]
/
themes
/
openwrt.org
/
luasrc
/
view
/
themes
/
openwrt.org
/
header.htm
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
131e767
..
80aad13
100644
(file)
--- a/
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@
-62,7
+62,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>