diff options
Diffstat (limited to 'modules/freifunk/src/view/public_status/index.htm')
-rw-r--r-- | modules/freifunk/src/view/public_status/index.htm | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/modules/freifunk/src/view/public_status/index.htm b/modules/freifunk/src/view/public_status/index.htm new file mode 100644 index 0000000000..be0b96888b --- /dev/null +++ b/modules/freifunk/src/view/public_status/index.htm @@ -0,0 +1,59 @@ +<%+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%>
\ No newline at end of file |