+<%#
+LuCI - Lua Configuration Interface
+Copyright 2008 Steven Barth <steven@midlink.org>
+Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+-%>
<%+header%>
<h1><%:status%></h1>
<h2><%:system%></h2>
<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 />