blob: 4909cc0ee9f571f0392654f9c4779f7748d7f400 [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>
30 <div ng-show="loading" class="loading-wheel"
31 icon icon-id="loading" icon-size="75"></div>
32
33 <div class="table-header" onos-sortable-header>
34 <table>
35 <tr>
36 <td colId="id" sortable>ID </td>
37 <td colId="name" sortable>Name</td>
38 <td colId="one" sortable>Port 1 </td>
39 <td colId="two" sortable>Port 2 </td>
40 <td colId="type" sortable>Type </td>
41 <td colId="group_id" sortable>Group Id</td>
42 <td colId="bandwidth" sortable>Bandwidth</td>
43 <td colId="path" sortable>Path</td>
44 </tr>
45 </table>
46 </div>
47
48 <div class="table-body">
49 <table onos-flash-changes id-prop="one">
50 <tr ng-if="!tableData.length" class="no-data">
51 <td colspan="6">
52 No tunnels found
53 </td>
54 </tr>
55
56 <tr ng-repeat="tunnel in tableData track by $index"
57 ng-repeat-complete row-id="{{tunnel.id}}">
58 <td>{{tunnel.id}}</td>
59 <td>{{tunnel.name}}</td>
60 <td>{{tunnel.one}}</td>
61 <td>{{tunnel.two}}</td>
62 <td>{{tunnel.type}}</td>
63 <td>{{tunnel.group_id}}</td>
chengfan392e8f92015-08-21 13:20:02 -050064 <td>{{tunnel.bandwidth}}</td>
chengfanb466a7e2015-08-21 09:59:29 -050065 <td>{{tunnel.path}}</td>
66 </tr>
67 </table>
68 </div>
69
70 </div>
71
72</div>