70935ea87fc1acb9fb53eaacbed5b92d47eb2914
[feed/routing.git] / luci-app-bmx6 / files / usr / lib / lua / luci / view / bmx6 / interfaces.htm
1 <%+header%>
2
3 <style type="text/css">
4 table.int {
5 border-width: 2px;
6 border-spacing: ;
7 border-style: inset;
8 border-color: white;
9 border-collapse: collapse;
10 background-color: #dadbe6;
11 }
12 table.int tr {
13 border-width: 5px;
14 padding: 4px;
15 border-style: solid;
16 border-color: white;
17 background-color: #dadbe9;
18 }
19 table.int td {
20 border-width: 5px;
21 padding: 4px;
22 border-style: solid;
23 border-color: white;
24 background-color: #dadbe9;
25 text-align: center;
26 }
27 </style>
28
29 <h2><a id="content" name="content"><%:Interfaces%></a></h2>
30 Interfaces where bmx6 is running
31 <br />
32 <br />
33 <table class="int">
34 <tr>
35 <td><strong>Name</strong></td>
36 <td><strong>State</strong></td>
37 <td><strong>Type</strong></td>
38 <td><strong>Rate (Min/Max)</strong></td>
39 <td><strong>Local IP</strong></td>
40 <td><strong>Global IP</strong></td>
41 <td><strong>Multicast IP</strong></td>
42 <td><strong>Primary</strong></td>
43 </tr>
44 <% for i,v in ipairs(data) do %>
45 <tr>
46 <td><%=v.devName%></td>
47 <td><%=v.state%></td>
48 <td><%=v.type%></td>
49 <td><%=v.rateMin%>/<%=v.rateMax%></td>
50 <td><%=v.llocalIp%></td>
51 <td><%=v.globalIp%></td>
52 <td><%=v.multicastIp%></td>
53 <td><%=v.primary%></td>
54 </tr>
55 <%end%>
56 </table>
57
58 <br />
59 <%+footer%>