git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
993cf12
)
luci-mod-freifunk: fix public status page
author
Jo-Philipp Wich
<redacted>
Mon, 9 Feb 2015 11:15:06 +0000
(12:15 +0100)
committer
Jo-Philipp Wich
<redacted>
Mon, 9 Feb 2015 11:15:06 +0000
(12:15 +0100)
Signed-off-by: Jo-Philipp Wich <redacted>
modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
patch
|
blob
|
history
diff --git
a/modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
b/modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
index 72bd136c5eab52172130e91bd45a70f32a93b753..42a58f9dd365ab40de06d9b5afe298def6fa0ce6 100644
(file)
--- a/
modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
+++ b/
modules/luci-mod-freifunk/luasrc/view/freifunk/public_status.htm
@@
-23,12
+23,12
@@
local load = string.format("%.2f, %.2f, %.2f", loads[1] / 65535.0, loads[2] / 65
local mem = string.format(
"%.2f MB (%.2f %s, %.2f %s, %.2f %s)",
- mem
ory
.total / 1024 / 1024,
- (mem
ory.total - memory
.free) / 1024 / 1024,
+ mem
info
.total / 1024 / 1024,
+ (mem
info.total - meminfo
.free) / 1024 / 1024,
tostring(i18n.translate("used")),
- mem
ory
.free / 1024 / 1024,
+ mem
info
.free / 1024 / 1024,
tostring(i18n.translate("free")),
- mem
ory
.buffered / 1024 / 1024,
+ mem
info
.buffered / 1024 / 1024,
tostring(i18n.translate("buffered"))
)
git clone https://git.99rst.org/PROJECT