blob: 29c84b00f233df3654030b55c03042910a5bf9d1 [file] [log] [blame]
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -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<!-- Cluster partial HTML -->
18<div id="ov-cluster">
Bri Prebilic Cole45069382015-04-14 15:21:38 -070019 <div class="tabular-header">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070020 <h2>Cluster Nodes ({{tableData.length}} total)</h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070021 <div class="ctrl-btns">
22 <div class="refresh active"
Bri Prebilic Cole43f17c02015-05-01 10:43:38 -070023 icon icon-size="36" icon-id="refresh"
Bri Prebilic Colebfab9c72015-06-01 14:33:18 -070024 ng-click="refresh(sortParams)"></div>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070025 </div>
Bri Prebilic Cole45069382015-04-14 15:21:38 -070026 </div>
27
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070028 <div class="summary-list" onos-fixed-header>
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -070029
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070030 <div class="table-header"
Bri Prebilic Colebfab9c72015-06-01 14:33:18 -070031 onos-sortable-header
32 sort-params="sortParams"
33 sort-callback="sortCallback(sortParams)">
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="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 Cole384e8dc2015-04-13 15:51:14 -070044
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070045 <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 Cole384e8dc2015-04-13 15:51:14 -070068</div>