blob: 46a5a67dd7bfc554b6c37aebb5b00f8bee4324be [file] [log] [blame]
chengfanb466a7e2015-08-21 09:59:29 -05001<!--
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>
chengfanb466a7e2015-08-21 09:59:29 -050030 <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 Li8baf4472016-01-15 15:08:09 -080049 {{annots.no_rows_msg}}
chengfanb466a7e2015-08-21 09:59:29 -050050 </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>
chengfan392e8f92015-08-21 13:20:02 -050061 <td>{{tunnel.bandwidth}}</td>
chengfanb466a7e2015-08-21 09:59:29 -050062 <td>{{tunnel.path}}</td>
63 </tr>
64 </table>
65 </div>
66
67 </div>
68
69</div>