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" |
| 27 | ng-click="refresh()"></div> |
| 28 | </div> |
| 29 | </div> |
| 30 | |
| 31 | <div class="summary-list" onos-fixed-header> |
| 32 | |
| 33 | <div class="table-header" |
| 34 | onos-sortable-header sort-callback="sortCallback(requestParams)"> |
| 35 | <table> |
| 36 | <tr> |
| 37 | <td colId="id" sortable>Group ID </td> |
| 38 | <td colId="app_id" sortable>App ID </td> |
| 39 | <td colId="state" sortable>State </td> |
| 40 | <td colId="type" sortable>Type </td> |
| 41 | <td colId="packets" sortable>Packets </td> |
| 42 | <td colId="bytes" sortable>Bytes </td> |
| 43 | </tr> |
| 44 | </table> |
| 45 | </div> |
| 46 | |
| 47 | <div class="table-body"> |
| 48 | <table> |
| 49 | <tr ng-hide="tableData.length" class="no-data ignore-width"> |
| 50 | <td colspan="6"> |
| 51 | No Groups found |
| 52 | </td> |
| 53 | </tr> |
| 54 | |
| 55 | <tr ng-repeat-start="group in tableData"> |
| 56 | <td>{{group.id}}</td> |
| 57 | <td>{{group.app_id}}</td> |
| 58 | <td>{{group.state}}</td> |
| 59 | <td>{{group.type}}</td> |
| 60 | <td>{{group.packets}}</td> |
| 61 | <td>{{group.bytes}}</td> |
| 62 | </tr> |
| 63 | <tr class="ignore-width" |
| 64 | ng-repeat-end ng-repeat-done> |
| 65 | <td class="buckets" colspan="6">{{group.buckets}}</td> |
| 66 | </tr> |
| 67 | </table> |
| 68 | </div> |
| 69 | |
| 70 | </div> |
| 71 | |
| 72 | </div> |