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 | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame^] | 5 | Flows for Device {{devId || "(No device selected)"}} |
| 6 | ({{tableData.length}} total) |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 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" |
Bri Prebilic Cole | 43f17c0 | 2015-05-01 10:43:38 -0700 | [diff] [blame] | 10 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 11 | ng-click="refresh()"></div> |
| 12 | </div> |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 13 | </div> |
| 14 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame^] | 15 | <div class="summary-list" onos-fixed-header> |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 16 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame^] | 17 | <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 Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 32 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame^] | 33 | <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 Hunt | 1002cd8 | 2015-04-23 14:44:03 -0700 | [diff] [blame] | 63 | </div> |