(no commit message)
[project/luci.git] / module / public-core / src / view / public_status / index.htm
1 <%+header%>
2 <h1><%:status Status%></h1>
3 <h2><%:system System%></h2>
4
5 <br />
6 <table cellspacing="0" cellpadding="6" class="smalltext">
7 <tr>
8 <th><%:system_type Systemtyp%>:</th>
9 <td><%=s%></td>
10 </tr>
11 <tr>
12 <th><%:cpu Prozessor%>:</th>
13 <td><%=m%></td>
14 </tr>
15 <tr>
16 <th><%:ram Hauptspeicher%>:</th>
17 <td><%=r%></td>
18 </tr>
19 </table>
20 <br /><br />
21
22 <h2><%:wifi Drahtlos%></h2>
23 <br />
24 <table cellspacing="0" cellpadding="6" class="smalltext">
25 <tr>
26 <th><%:name Name%></th>
27 <th><%:protocol Protokoll%></th>
28 <th><%:frequency Frequenz%></th>
29 <th><%:power Leistung%></th>
30 <th><%:bitrate Bitrate%></th>
31 <th><%:rts RTS%></th>
32 <th><%:frag Frag.%></th>
33 <th><%:link Verb.%></th>
34 <th><%:signal Signal%></th>
35 <th><%:noise Rausch%></th>
36 </tr>
37 <%=ffluci.sys.httpget("http://127.0.0.1" .. controller .. "/sudo/status/iwconfig")%>
38 </table>
39 <br />
40 <br />
41 <h2><%:defroutes Standardrouten%></h2>
42 <br />
43 <table cellspacing="0" cellpadding="6" class="smalltext">
44 <tr>
45 <th><%:gateway Gateway%></th>
46 <th><%:metric Metrik%></th>
47 <th><%:iface Schnittstelle%></th>
48 </tr>
49 <%
50 for i, rt in pairs(routes) do
51 %>
52 <tr>
53 <td><%=ffluci.sys.net.hexip4(rt.Gateway)%></th>
54 <td><%=rt.Metric%></th>
55 <td><%=rt.Iface%></th>
56 </tr>
57 <% end %>
58 </table>
59 <%+footer%>