diff options
author | Steven Barth <steven@midlink.org> | 2008-05-08 16:07:00 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-05-08 16:07:00 +0000 |
commit | f3b7e588e127774e85ebe244ca6ae22d8a8b25e5 (patch) | |
tree | f58e10fd01406d68156dd1b35c9d7a9f78dd797f /modules/freifunk/src/view/public_status | |
parent | 214bfdc19887c3df373d1323afd9738eee4f64ca (diff) |
* WTF SVN oO
Diffstat (limited to 'modules/freifunk/src/view/public_status')
-rw-r--r-- | modules/freifunk/src/view/public_status/index.htm | 59 | ||||
-rw-r--r-- | modules/freifunk/src/view/public_status/iwscan.htm | 21 | ||||
-rw-r--r-- | modules/freifunk/src/view/public_status/routes.htm | 28 |
3 files changed, 0 insertions, 108 deletions
diff --git a/modules/freifunk/src/view/public_status/index.htm b/modules/freifunk/src/view/public_status/index.htm deleted file mode 100644 index be0b96888..000000000 --- a/modules/freifunk/src/view/public_status/index.htm +++ /dev/null @@ -1,59 +0,0 @@ -<%+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 diff --git a/modules/freifunk/src/view/public_status/iwscan.htm b/modules/freifunk/src/view/public_status/iwscan.htm deleted file mode 100644 index a8924c892..000000000 --- a/modules/freifunk/src/view/public_status/iwscan.htm +++ /dev/null @@ -1,21 +0,0 @@ -<%+header%> -<h1><%:iwscan WLAN-Scan%></h1> -<p><%:iwscan1 Drahtlosnetzwerke in der lokalen Umgebung des Routers:%></p> - -<br /> -<table cellspacing="0" cellpadding="6" class="smalltext"> -<tr> -<th><%:interface Schnittstelle%></th> -<th><%:essid ESSID%></th> -<th><%:bssid BSSID%></th> -<th><%:mode Modus%></th> -<th><%:channel Kanal%></th> -<th><%:encr Vers.%></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/iwscan")%> -</table> -<br /> -<%+footer%>
\ No newline at end of file diff --git a/modules/freifunk/src/view/public_status/routes.htm b/modules/freifunk/src/view/public_status/routes.htm deleted file mode 100644 index 85b02212d..000000000 --- a/modules/freifunk/src/view/public_status/routes.htm +++ /dev/null @@ -1,28 +0,0 @@ -<%+header%> -<h1><%:routes Routen%></h1> - -<br /> -<table cellspacing="0" cellpadding="6" class="smalltext"> -<tr> -<th><%:target Ziel%></th> -<th><%:netmask Netzmaske%></th> -<th><%:gateway Gateway%></th> -<th><%:metric Metrik%></th> -<th><%:iface Schnittstelle%></th> -</tr> -<% -local routes = ffluci.sys.net.routes() - -for i, r in pairs(routes) do -%> -<tr> -<td><%=ffluci.sys.net.hexip4(r.Destination)%></td> -<td><%=ffluci.sys.net.hexip4(r.Mask)%></td> -<td><%=ffluci.sys.net.hexip4(r.Gateway)%></td> -<td><%=r.Metric%></td> -<td><%=r.Iface%></td> -</tr> -<% end %> -</table> -<br /> -<%+footer%>
\ No newline at end of file |