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"> |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 9 | <div class="refresh" ng-class="{active: autoRefresh}" |
Bri Prebilic Cole | 43f17c0 | 2015-05-01 10:43:38 -0700 | [diff] [blame] | 10 | icon icon-size="36" icon-id="refresh" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame] | 11 | tooltip tt-msg="autoRefreshTip" |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 12 | ng-click="toggleRefresh()"></div> |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 13 | |
| 14 | <div class="separator"></div> |
| 15 | |
Simon Hunt | 20856ec | 2015-11-16 15:58:14 -0800 | [diff] [blame] | 16 | <div class="active" |
Simon Hunt | 864333a | 2015-11-16 17:08:08 -0800 | [diff] [blame] | 17 | icon icon-id="deviceTable" icon-size="36" |
Simon Hunt | 20856ec | 2015-11-16 15:58:14 -0800 | [diff] [blame] | 18 | tooltip tt-msg="deviceTip" |
| 19 | ng-click="nav('device')"></div> |
| 20 | |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 21 | <div class="current-view" |
| 22 | icon icon-id="flowTable" icon-size="36"></div> |
| 23 | |
| 24 | <div class="active" |
| 25 | icon icon-id="portTable" icon-size="36" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame] | 26 | tooltip tt-msg="portTip" |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 27 | ng-click="nav('port')"></div> |
| 28 | |
| 29 | <div class="active" |
| 30 | icon icon-id="groupTable" icon-size="36" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame] | 31 | tooltip tt-msg="groupTip" |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 32 | ng-click="nav('group')"></div> |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 33 | </div> |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 34 | </div> |
| 35 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 36 | <div class="summary-list" onos-table-resize> |
Bri Prebilic Cole | 6e1b4a5 | 2015-08-03 17:10:44 -0700 | [diff] [blame] | 37 | <div ng-show="loading" class="loading-wheel" |
| 38 | icon icon-id="loading" icon-size="75"></div> |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 39 | |
Bri Prebilic Cole | 0c41ba2 | 2015-07-06 15:09:48 -0700 | [diff] [blame] | 40 | <div class="table-header" onos-sortable-header> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 41 | <table> |
| 42 | <tr> |
| 43 | <td colId="id" col-width="180px" sortable>Flow ID </td> |
| 44 | <td colId="appId" sortable>App ID </td> |
| 45 | <td colId="groupId" sortable>Group ID </td> |
| 46 | <td colId="tableId" sortable>Table ID </td> |
| 47 | <td colId="priority" sortable>Priority </td> |
| 48 | <td colId="timeout" sortable>Timeout </td> |
| 49 | <td colId="permanent" sortable>Permanent </td> |
| 50 | <td colId="state" sortable>State </td> |
Bri Prebilic Cole | 641b97b | 2015-05-05 14:47:40 -0700 | [diff] [blame] | 51 | <td colId="packets" sortable>Packets </td> |
| 52 | <td colId="bytes" sortable>Bytes </td> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 53 | </tr> |
| 54 | </table> |
| 55 | </div> |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 56 | |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 57 | <div class="table-body"> |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 58 | <table onos-flash-changes id-prop="id"> |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 59 | <tr ng-if="!tableData.length" class="no-data"> |
Bri Prebilic Cole | 641b97b | 2015-05-05 14:47:40 -0700 | [diff] [blame] | 60 | <td colspan="10"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 61 | No Flows found |
| 62 | </td> |
| 63 | </tr> |
| 64 | |
Bri Prebilic Cole | 0bc4de2 | 2015-07-20 17:07:55 -0700 | [diff] [blame] | 65 | <tr ng-repeat-start="flow in tableData track by $index" |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 66 | ng-repeat-complete row-id="{{flow.id}}"> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 67 | <td>{{flow.id}}</td> |
| 68 | <td>{{flow.appId}}</td> |
| 69 | <td>{{flow.groupId}}</td> |
| 70 | <td>{{flow.tableId}}</td> |
| 71 | <td>{{flow.priority}}</td> |
| 72 | <td>{{flow.timeout}}</td> |
| 73 | <td>{{flow.permanent}}</td> |
| 74 | <td>{{flow.state}}</td> |
Bri Prebilic Cole | 641b97b | 2015-05-05 14:47:40 -0700 | [diff] [blame] | 75 | <td>{{flow.packets}}</td> |
| 76 | <td>{{flow.bytes}}</td> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 77 | </tr> |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 78 | <tr row-id="{{flow.id}}"> |
Bri Prebilic Cole | 641b97b | 2015-05-05 14:47:40 -0700 | [diff] [blame] | 79 | <td class="selector" colspan="10">{{flow.selector}}</td> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 80 | </tr> |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 81 | <tr row-id="{{flow.id}}" ng-repeat-end> |
Bri Prebilic Cole | 641b97b | 2015-05-05 14:47:40 -0700 | [diff] [blame] | 82 | <td class="treatment" colspan="10">{{flow.treatment}}</td> |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 83 | </tr> |
| 84 | </table> |
| 85 | </div> |
| 86 | |
| 87 | </div> |
| 88 | |
Simon Hunt | 1002cd8 | 2015-04-23 14:44:03 -0700 | [diff] [blame] | 89 | </div> |