Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -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 | <!-- Group partial HTML --> |
| 18 | <div id="ov-group"> |
| 19 | <div class="tabular-header"> |
| 20 | <h2> |
| 21 | Groups for Device {{devId || "(No device selected)"}} |
| 22 | ({{tableData.length}} total) |
| 23 | </h2> |
| 24 | <div class="ctrl-btns"> |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 25 | <div class="refresh" ng-class="{active: autoRefresh}" |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 26 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame^] | 27 | tooltip tt-msg="autoRefreshTip" |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 28 | ng-click="toggleRefresh()"></div> |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 29 | |
| 30 | <div class="separator"></div> |
| 31 | |
| 32 | <div class="active" |
| 33 | icon icon-id="flowTable" icon-size="36" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame^] | 34 | tooltip tt-msg="flowTip" |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 35 | ng-click="nav('flow')"></div> |
| 36 | |
| 37 | <div class="active" |
| 38 | icon icon-id="portTable" icon-size="36" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame^] | 39 | tooltip tt-msg="portTip" |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 40 | ng-click="nav('port')"></div> |
| 41 | |
| 42 | <div class="current-view" |
| 43 | icon icon-id="groupTable" icon-size="36"></div> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 44 | </div> |
| 45 | </div> |
| 46 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 47 | <div class="summary-list" onos-table-resize> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 48 | |
| 49 | <div class="table-header" |
Bri Prebilic Cole | bfab9c7 | 2015-06-01 14:33:18 -0700 | [diff] [blame] | 50 | onos-sortable-header |
| 51 | sort-params="sortParams" |
| 52 | sort-callback="sortCallback(sortParams)"> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 53 | <table> |
| 54 | <tr> |
| 55 | <td colId="id" sortable>Group ID </td> |
| 56 | <td colId="app_id" sortable>App ID </td> |
| 57 | <td colId="state" sortable>State </td> |
| 58 | <td colId="type" sortable>Type </td> |
| 59 | <td colId="packets" sortable>Packets </td> |
| 60 | <td colId="bytes" sortable>Bytes </td> |
| 61 | </tr> |
| 62 | </table> |
| 63 | </div> |
| 64 | |
| 65 | <div class="table-body"> |
| 66 | <table> |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 67 | <tr ng-if="!tableData.length" class="no-data"> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 68 | <td colspan="6"> |
| 69 | No Groups found |
| 70 | </td> |
| 71 | </tr> |
| 72 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 73 | <tr ng-repeat-start="group in tableData track by $index"> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 74 | <td>{{group.id}}</td> |
| 75 | <td>{{group.app_id}}</td> |
| 76 | <td>{{group.state}}</td> |
| 77 | <td>{{group.type}}</td> |
| 78 | <td>{{group.packets}}</td> |
| 79 | <td>{{group.bytes}}</td> |
| 80 | </tr> |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 81 | <tr ng-repeat-end> |
Bri Prebilic Cole | 76f632c | 2015-05-28 17:06:02 -0700 | [diff] [blame] | 82 | <td class="buckets" colspan="6" |
| 83 | ng-bind-html="group.buckets"></td> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 84 | </tr> |
| 85 | </table> |
| 86 | </div> |
| 87 | |
| 88 | </div> |
| 89 | |
| 90 | </div> |