blob: 22cd5eead3e3264f940c0ff3991b816540b45dc6 [file] [log] [blame]
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -07001<!--
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 Cole41d67652015-06-02 10:23:04 -070025 <div class="refresh" ng-class="{active: autoRefresh}"
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070026 icon icon-size="36" icon-id="refresh"
Bri Prebilic Cole41d67652015-06-02 10:23:04 -070027 ng-click="toggleRefresh()"></div>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070028 </div>
29 </div>
30
31 <div class="summary-list" onos-fixed-header>
32
33 <div class="table-header"
Bri Prebilic Colebfab9c72015-06-01 14:33:18 -070034 onos-sortable-header
35 sort-params="sortParams"
36 sort-callback="sortCallback(sortParams)">
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070037 <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 Cole76f632c2015-05-28 17:06:02 -070067 <td class="buckets" colspan="6"
68 ng-bind-html="group.buckets"></td>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070069 </tr>
70 </table>
71 </div>
72
73 </div>
74
75</div>