Bri Prebilic Cole | 384e8dc | 2015-04-13 15:51:14 -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 | <!-- Cluster partial HTML --> |
| 18 | <div id="ov-cluster"> |
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>Cluster Nodes ({{tableData.length}} total)</h2> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 21 | <div class="ctrl-btns"> |
| 22 | <div class="refresh active" |
Bri Prebilic Cole | 43f17c0 | 2015-05-01 10:43:38 -0700 | [diff] [blame] | 23 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | bfab9c7 | 2015-06-01 14:33:18 -0700 | [diff] [blame^] | 24 | ng-click="refresh(sortParams)"></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 | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 28 | <div class="summary-list" onos-fixed-header> |
Bri Prebilic Cole | 384e8dc | 2015-04-13 15:51:14 -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="id" sortable>ID </td> |
| 38 | <td colId="ip" sortable>IP Address </td> |
| 39 | <td colId="tcp" sortable>TCP Port </td> |
| 40 | <td colId="updated" sortable>Last Updated </td> |
| 41 | </tr> |
| 42 | </table> |
| 43 | </div> |
Bri Prebilic Cole | 384e8dc | 2015-04-13 15:51:14 -0700 | [diff] [blame] | 44 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 45 | <div class="table-body"> |
| 46 | <table> |
| 47 | <tr ng-hide="tableData.length" class="no-data ignore-width"> |
| 48 | <td colspan="5"> |
| 49 | No Cluster Nodes found |
| 50 | </td> |
| 51 | </tr> |
| 52 | |
| 53 | <tr ng-repeat="node in tableData" |
| 54 | ng-repeat-done> |
| 55 | <td class="table-icon"> |
| 56 | <div icon icon-id="{{node._iconid_state}}"></div> |
| 57 | </td> |
| 58 | <td>{{node.id}}</td> |
| 59 | <td>{{node.ip}}</td> |
| 60 | <td>{{node.tcp}}</td> |
| 61 | <td>{{node.updated}}</td> |
| 62 | </tr> |
| 63 | </table> |
| 64 | </div> |
| 65 | |
| 66 | </div> |
| 67 | |
Bri Prebilic Cole | 384e8dc | 2015-04-13 15:51:14 -0700 | [diff] [blame] | 68 | </div> |