blob: 9b73a014ab7a8cae35862c80581d4cddf597cb02 [file] [log] [blame]
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -07001<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 ~ Copyright 2015-present Open Networking Laboratory
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -07003 ~
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">
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 Cole0c41ba22015-07-06 15:09:48 -070030 <div class="table-header" onos-sortable-header>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070031 <table>
32 <tr>
Simon Huntf3fd4ed2016-05-31 17:16:18 -070033 <td colId="_iconid_state" class="table-icon" col-width="84px" sortable>Active </td>
34 <td colId="_iconid_started" class="table-icon" col-width="90px" sortable>Started </td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070035 <td colId="id" sortable>ID </td>
36 <td colId="ip" sortable>IP Address </td>
37 <td colId="tcp" sortable>TCP Port </td>
38 <td colId="updated" sortable>Last Updated </td>
39 </tr>
40 </table>
41 </div>
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -070042
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070043 <div class="table-body">
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070044 <table onos-flash-changes id-prop="id">
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070045 <tr ng-if="!tableData.length" class="no-data">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070046 <td colspan="5">
Jian Li8baf4472016-01-15 15:08:09 -080047 {{annots.no_rows_msg}}
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070048 </td>
49 </tr>
50
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070051 <tr ng-repeat="node in tableData track by $index"
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070052 ng-repeat-complete row-id="{{node.id}}">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070053 <td class="table-icon">
54 <div icon icon-id="{{node._iconid_state}}"></div>
55 </td>
Thomas Vachuska7a8de842016-03-07 20:56:35 -080056 <td class="table-icon">
57 <div icon icon-id="{{node._iconid_started}}"></div>
58 </td>
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070059 <td>{{node.id}}</td>
60 <td>{{node.ip}}</td>
61 <td>{{node.tcp}}</td>
62 <td>{{node.updated}}</td>
63 </tr>
64 </table>
65 </div>
66
67 </div>
68
Bri Prebilic Cole384e8dc2015-04-13 15:51:14 -070069</div>