blob: faaac08b30ad634f9bc07a9c15c37edf3f24d8c7 [file] [log] [blame]
chengfanb466a7e2015-08-21 09:59:29 -05001<!-- Tunnel partial HTML -->
2<div id="ov-tunnel">
3 <div class="tabular-header">
4 <h2>Tunnels ({{tableData.length}} total)</h2>
5 <div class="ctrl-btns">
6 <div class="refresh" ng-class="{active: autoRefresh}"
Simon Hunt5487ce72016-06-06 15:31:10 -07007 icon icon-size="42" icon-id="refresh"
chengfanb466a7e2015-08-21 09:59:29 -05008 tooltip tt-msg="autoRefreshTip"
9 ng-click="toggleRefresh()"></div>
10 </div>
11 </div>
12
13 <div class="summary-list" onos-table-resize>
chengfanb466a7e2015-08-21 09:59:29 -050014 <div class="table-header" onos-sortable-header>
15 <table>
16 <tr>
17 <td colId="id" sortable>ID </td>
18 <td colId="name" sortable>Name</td>
19 <td colId="one" sortable>Port 1 </td>
20 <td colId="two" sortable>Port 2 </td>
21 <td colId="type" sortable>Type </td>
22 <td colId="group_id" sortable>Group Id</td>
23 <td colId="bandwidth" sortable>Bandwidth</td>
24 <td colId="path" sortable>Path</td>
25 </tr>
26 </table>
27 </div>
28
29 <div class="table-body">
30 <table onos-flash-changes id-prop="one">
31 <tr ng-if="!tableData.length" class="no-data">
32 <td colspan="6">
Jian Li8baf4472016-01-15 15:08:09 -080033 {{annots.no_rows_msg}}
chengfanb466a7e2015-08-21 09:59:29 -050034 </td>
35 </tr>
36
37 <tr ng-repeat="tunnel in tableData track by $index"
38 ng-repeat-complete row-id="{{tunnel.id}}">
39 <td>{{tunnel.id}}</td>
40 <td>{{tunnel.name}}</td>
41 <td>{{tunnel.one}}</td>
42 <td>{{tunnel.two}}</td>
43 <td>{{tunnel.type}}</td>
44 <td>{{tunnel.group_id}}</td>
chengfan392e8f92015-08-21 13:20:02 -050045 <td>{{tunnel.bandwidth}}</td>
chengfanb466a7e2015-08-21 09:59:29 -050046 <td>{{tunnel.path}}</td>
47 </tr>
48 </table>
49 </div>
50
51 </div>
52
53</div>