Thomas Vachuska | 3ece373 | 2015-09-22 23:58:50 -0700 | [diff] [blame] | 1 | <!-- processor partial HTML --> |
| 2 | <div id="ov-processor"> |
| 3 | <div class="tabular-header"> |
| 4 | <h2> |
| 5 | Packet Processors ({{tableData.length}} Processors total) |
| 6 | </h2> |
| 7 | <div class="ctrl-btns"> |
| 8 | <div class="refresh" ng-class="{active: autoRefresh}" |
| 9 | icon icon-size="36" icon-id="refresh" |
| 10 | tooltip tt-msg="autoRefreshTip" |
| 11 | ng-click="toggleRefresh()"></div> |
| 12 | <!-- |
| 13 | <div class="separator"></div> |
| 14 | |
| 15 | <div class="current-view" |
| 16 | icon icon-id="processorTable" icon-size="36"></div> |
| 17 | |
| 18 | <div class="active" |
Thomas Vachuska | 347cc87 | 2015-09-23 10:25:29 -0700 | [diff] [blame] | 19 | icon icon-id="requestTable" icon-size="36"git sta |
Thomas Vachuska | 3ece373 | 2015-09-22 23:58:50 -0700 | [diff] [blame] | 20 | tooltip tt-msg="requestTip" |
| 21 | ng-click="nav('request')"></div> |
| 22 | --> |
| 23 | </div> |
| 24 | </div> |
| 25 | |
| 26 | <div class="summary-list" onos-table-resize> |
| 27 | <div ng-show="loading" class="loading-wheel" |
| 28 | icon icon-id="loading" icon-size="75"></div> |
| 29 | |
| 30 | <div class="table-header" onos-sortable-header> |
| 31 | <table> |
| 32 | <tr> |
Thomas Vachuska | 3ece373 | 2015-09-22 23:58:50 -0700 | [diff] [blame] | 33 | <td class="number" colId="priority" sortable col-width="80px">Priority </td> |
Thomas Vachuska | 347cc87 | 2015-09-23 10:25:29 -0700 | [diff] [blame] | 34 | <td colId="type" sortable col-width="80px">Type </td> |
Thomas Vachuska | 3ece373 | 2015-09-22 23:58:50 -0700 | [diff] [blame] | 35 | <td colId="processor" sortable col-width="500px">Class </td> |
| 36 | <td class="number" colId="packets" sortable col-width="100px">Packets </td> |
Thomas Vachuska | 347cc87 | 2015-09-23 10:25:29 -0700 | [diff] [blame] | 37 | <td class="number" colId="avgMillis" sortable col-width="100px">Average (ms) </td> |
Thomas Vachuska | 3ece373 | 2015-09-22 23:58:50 -0700 | [diff] [blame] | 38 | </tr> |
| 39 | </table> |
| 40 | </div> |
| 41 | |
| 42 | <div class="table-body"> |
| 43 | <table onos-flash-changes id-prop="id"> |
| 44 | <tr ng-if="!tableData.length" class="no-data"> |
| 45 | <td colspan="5"> |
| 46 | No Processors found |
| 47 | </td> |
| 48 | </tr> |
| 49 | |
| 50 | <tr ng-repeat="processor in tableData track by $index" |
| 51 | ng-repeat-complete row-id="{{processor.id}}"> |
Thomas Vachuska | 3ece373 | 2015-09-22 23:58:50 -0700 | [diff] [blame] | 52 | <td class="number">{{processor.priority}}</td> |
Thomas Vachuska | 347cc87 | 2015-09-23 10:25:29 -0700 | [diff] [blame] | 53 | <td>{{processor.type}}</td> |
Thomas Vachuska | 3ece373 | 2015-09-22 23:58:50 -0700 | [diff] [blame] | 54 | <td>{{processor.processor}}</td> |
| 55 | <td class="number">{{processor.packets}}</td> |
| 56 | <td class="number">{{processor.avgMillis}}</td> |
| 57 | </tr> |
| 58 | </table> |
| 59 | </div> |
| 60 | |
| 61 | </div> |
| 62 | |
| 63 | </div> |