diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-14 15:54:53 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-14 15:54:53 +0000 |
commit | 426f12416dd59cd24524fb577bdea8b2e4c440f9 (patch) | |
tree | 5ccf85da15170b26f2b8cec395cb5bd863bbae41 /modules/freifunk/luasrc/view/public_status | |
parent | bd3d20708134c3a7622269f71d13ccb70ac0dece (diff) |
* luci: add memory status patches from soma
Diffstat (limited to 'modules/freifunk/luasrc/view/public_status')
-rw-r--r-- | modules/freifunk/luasrc/view/public_status/index.htm | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/freifunk/luasrc/view/public_status/index.htm b/modules/freifunk/luasrc/view/public_status/index.htm index 5789e3ad91..a10f22f431 100644 --- a/modules/freifunk/luasrc/view/public_status/index.htm +++ b/modules/freifunk/luasrc/view/public_status/index.htm @@ -20,15 +20,21 @@ $Id$ <table cellspacing="0" cellpadding="6" class="smalltext"> <tr> <th><%:system_type%>:</th> -<td><%=s%></td> +<td><%=system%></td> </tr> <tr> <th><%:cpu%>:</th> -<td><%=m%></td> +<td><%=model%></td> </tr> <tr> -<th><%:ram%>:</th> -<td><%=r%></td> +<th><%:ram%>:<br /><small><%:total%>/<%:cached%>/<%:buffers%>/<%:free%></small></th> +<td><%=memtotal%> / <%=memcached%> / <%=membuffers%> / <%=memfree%> KB<br /> +<div id="memorybar"> + <div id="memfree" style="width:<%=perc_memfree%>%"></div> + <div id="membuffers" style="width:<%=perc_membuffers%>%"></div> + <div id="memcached" style="width:<%=perc_memcached%>%"></div> +</div> +</td> </tr> </table> <br /><br /> |