From d037dc5abca2f45e136547cd855bfa6a77a6bb7c Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 18 Aug 2008 01:08:37 +0000 Subject: Updated Wifi Configuration in Mini, removed some orphaned pages --- modules/admin-mini/luasrc/view/mini/index2.htm | 54 -------------------------- modules/admin-mini/luasrc/view/mini/iwscan.htm | 52 ------------------------- 2 files changed, 106 deletions(-) delete mode 100644 modules/admin-mini/luasrc/view/mini/index2.htm delete mode 100644 modules/admin-mini/luasrc/view/mini/iwscan.htm (limited to 'modules/admin-mini/luasrc/view/mini') 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 -Copyright 2008 Jo-Philipp Wich - -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 -%> -

<%:wifi%>

-
- - - - - - - - - - - - - -<%for k, v in pairs(iwconfig) do -%> - - - - - - - - - - - - - - - - -<%end%> -
<%:name%><%:protocol%><%:frequency%><%:power%><%:bitrate%><%:rts%><%:frag%><%:link%><%:signal%><%:noise%>
<%=k%><%=v[1]%><%=v.Frequency%><%=v["Tx-Power"]%><%=v["Bit Rate"]%><%=v["RTS thr"]%><%=v["Fragment thr"]%><%=v["Link Quality"]%><%=v["Signal level"]%><%=v["Noise level"]%>
ESSID: <%=v.ESSID%>BSSID: <%=(v.Cell or v["Access Point"])%>
-<%-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 -Copyright 2008 Jo-Philipp Wich - -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%> -

<%:iwscan%>

-

<%:iwscan1%>

- -
- - - - - - - - - - - - -<%for iface, cells in pairs(luci.sys.wifi.iwscan()) do - for i, cell in ipairs(cells) do -%> - - - - - - - - - - - -<% - end -end -%> -
<%:interface%>ESSIDBSSID<%:mode%><%:channel%><%:iwscan_encr%><%:iwscan_link%><%:iwscan_signal%><%:iwscan_noise%>
<%=iface%><%=luci.util.pcdata(cell.ESSID)%><%=cell.Address%><%=cell.Mode%><%=(cell.Channel or cell.Frequency or "")%><%=cell["Encryption key"]%><%=cell.Quality%><%=cell["Signal level"]%><%=cell["Noise level"]%>
-
-<%+footer%> \ No newline at end of file -- cgit v1.2.3