themes: properly format load values in theme headers
[project/luci.git] / themes / openwrt.org-oxygen / luasrc / view / themes / openwrt.org-oxygen / header.htm
index fe18214ce10a8cf6947260dbb8e634652fe4e818..31873182cecbaab0b640eb9f5da97f70a6c7d879 100644 (file)
@@ -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>