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"> |
| 25 | <div class="refresh active" |
| 26 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | bfab9c7 | 2015-06-01 14:33:18 -0700 | [diff] [blame^] | 27 | ng-click="refresh(sortParams)"></div> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 28 | </div> |
| 29 | </div> |
| 30 | |
| 31 | <div class="summary-list" onos-fixed-header> |
| 32 | |
| 33 | <div class="table-header" |
Bri Prebilic Cole | bfab9c7 | 2015-06-01 14:33:18 -0700 | [diff] [blame^] | 34 | onos-sortable-header |
| 35 | sort-params="sortParams" |
| 36 | sort-callback="sortCallback(sortParams)"> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 37 | <table> |
| 38 | <tr> |
| 39 | <td colId="id" sortable>Group ID </td> |
| 40 | <td colId="app_id" sortable>App ID </td> |
| 41 | <td colId="state" sortable>State </td> |
| 42 | <td colId="type" sortable>Type </td> |
| 43 | <td colId="packets" sortable>Packets </td> |
| 44 | <td colId="bytes" sortable>Bytes </td> |
| 45 | </tr> |
| 46 | </table> |
| 47 | </div> |
| 48 | |
| 49 | <div class="table-body"> |
| 50 | <table> |
| 51 | <tr ng-hide="tableData.length" class="no-data ignore-width"> |
| 52 | <td colspan="6"> |
| 53 | No Groups found |
| 54 | </td> |
| 55 | </tr> |
| 56 | |
| 57 | <tr ng-repeat-start="group in tableData"> |
| 58 | <td>{{group.id}}</td> |
| 59 | <td>{{group.app_id}}</td> |
| 60 | <td>{{group.state}}</td> |
| 61 | <td>{{group.type}}</td> |
| 62 | <td>{{group.packets}}</td> |
| 63 | <td>{{group.bytes}}</td> |
| 64 | </tr> |
| 65 | <tr class="ignore-width" |
| 66 | ng-repeat-end ng-repeat-done> |
Bri Prebilic Cole | 76f632c | 2015-05-28 17:06:02 -0700 | [diff] [blame] | 67 | <td class="buckets" colspan="6" |
| 68 | ng-bind-html="group.buckets"></td> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 69 | </tr> |
| 70 | </table> |
| 71 | </div> |
| 72 | |
| 73 | </div> |
| 74 | |
| 75 | </div> |