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"> |
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 | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame] | 24 | tooltip tt-msg="autoRefreshTip" |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 25 | ng-click="toggleRefresh()"></div> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 26 | </div> |
Bri Prebilic Cole | 4506938 | 2015-04-14 15:21:38 -0700 | [diff] [blame] | 27 | </div> |
| 28 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 29 | <div class="summary-list" onos-table-resize> |
Bri Prebilic Cole | 0c41ba2 | 2015-07-06 15:09:48 -0700 | [diff] [blame] | 30 | <div class="table-header" onos-sortable-header> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 31 | <table> |
| 32 | <tr> |
| 33 | <td colId="_iconid_state" class="table-icon" sortable></td> |
| 34 | <td colId="id" sortable>ID </td> |
| 35 | <td colId="ip" sortable>IP Address </td> |
| 36 | <td colId="tcp" sortable>TCP Port </td> |
| 37 | <td colId="updated" sortable>Last Updated </td> |
| 38 | </tr> |
| 39 | </table> |
| 40 | </div> |
Bri Prebilic Cole | 384e8dc | 2015-04-13 15:51:14 -0700 | [diff] [blame] | 41 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 42 | <div class="table-body"> |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 43 | <table onos-flash-changes id-prop="id"> |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 44 | <tr ng-if="!tableData.length" class="no-data"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 45 | <td colspan="5"> |
Jian Li | 8baf447 | 2016-01-15 15:08:09 -0800 | [diff] [blame^] | 46 | {{annots.no_rows_msg}} |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 47 | </td> |
| 48 | </tr> |
| 49 | |
Bri Prebilic Cole | 0bc4de2 | 2015-07-20 17:07:55 -0700 | [diff] [blame] | 50 | <tr ng-repeat="node in tableData track by $index" |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 51 | ng-repeat-complete row-id="{{node.id}}"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 52 | <td class="table-icon"> |
| 53 | <div icon icon-id="{{node._iconid_state}}"></div> |
| 54 | </td> |
| 55 | <td>{{node.id}}</td> |
| 56 | <td>{{node.ip}}</td> |
| 57 | <td>{{node.tcp}}</td> |
| 58 | <td>{{node.updated}}</td> |
| 59 | </tr> |
| 60 | </table> |
| 61 | </div> |
| 62 | |
| 63 | </div> |
| 64 | |
Bri Prebilic Cole | 384e8dc | 2015-04-13 15:51:14 -0700 | [diff] [blame] | 65 | </div> |