blob: 540ee9c4ce32b634531c39f688df2f0ce5681067 [file] [log] [blame]
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -07001<!-- Flow partial HTML -->
Simon Hunt1002cd82015-04-23 14:44:03 -07002<div id="ov-flow">
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -07003 <div class="tabular-header">
4 <h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -07005 Flows for Device {{ctrl.devId || "(No device selected)"}}
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -07006 ({{ctrl.tableData.length}} total)
7 </h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -07008 <div class="ctrl-btns">
9 <div class="refresh active"
10 icon icon-size="36" icon-id="crown"
11 ng-click="refresh()"></div>
12 </div>
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070013 </div>
14
15 <table class="summary-list"
16 onos-fixed-header
17 onos-sortable-header
18 sort-callback="sortCallback(requestParams)">
19 <thead>
20 <tr>
21 <th colId="id" sortable>Flow ID </th>
22 <th colId="appId" sortable>App ID </th>
23 <th colId="groupId" sortable>Group ID </th>
24 <th colId="tableId" sortable>Table ID </th>
25 <th colId="priority" sortable>Priority </th>
26 <th colId="timeout" sortable>Timeout </th>
27 <th colId="permanent" sortable>Permanent </th>
28 <th colId="state" sortable>State </th>
29 </tr>
30 </thead>
31
32 <tbody>
33 <tr ng-hide="ctrl.tableData.length">
34 <td class="nodata" colspan="8">
35 No Flows found
36 </td>
37 </tr>
38
39 <tr ng-repeat-start="flow in ctrl.tableData">
40 <td>{{flow.id}}</td>
41 <td>{{flow.appId}}</td>
42 <td>{{flow.groupId}}</td>
43 <td>{{flow.tableId}}</td>
44 <td>{{flow.priority}}</td>
45 <td>{{flow.timeout}}</td>
46 <td>{{flow.permanent}}</td>
47 <td>{{flow.state}}</td>
48 </tr>
49 <tr>
50 <td class="selector" colspan="8">{{flow.selector}}</td>
51 </tr>
52 <tr ng-repeat-end ng-repeat-done>
53 <td class="treatment" colspan="8">{{flow.treatment}}</td>
54 </tr>
55 </tbody>
56 </table>
Simon Hunt1002cd82015-04-23 14:44:03 -070057</div>