diff options
Diffstat (limited to 'modules/freifunk/luasrc/view/public_status/index.htm')
-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 /> |