+<%#
+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 Status%></h1>
-<h2><%:system System%></h2>
+<h1><%:status%></h1>
+<h2><%:system%></h2>
<br />
<table cellspacing="0" cellpadding="6" class="smalltext">
<tr>
-<th><%:system_type Systemtyp%>:</th>
-<td><%=s%></td>
+<th><%:system_type%>:</th>
+<td><%=system%></td>
</tr>
<tr>
-<th><%:cpu Prozessor%>:</th>
-<td><%=m%></td>
+<th><%:cpu%>:</th>
+<td><%=model%></td>
</tr>
<tr>
-<th><%:ram Hauptspeicher%>:</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 />
-<h2><%:wifi Drahtlos%></h2>
+<h2><%:wifi%></h2>
<br />
<table cellspacing="0" cellpadding="6" class="smalltext">
<tr>
-<th><%:name Name%></th>
-<th><%:protocol Protokoll%></th>
-<th><%:frequency Frequenz%></th>
-<th><%:power Leistung%></th>
-<th><%:bitrate Bitrate%></th>
-<th><%:rts RTS%></th>
-<th><%:frag Frag.%></th>
-<th><%:link Verb.%></th>
-<th><%:signal Signal%></th>
-<th><%:noise Rausch%></th>
+<th><%:name%></th>
+<th><%:protocol%></th>
+<th><%:frequency%></th>
+<th><%:power%></th>
+<th><%:bitrate%></th>
+<th><%:rts%></th>
+<th><%:frag%></th>
+<th><%:link%></th>
+<th><%:signal%></th>
+<th><%:noise%></th>
</tr>
<%for k, v in pairs(luci.sys.wifi.getiwconfig()) do
%>
</table>
<br />
<br />
-<h2><%:defroutes Standardrouten%></h2>
+<h2><%:defroutes%></h2>
<br />
<table cellspacing="0" cellpadding="6" class="smalltext">
<tr>
-<th><%:gateway Gateway%></th>
-<th><%:metric Metrik%></th>
-<th><%:iface Schnittstelle%></th>
+<th><%:gateway%></th>
+<th><%:metric%></th>
+<th><%:iface%></th>
</tr>
<%
for i, rt in pairs(routes) do