Move packages up in directory hierarchy
[feed/routing.git] / luci-app-bmx6 / files / usr / lib / lua / luci / view / bmx6 / status.htm
1 <%+header%>
2 <link rel="stylesheet" type="text/css" href="/luci-static/resources/bmx6/style.css" />
3
4 <img src="<%=resource%>/bmx6/bmx6logo.png" />
5
6 Bmx6 is a routing protocol for Linux based operating systems. Visit <a href="http://bmx6.net">bmx6.net</a> for more info.
7
8 <br />
9 <br />
10
11 <h2>Status of bmx6</h2>
12
13 <table>
14 <tr>
15 <th>Version</th>
16 <th>Compatibility</th>
17 <th>CodeVersion</th>
18 <th>Global Id</th>
19 <th>Primary Ip</th>
20 <th>Local Id</th>
21 <th>Uptime</th>
22 <th>CPU</th>
23 <th>Nodes</th>
24 </tr>
25 <tr>
26 <td><%=status.version%></td>
27 <td><%=status.compatibility%></td>
28 <td><%=status.codeVersion%></td>
29 <td><%=status.globalId%>/<%=status.rateMax%></td>
30 <td><%=status.primaryIp%></td>
31 <td><%=status.myLocalId%></td>
32 <td><%=status.uptime%></td>
33 <td><%=status.cpu%></td>
34 <td><%=status.nodes%></td>
35 </tr>
36 </table>
37
38 <br />
39 <br />
40
41 <h2>Status of interfaces</h2>
42 <table>
43 <tr>
44 <th>Name</th>
45 <th>State</th>
46 <th>Type</th>
47 <th>Rate (Min/Max)</th>
48 <th>Local IP</th>
49 <th>Global IP</th>
50 <th>Multicast IP</th>
51 <th>Primary</th>
52 </tr>
53 <% for i,v in ipairs(interfaces) do %>
54 <tr>
55 <td><%=v.devName%></td>
56 <td><%=v.state%></td>
57 <td><%=v.type%></td>
58 <td><%=v.rateMin%>/<%=v.rateMax%></td>
59 <td><%=v.llocalIp%></td>
60 <td><%=v.globalIp%></td>
61 <td><%=v.multicastIp%></td>
62 <td><%=v.primary%></td>
63 </tr>
64 <%end%>
65 </table>
66
67 <br />
68
69 <%+footer%>