luci/modules/freifunk/src/view/public_status/index.htm

59 lines
1.2 KiB
HTML
Raw Normal View History

2008-05-08 16:14:49 +00:00
<%+header%>
<h1><%:status Status%></h1>
<h2><%:system System%></h2>
<br />
<table cellspacing="0" cellpadding="6" class="smalltext">
<tr>
<th><%:system_type Systemtyp%>:</th>
<td><%=s%></td>
</tr>
<tr>
<th><%:cpu Prozessor%>:</th>
<td><%=m%></td>
</tr>
<tr>
<th><%:ram Hauptspeicher%>:</th>
<td><%=r%></td>
</tr>
</table>
<br /><br />
<h2><%:wifi Drahtlos%></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>
</tr>
<%=ffluci.sys.httpget("http://127.0.0.1" .. controller .. "/sudo/status/iwconfig")%>
</table>
<br />
<br />
<h2><%:defroutes Standardrouten%></h2>
<br />
<table cellspacing="0" cellpadding="6" class="smalltext">
<tr>
<th><%:gateway Gateway%></th>
<th><%:metric Metrik%></th>
<th><%:iface Schnittstelle%></th>
</tr>
<%
for i, rt in pairs(routes) do
%>
<tr>
<td><%=ffluci.sys.net.hexip4(rt.Gateway)%></th>
<td><%=rt.Metric%></th>
<td><%=rt.Iface%></th>
</tr>
<% end %>
</table>
<%+footer%>