summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc/view/public_status
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-02 20:16:05 +0000
committerSteven Barth <steven@midlink.org>2008-06-02 20:16:05 +0000
commit561b0cfaa3fb8163d9ec74a3f96fd5b22ad54f33 (patch)
tree8b4b1765c70bae824bbad3006021cf7a4a775a34 /modules/freifunk/luasrc/view/public_status
parent953510ccac9b9c6b3c1d8634897c0dddc92913e4 (diff)
* Moved Freifunk status pages to admin-core and linked them in Freifunk
* luci/web: Added assign() to dispatcher to reference foreign nodes in the dispatching tree
Diffstat (limited to 'modules/freifunk/luasrc/view/public_status')
-rw-r--r--modules/freifunk/luasrc/view/public_status/iwscan.htm38
-rw-r--r--modules/freifunk/luasrc/view/public_status/routes.htm28
2 files changed, 0 insertions, 66 deletions
diff --git a/modules/freifunk/luasrc/view/public_status/iwscan.htm b/modules/freifunk/luasrc/view/public_status/iwscan.htm
deleted file mode 100644
index adba2d23e7..0000000000
--- a/modules/freifunk/luasrc/view/public_status/iwscan.htm
+++ /dev/null
@@ -1,38 +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>
-<%for iface, cells in pairs(luci.sys.wifi.iwscan()) do
- for i, cell in ipairs(cells) do
-%>
-<tr>
-<td><%=iface%></td>
-<td><%=cell.ESSID%></td>
-<td><%=cell.Address%></td>
-<td><%=cell.Mode%></td>
-<td><%=(cell.Channel or cell.Frequency or "")%></td>
-<td><%=cell["Encryption key"]%></td>
-<td><%=cell.Quality%></td>
-<td><%=cell["Signal level"]%></td>
-<td><%=cell["Noise level"]%></td>
-</tr>
-<%
- end
-end
-%>
-</table>
-<br />
-<%+footer%> \ No newline at end of file
diff --git a/modules/freifunk/luasrc/view/public_status/routes.htm b/modules/freifunk/luasrc/view/public_status/routes.htm
deleted file mode 100644
index 382b8290f2..0000000000
--- a/modules/freifunk/luasrc/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 = luci.sys.net.routes()
-
-for i, r in pairs(routes) do
-%>
-<tr>
-<td><%=luci.sys.net.hexip4(r.Destination)%></td>
-<td><%=luci.sys.net.hexip4(r.Mask)%></td>
-<td><%=luci.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