chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 1 | <!-- 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 Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 7 | icon icon-size="42" icon-id="refresh" |
chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 8 | tooltip tt-msg="autoRefreshTip" |
| 9 | ng-click="toggleRefresh()"></div> |
| 10 | </div> |
| 11 | </div> |
| 12 | |
| 13 | <div class="summary-list" onos-table-resize> |
chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 14 | <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 Li | 8baf447 | 2016-01-15 15:08:09 -0800 | [diff] [blame] | 33 | {{annots.no_rows_msg}} |
chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 34 | </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> |
chengfan | 392e8f9 | 2015-08-21 13:20:02 -0500 | [diff] [blame] | 45 | <td>{{tunnel.bandwidth}}</td> |
chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 46 | <td>{{tunnel.path}}</td> |
| 47 | </tr> |
| 48 | </table> |
| 49 | </div> |
| 50 | |
| 51 | </div> |
| 52 | |
| 53 | </div> |