(no commit message)
[project/luci.git] / module / public-core / src / view / sudo_status / iwscan.htm
1 <%
2 ffluci.http.prepare_content("text/plain")
3 for iface, cells in pairs(ffluci.sys.wifi.iwscan()) do
4 for i, cell in ipairs(cells) do
5 %>
6 <tr>
7 <td><%=iface%></td>
8 <td><%=cell.ESSID%></td>
9 <td><%=cell.Address%></td>
10 <td><%=cell.Mode%></td>
11 <td><%=(cell.Channel or cell.Frequency or "")%></td>
12 <td><%=cell["Encryption key"]%></td>
13 <td><%=cell.Quality%></td>
14 <td><%=cell["Signal level"]%></td>
15 <td><%=cell["Noise level"]%></td>
16 </tr>
17 <%
18 end
19 end
20 %>
21
22