blob: 371d6b139cbee9686d2bd425bd0930712d69ce13 [file] [log] [blame]
Bri Prebilic Cole9fb594a2015-04-14 09:15:54 -07001<!--
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<!-- Link partial HTML -->
18<div id="ov-link">
Bri Prebilic Cole45069382015-04-14 15:21:38 -070019 <div class="tabular-header">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070020 <h2>Links ({{tableData.length}} total)</h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070021 <div class="ctrl-btns">
Bri Prebilic Cole41d67652015-06-02 10:23:04 -070022 <div class="refresh" ng-class="{active: autoRefresh}"
Bri Prebilic Cole43f17c02015-05-01 10:43:38 -070023 icon icon-size="36" icon-id="refresh"
Bri Prebilic Coleeef67ae2015-07-01 16:26:59 -070024 tooltip tt-msg="autoRefreshTip"
Bri Prebilic Cole41d67652015-06-02 10:23:04 -070025 ng-click="toggleRefresh()"></div>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070026 </div>
Bri Prebilic Cole45069382015-04-14 15:21:38 -070027 </div>
28
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070029 <div class="summary-list" onos-table-resize>
Bri Prebilic Cole6e1b4a52015-08-03 17:10:44 -070030 <div ng-show="loading" class="loading-wheel"
31 icon icon-id="loading" icon-size="75"></div>
Bri Prebilic Cole9fb594a2015-04-14 09:15:54 -070032
Bri Prebilic Cole0c41ba22015-07-06 15:09:48 -070033 <div class="table-header" onos-sortable-header>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070034 <table>
35 <tr>
36 <td colId="_iconid_state" class="table-icon" sortable></td>
37 <td colId="one" sortable>Port 1 </td>
38 <td colId="two" sortable>Port 2 </td>
39 <td colId="type" sortable>Type </td>
40 <td colId="direction" sortable>Direction </td>
41 <td colId="durable" sortable>Durable </td>
42 </tr>
43 </table>
44 </div>
Bri Prebilic Cole9fb594a2015-04-14 09:15:54 -070045
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070046 <div class="table-body">
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070047 <table onos-flash-changes id-prop="one">
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070048 <tr ng-if="!tableData.length" class="no-data">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070049 <td colspan="6">
50 No Links found
51 </td>
52 </tr>
53
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070054 <tr ng-repeat="link in tableData track by $index"
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070055 ng-repeat-complete row-id="{{link.one}}">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070056 <td class="table-icon">
57 <div icon icon-id="{{link._iconid_state}}"></div>
58 </td>
59 <td>{{link.one}}</td>
60 <td>{{link.two}}</td>
61 <td>{{link.type}}</td>
Bri Prebilic Cole76f632c2015-05-28 17:06:02 -070062 <td ng-bind-html="link.direction"></td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070063 <td>{{link.durable}}</td>
64 </tr>
65 </table>
66 </div>
67
68 </div>
69
Bri Prebilic Cole9fb594a2015-04-14 09:15:54 -070070</div>