diff --git a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm index 657d5e8132..8904837db0 100644 --- a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm +++ b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm @@ -62,7 +62,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
<%=luci.version.distversion%>
-<%:load%>: <%=load1%> <%=load5%> <%=load15%>
+<%:load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%>
<%:hostname%>: <%=hostname%>
: <%=luci.version.distversion%> | -<%:load%>: <%=load1%> <%=load5%> <%=load15%> | +<%:load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%> | <%:hostname%>: <%=hostname%>
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")
<%=luci.version.distversion%>
-<%:load%>: <%=load1%> <%=load5%> <%=load15%>
+<%:load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%>
<%:hostname%>: <%=hostname%>
<%=luci.version.distversion%>
-<%:load%>: <%=load1%> <%=load5%> <%=load15%>
+<%:load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%>
<%:hostname%>: <%=hostname%>