diff options
author | Steven Barth <steven@midlink.org> | 2008-09-14 01:05:11 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-14 01:05:11 +0000 |
commit | 15345d3615c3956c3f8fb86a03e180a8c13f0e97 (patch) | |
tree | 268a5c20e09040cf35d90a3d62c8c0c45edfe865 /modules/freifunk/luasrc/view | |
parent | e8557bbe60eba7ed45305c99167e0bbb2c53be52 (diff) |
Reworked Freifunk public status pages
Diffstat (limited to 'modules/freifunk/luasrc/view')
-rw-r--r-- | modules/freifunk/luasrc/view/public_status/index.htm | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/modules/freifunk/luasrc/view/public_status/index.htm b/modules/freifunk/luasrc/view/public_status/index.htm deleted file mode 100644 index aa56834ba1..0000000000 --- a/modules/freifunk/luasrc/view/public_status/index.htm +++ /dev/null @@ -1,97 +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><%:status%></h1> -<h2><%:system%></h2> - -<br /> -<table cellspacing="0" cellpadding="6" class="smalltext"> -<tr> -<th><%:system_type%>:</th> -<td><%=system%></td> -</tr> -<tr> -<th><%:cpu%>:</th> -<td><%=model%></td> -</tr> -<tr> -<th><%:ram%>:<br /><small><%:total%>/<%:cached%>/<%:buffers%>/<%:free%></small></th> -<td><%=memtotal%> / <%=memcached%> / <%=membuffers%> / <%=memfree%> KB<br /> -<div id="memorybar"> - <div id="memfree" style="width:<%=perc_memfree%>%"></div> - <div id="membuffers" style="width:<%=perc_membuffers%>%"></div> - <div id="memcached" style="width:<%=perc_memcached%>%"></div> -</div> -</td> -</tr> -</table> -<br /><br /> - -<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(luci.sys.wifi.getiwconfig()) 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> -<br /> -<br /> -<h2><%:defroutes%></h2> -<br /> -<table cellspacing="0" cellpadding="6" class="smalltext"> -<tr> -<th><%:gateway%></th> -<th><%:metric%></th> -<th><%:iface%></th> -</tr> -<% -for i, rt in pairs(routes) do -%> -<tr> -<td><%=luci.ip.Hex(rt.Gateway, 32):string()%></th> -<td><%=rt.Metric%></th> -<td><%=rt.Iface%></th> -</tr> -<% end %> -</table> -<%+footer%>
\ No newline at end of file |