diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-17 15:17:42 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-17 15:17:42 +0100 |
commit | 30d45d0c0e0a08725b017693460a6d70379a68ac (patch) | |
tree | 30c03bf2705ee7637082608a9ca28428fac742bf /themes/luci-theme-freifunk-generic/luasrc | |
parent | 4abf1caa3f088701fcb8bd428e7e78f74ef5e377 (diff) |
themes: fix load number formatting
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'themes/luci-theme-freifunk-generic/luasrc')
-rw-r--r-- | themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm index f6d40edb5f..d74916aea1 100644 --- a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -123,7 +123,7 @@ </div> <div class="header_right"> <%=luci.version.distversion%><br /> - <%:Load%>: <%="%.2f" % loadinfo[1] / 65535.0%> <%="%.2f" % loadinfo[2] / 65535.0%> <%="%.2f" % loadinfo[3] / 65535.0%><br /> + <%:Load%>: <%="%.2f" % (loadinfo[1] / 65535.0)%> <%="%.2f" % (loadinfo[2] / 65535.0)%> <%="%.2f" % (loadinfo[3] / 65535.0)%><br /> <%:Hostname%>: <%=boardinfo.hostname or "?"%><br /> <span id="xhr_poll_status" style="display:none" onclick="XHR.running() ? XHR.halt() : XHR.run()"> <%:Auto Refresh%>: |