blob: 33fd54886d9d2930353f736af11f16464394286a [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 Colee568ead2015-05-01 09:51:28 -07005 Flows for Device {{devId || "(No device selected)"}}
6 ({{tableData.length}} total)
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -07007 </h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -07008 <div class="ctrl-btns">
9 <div class="refresh active"
Bri Prebilic Cole43f17c02015-05-01 10:43:38 -070010 icon icon-size="36" icon-id="refresh"
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070011 ng-click="refresh()"></div>
12 </div>
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070013 </div>
14
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070015 <div class="summary-list" onos-fixed-header>
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070016
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070017 <div class="table-header"
18 onos-sortable-header sort-callback="sortCallback(requestParams)">
19 <table>
20 <tr>
21 <td colId="id" col-width="180px" sortable>Flow ID </td>
22 <td colId="appId" sortable>App ID </td>
23 <td colId="groupId" sortable>Group ID </td>
24 <td colId="tableId" sortable>Table ID </td>
25 <td colId="priority" sortable>Priority </td>
26 <td colId="timeout" sortable>Timeout </td>
27 <td colId="permanent" sortable>Permanent </td>
28 <td colId="state" sortable>State </td>
29 </tr>
30 </table>
31 </div>
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070032
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070033 <div class="table-body">
34 <table>
35 <tr ng-hide="tableData.length" class="no-data ignore-width">
36 <td colspan="8">
37 No Flows found
38 </td>
39 </tr>
40
41 <tr ng-repeat-start="flow in tableData">
42 <td>{{flow.id}}</td>
43 <td>{{flow.appId}}</td>
44 <td>{{flow.groupId}}</td>
45 <td>{{flow.tableId}}</td>
46 <td>{{flow.priority}}</td>
47 <td>{{flow.timeout}}</td>
48 <td>{{flow.permanent}}</td>
49 <td>{{flow.state}}</td>
50 </tr>
51 <tr class="ignore-width">
52 <td class="selector" colspan="8">{{flow.selector}}</td>
53 </tr>
54 <tr class="ignore-width"
55 ng-repeat-end ng-repeat-done>
56 <td class="treatment" colspan="8">{{flow.treatment}}</td>
57 </tr>
58 </table>
59 </div>
60
61 </div>
62
Simon Hunt1002cd82015-04-23 14:44:03 -070063</div>