diff options
author | Steven Barth <steven@midlink.org> | 2008-08-18 01:08:37 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-18 01:08:37 +0000 |
commit | d037dc5abca2f45e136547cd855bfa6a77a6bb7c (patch) | |
tree | 5597035e949fef724305066463e49f00ef5cbca0 /modules/admin-mini/luasrc/view | |
parent | 0c3fc70ddbf3f0fc0dcbb5d7c05285b0b2d12ccb (diff) |
Updated Wifi Configuration in Mini, removed some orphaned pages
Diffstat (limited to 'modules/admin-mini/luasrc/view')
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/index2.htm | 54 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/view/mini/iwscan.htm | 52 |
2 files changed, 0 insertions, 106 deletions
diff --git a/modules/admin-mini/luasrc/view/mini/index2.htm b/modules/admin-mini/luasrc/view/mini/index2.htm deleted file mode 100644 index 741ef7c466..0000000000 --- a/modules/admin-mini/luasrc/view/mini/index2.htm +++ /dev/null @@ -1,54 +0,0 @@ -<%# -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$ - --%> -<% -local iwconfig = luci.sys.wifi.getiwconfig() -if next(iwconfig) then -%> -<h2><%:wifi%></h2> -<br /> -<table cellspacing="0" cellpadding="6" class="smalltext"> -<tr> -<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(iwconfig) do -%> -<tr> -<td rowspan="2"><%=k%></td> -<td><%=v[1]%></td> -<td><%=v.Frequency%></td> -<td><%=v["Tx-Power"]%></td> -<td><%=v["Bit Rate"]%></td> -<td><%=v["RTS thr"]%></td> -<td><%=v["Fragment thr"]%></td> -<td><%=v["Link Quality"]%></td> -<td><%=v["Signal level"]%></td> -<td><%=v["Noise level"]%></td> -</tr> -<tr> -<td colspan="4"><strong>ESSID: </strong><%=v.ESSID%></td> -<td colspan="5"><strong>BSSID: </strong><%=(v.Cell or v["Access Point"])%></td> -</tr> -<%end%> -</table> -<%-end%>
\ No newline at end of file diff --git a/modules/admin-mini/luasrc/view/mini/iwscan.htm b/modules/admin-mini/luasrc/view/mini/iwscan.htm deleted file mode 100644 index c0290d086b..0000000000 --- a/modules/admin-mini/luasrc/view/mini/iwscan.htm +++ /dev/null @@ -1,52 +0,0 @@ -<%# -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><%:iwscan%></h1> -<p><%:iwscan1%></p> - -<br /> -<table cellspacing="0" cellpadding="6" class="smalltext"> -<tr> -<th><%:interface%></th> -<th>ESSID</th> -<th>BSSID</th> -<th><%:mode%></th> -<th><%:channel%></th> -<th><%:iwscan_encr%></th> -<th><%:iwscan_link%></th> -<th><%:iwscan_signal%></th> -<th><%:iwscan_noise%></th> -</tr> -<%for iface, cells in pairs(luci.sys.wifi.iwscan()) do - for i, cell in ipairs(cells) do -%> -<tr> -<td><%=iface%></td> -<td><%=luci.util.pcdata(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 |