blob: 93484dc82301e15cc8fe4797fc67deeecb861e29 [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 Coleeef67ae2015-07-01 16:26:59 -070027 tooltip tt-msg="autoRefreshTip"
Bri Prebilic Cole41d67652015-06-02 10:23:04 -070028 ng-click="toggleRefresh()"></div>
Bri Prebilic Cole9b1fb9a2015-07-01 13:57:11 -070029
30 <div class="separator"></div>
31
32 <div class="active"
Simon Hunt864333a2015-11-16 17:08:08 -080033 icon icon-id="deviceTable" icon-size="36"
Simon Hunt20856ec2015-11-16 15:58:14 -080034 tooltip tt-msg="deviceTip"
35 ng-click="nav('device')"></div>
36
37 <div class="active"
Bri Prebilic Cole9b1fb9a2015-07-01 13:57:11 -070038 icon icon-id="flowTable" icon-size="36"
Bri Prebilic Coleeef67ae2015-07-01 16:26:59 -070039 tooltip tt-msg="flowTip"
Bri Prebilic Cole9b1fb9a2015-07-01 13:57:11 -070040 ng-click="nav('flow')"></div>
41
42 <div class="active"
43 icon icon-id="portTable" icon-size="36"
Bri Prebilic Coleeef67ae2015-07-01 16:26:59 -070044 tooltip tt-msg="portTip"
Bri Prebilic Cole9b1fb9a2015-07-01 13:57:11 -070045 ng-click="nav('port')"></div>
46
47 <div class="current-view"
48 icon icon-id="groupTable" icon-size="36"></div>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070049 </div>
50 </div>
51
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070052 <div class="summary-list" onos-table-resize>
Bri Prebilic Cole6e1b4a52015-08-03 17:10:44 -070053 <div ng-show="loading" class="loading-wheel"
54 icon icon-id="loading" icon-size="75"></div>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070055
Bri Prebilic Cole0c41ba22015-07-06 15:09:48 -070056 <div class="table-header" onos-sortable-header>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070057 <table>
58 <tr>
59 <td colId="id" sortable>Group ID </td>
60 <td colId="app_id" sortable>App ID </td>
61 <td colId="state" sortable>State </td>
62 <td colId="type" sortable>Type </td>
63 <td colId="packets" sortable>Packets </td>
64 <td colId="bytes" sortable>Bytes </td>
65 </tr>
66 </table>
67 </div>
68
69 <div class="table-body">
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070070 <table onos-flash-changes id-prop="id">
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070071 <tr ng-if="!tableData.length" class="no-data">
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070072 <td colspan="6">
73 No Groups found
74 </td>
75 </tr>
76
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070077 <tr ng-repeat-start="group in tableData track by $index"
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070078 ng-repeat-complete row-id="{{group.id}}">
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070079 <td>{{group.id}}</td>
80 <td>{{group.app_id}}</td>
81 <td>{{group.state}}</td>
82 <td>{{group.type}}</td>
83 <td>{{group.packets}}</td>
84 <td>{{group.bytes}}</td>
85 </tr>
Bri Prebilic Cole70aacc42015-07-22 11:28:34 -070086 <tr row-id="{{group.id}}" ng-repeat-end>
Bri Prebilic Cole76f632c2015-05-28 17:06:02 -070087 <td class="buckets" colspan="6"
88 ng-bind-html="group.buckets"></td>
Bri Prebilic Coleff3dc672015-05-06 12:59:38 -070089 </tr>
90 </table>
91 </div>
92
93 </div>
94
95</div>