Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 1 | <!-- Flow partial HTML --> |
Simon Hunt | 1002cd8 | 2015-04-23 14:44:03 -0700 | [diff] [blame] | 2 | <div id="ov-flow"> |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 3 | <div class="tabular-header"> |
| 4 | <h2> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame^] | 5 | Flows for Device {{ctrl.devId || "(No device selected)"}} |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 6 | ({{ctrl.tableData.length}} total) |
| 7 | </h2> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame^] | 8 | <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 Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 13 | </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 Hunt | 1002cd8 | 2015-04-23 14:44:03 -0700 | [diff] [blame] | 57 | </div> |