themes: properly format load values in theme headers
[project/luci.git] / themes / openwrt-light / luasrc / view / themes / openwrt-light / header.htm
index 689353c..6883130 100644 (file)
@@ -62,7 +62,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
 <h1><%=luci.version.distname%></h1>
 <p>
 : <%=luci.version.distversion%> |
-<%:load%>: <%=load1%> <%=load5%> <%=load15%> |
+<%:load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%> |
 <%:hostname%>: <%=hostname%>
 </p>
 </div>