Bri Prebilic Cole | 9fb594a | 2015-04-14 09:15:54 -0700 | [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 | <!-- Link partial HTML --> |
| 18 | <div id="ov-link"> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame] | 19 | <div class="tabular-header"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 20 | <h2>Links ({{tableData.length}} total)</h2> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 21 | <div class="ctrl-btns"> |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 22 | <div class="refresh" ng-class="{active: autoRefresh}" |
Bri Prebilic Cole | 43f17c0 | 2015-05-01 10:43:38 -0700 | [diff] [blame] | 23 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 24 | ng-click="toggleRefresh()"></div> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 25 | </div> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame] | 26 | </div> |
| 27 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame^] | 28 | <div class="summary-list" onos-table-resize> |
Bri Prebilic Cole | 9fb594a | 2015-04-14 09:15:54 -0700 | [diff] [blame] | 29 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 30 | <div class="table-header" |
Bri Prebilic Cole | bfab9c7 | 2015-06-01 14:33:18 -0700 | [diff] [blame] | 31 | onos-sortable-header |
| 32 | sort-params="sortParams" |
| 33 | sort-callback="sortCallback(sortParams)"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 34 | <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 Cole | 9fb594a | 2015-04-14 09:15:54 -0700 | [diff] [blame] | 45 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 46 | <div class="table-body"> |
| 47 | <table> |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame^] | 48 | <tr ng-if="!tableData.length" class="no-data"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 49 | <td colspan="6"> |
| 50 | No Links found |
| 51 | </td> |
| 52 | </tr> |
| 53 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame^] | 54 | <tr ng-repeat="link in tableData track by $index"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 55 | <td class="table-icon"> |
| 56 | <div icon icon-id="{{link._iconid_state}}"></div> |
| 57 | </td> |
| 58 | <td>{{link.one}}</td> |
| 59 | <td>{{link.two}}</td> |
| 60 | <td>{{link.type}}</td> |
Bri Prebilic Cole | 76f632c | 2015-05-28 17:06:02 -0700 | [diff] [blame] | 61 | <td ng-bind-html="link.direction"></td> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 62 | <td>{{link.durable}}</td> |
| 63 | </tr> |
| 64 | </table> |
| 65 | </div> |
| 66 | |
| 67 | </div> |
| 68 | |
Bri Prebilic Cole | 9fb594a | 2015-04-14 09:15:54 -0700 | [diff] [blame] | 69 | </div> |