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> |
| 5 | Flows for Device {{ctrl.devId || "none"}} |
| 6 | ({{ctrl.tableData.length}} total) |
| 7 | </h2> |
| 8 | </div> |
| 9 | |
| 10 | <table class="summary-list" |
| 11 | onos-fixed-header |
| 12 | onos-sortable-header |
| 13 | sort-callback="sortCallback(requestParams)"> |
| 14 | <thead> |
| 15 | <tr> |
| 16 | <th colId="id" sortable>Flow ID </th> |
| 17 | <th colId="appId" sortable>App ID </th> |
| 18 | <th colId="groupId" sortable>Group ID </th> |
| 19 | <th colId="tableId" sortable>Table ID </th> |
| 20 | <th colId="priority" sortable>Priority </th> |
| 21 | <th colId="timeout" sortable>Timeout </th> |
| 22 | <th colId="permanent" sortable>Permanent </th> |
| 23 | <th colId="state" sortable>State </th> |
| 24 | </tr> |
| 25 | </thead> |
| 26 | |
| 27 | <tbody> |
| 28 | <tr ng-hide="ctrl.tableData.length"> |
| 29 | <td class="nodata" colspan="8"> |
| 30 | No Flows found |
| 31 | </td> |
| 32 | </tr> |
| 33 | |
| 34 | <tr ng-repeat-start="flow in ctrl.tableData"> |
| 35 | <td>{{flow.id}}</td> |
| 36 | <td>{{flow.appId}}</td> |
| 37 | <td>{{flow.groupId}}</td> |
| 38 | <td>{{flow.tableId}}</td> |
| 39 | <td>{{flow.priority}}</td> |
| 40 | <td>{{flow.timeout}}</td> |
| 41 | <td>{{flow.permanent}}</td> |
| 42 | <td>{{flow.state}}</td> |
| 43 | </tr> |
| 44 | <tr> |
| 45 | <td class="selector" colspan="8">{{flow.selector}}</td> |
| 46 | </tr> |
| 47 | <tr ng-repeat-end ng-repeat-done> |
| 48 | <td class="treatment" colspan="8">{{flow.treatment}}</td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
Simon Hunt | 1002cd8 | 2015-04-23 14:44:03 -0700 | [diff] [blame] | 52 | </div> |