Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 1 | <!-- Group partial HTML --> |
| 2 | <div id="ov-group"> |
| 3 | <div class="tabular-header"> |
| 4 | <h2> |
| 5 | Groups for Device {{devId || "(No device selected)"}} |
| 6 | ({{tableData.length}} total) |
| 7 | </h2> |
kalagesa | 1101dbb | 2016-12-20 23:34:28 +0530 | [diff] [blame] | 8 | |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 9 | <div class="ctrl-btns"> |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 10 | <div class="refresh" ng-class="{active: autoRefresh}" |
Simon Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 11 | icon icon-size="42" icon-id="refresh" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame] | 12 | tooltip tt-msg="autoRefreshTip" |
Bri Prebilic Cole | 41d6765 | 2015-06-02 10:23:04 -0700 | [diff] [blame] | 13 | ng-click="toggleRefresh()"></div> |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 14 | |
| 15 | <div class="separator"></div> |
| 16 | |
Kavitha Alagesan | c087453 | 2016-08-23 16:22:13 -0700 | [diff] [blame] | 17 | <span ng-if="brief"> |
| 18 | <div class="active" |
| 19 | icon icon-id="plus" icon-size="42" |
| 20 | tooltip tt-msg="detailTip" |
| 21 | ng-click="briefToggle()"> </div> |
| 22 | </span> |
| 23 | |
| 24 | <span ng-if="!brief"> |
| 25 | <div class="active" |
| 26 | icon icon-id="minus" icon-size="42" |
| 27 | tooltip tt-msg="briefTip" |
| 28 | ng-click="briefToggle()"> </div> |
| 29 | </span> |
| 30 | |
| 31 | <div class="separator"></div> |
| 32 | |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 33 | <div class="active" |
Simon Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 34 | icon icon-id="deviceTable" icon-size="42" |
Simon Hunt | 20856ec | 2015-11-16 15:58:14 -0800 | [diff] [blame] | 35 | tooltip tt-msg="deviceTip" |
| 36 | ng-click="nav('device')"></div> |
| 37 | |
| 38 | <div class="active" |
Simon Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 39 | icon icon-id="flowTable" icon-size="42" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame] | 40 | tooltip tt-msg="flowTip" |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 41 | ng-click="nav('flow')"></div> |
| 42 | |
| 43 | <div class="active" |
Simon Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 44 | icon icon-id="portTable" icon-size="42" |
Bri Prebilic Cole | eef67ae | 2015-07-01 16:26:59 -0700 | [diff] [blame] | 45 | tooltip tt-msg="portTip" |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 46 | ng-click="nav('port')"></div> |
| 47 | |
| 48 | <div class="current-view" |
Simon Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 49 | icon icon-id="groupTable" icon-size="42"></div> |
Jian Li | 1f54473 | 2015-12-30 23:36:37 -0800 | [diff] [blame] | 50 | |
| 51 | <div class="active" |
Simon Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 52 | icon icon-id="meterTable" icon-size="42" |
Jian Li | 1f54473 | 2015-12-30 23:36:37 -0800 | [diff] [blame] | 53 | tooltip tt-msg="meterTip" |
| 54 | ng-click="nav('meter')"></div> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 55 | </div> |
kalagesa | 1101dbb | 2016-12-20 23:34:28 +0530 | [diff] [blame] | 56 | |
| 57 | <div class="search"> |
| 58 | <input type="text" ng-model="query" placeholder="Search"/> |
| 59 | <select ng-model="queryBy"> |
| 60 | <option value="" disabled>Search By</option> |
| 61 | <option value="$">All Fields</option> |
| 62 | <option value="id">Group ID</option> |
| 63 | <option value="app_id">App ID</option> |
| 64 | <option value="state">State</option> |
| 65 | <option value="type">Type</option> |
| 66 | </select> |
| 67 | </div> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 68 | </div> |
| 69 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 70 | <div class="summary-list" onos-table-resize> |
Bri Prebilic Cole | 0c41ba2 | 2015-07-06 15:09:48 -0700 | [diff] [blame] | 71 | <div class="table-header" onos-sortable-header> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 72 | <table> |
| 73 | <tr> |
| 74 | <td colId="id" sortable>Group ID </td> |
| 75 | <td colId="app_id" sortable>App ID </td> |
| 76 | <td colId="state" sortable>State </td> |
| 77 | <td colId="type" sortable>Type </td> |
Simon Hunt | be60dde | 2016-01-13 12:26:56 -0800 | [diff] [blame] | 78 | <td class="right" colId="packets" sortable>Packets </td> |
| 79 | <td class="right" colId="bytes" sortable>Bytes </td> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 80 | </tr> |
| 81 | </table> |
| 82 | </div> |
| 83 | |
| 84 | <div class="table-body"> |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 85 | <table onos-flash-changes id-prop="id"> |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 86 | <tr ng-if="!tableData.length" class="no-data"> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 87 | <td colspan="6"> |
Jian Li | 8baf447 | 2016-01-15 15:08:09 -0800 | [diff] [blame] | 88 | {{annots.no_rows_msg}} |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 89 | </td> |
| 90 | </tr> |
| 91 | |
kalagesa | 1101dbb | 2016-12-20 23:34:28 +0530 | [diff] [blame] | 92 | <tr ng-repeat-start="group in tableData | filter:queryFilter track by $index" |
Bri Prebilic Cole | 70aacc4 | 2015-07-22 11:28:34 -0700 | [diff] [blame] | 93 | ng-repeat-complete row-id="{{group.id}}"> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 94 | <td>{{group.id}}</td> |
| 95 | <td>{{group.app_id}}</td> |
| 96 | <td>{{group.state}}</td> |
| 97 | <td>{{group.type}}</td> |
Simon Hunt | be60dde | 2016-01-13 12:26:56 -0800 | [diff] [blame] | 98 | <td class="right">{{group.packets}}</td> |
| 99 | <td class="right">{{group.bytes}}</td> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 100 | </tr> |
Kavitha Alagesan | c087453 | 2016-08-23 16:22:13 -0700 | [diff] [blame] | 101 | <tr row-id="{{group.id}}" ng-hide="brief" ng-repeat-end> |
Bri Prebilic Cole | 76f632c | 2015-05-28 17:06:02 -0700 | [diff] [blame] | 102 | <td class="buckets" colspan="6" |
| 103 | ng-bind-html="group.buckets"></td> |
Bri Prebilic Cole | ff3dc67 | 2015-05-06 12:59:38 -0700 | [diff] [blame] | 104 | </tr> |
| 105 | </table> |
| 106 | </div> |
| 107 | |
| 108 | </div> |
| 109 | |
| 110 | </div> |