chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2015 Open Networking Laboratory |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <!-- Tunnel partial HTML --> |
| 18 | <div id="ov-tunnel"> |
| 19 | <div class="tabular-header"> |
| 20 | <h2>Tunnels ({{tableData.length}} total)</h2> |
| 21 | <div class="ctrl-btns"> |
| 22 | <div class="refresh" ng-class="{active: autoRefresh}" |
| 23 | icon icon-size="36" icon-id="refresh" |
| 24 | tooltip tt-msg="autoRefreshTip" |
| 25 | ng-click="toggleRefresh()"></div> |
| 26 | </div> |
| 27 | </div> |
| 28 | |
| 29 | <div class="summary-list" onos-table-resize> |
chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 30 | <div class="table-header" onos-sortable-header> |
| 31 | <table> |
| 32 | <tr> |
| 33 | <td colId="id" sortable>ID </td> |
| 34 | <td colId="name" sortable>Name</td> |
| 35 | <td colId="one" sortable>Port 1 </td> |
| 36 | <td colId="two" sortable>Port 2 </td> |
| 37 | <td colId="type" sortable>Type </td> |
| 38 | <td colId="group_id" sortable>Group Id</td> |
| 39 | <td colId="bandwidth" sortable>Bandwidth</td> |
| 40 | <td colId="path" sortable>Path</td> |
| 41 | </tr> |
| 42 | </table> |
| 43 | </div> |
| 44 | |
| 45 | <div class="table-body"> |
| 46 | <table onos-flash-changes id-prop="one"> |
| 47 | <tr ng-if="!tableData.length" class="no-data"> |
| 48 | <td colspan="6"> |
Jian Li | 8baf447 | 2016-01-15 15:08:09 -0800 | [diff] [blame] | 49 | {{annots.no_rows_msg}} |
chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 50 | </td> |
| 51 | </tr> |
| 52 | |
| 53 | <tr ng-repeat="tunnel in tableData track by $index" |
| 54 | ng-repeat-complete row-id="{{tunnel.id}}"> |
| 55 | <td>{{tunnel.id}}</td> |
| 56 | <td>{{tunnel.name}}</td> |
| 57 | <td>{{tunnel.one}}</td> |
| 58 | <td>{{tunnel.two}}</td> |
| 59 | <td>{{tunnel.type}}</td> |
| 60 | <td>{{tunnel.group_id}}</td> |
chengfan | 392e8f9 | 2015-08-21 13:20:02 -0500 | [diff] [blame] | 61 | <td>{{tunnel.bandwidth}}</td> |
chengfan | b466a7e | 2015-08-21 09:59:29 -0500 | [diff] [blame] | 62 | <td>{{tunnel.path}}</td> |
| 63 | </tr> |
| 64 | </table> |
| 65 | </div> |
| 66 | |
| 67 | </div> |
| 68 | |
| 69 | </div> |