Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 1 | <!-- partial HTML --> |
| 2 | <div id="ov-sample"> |
Simon Hunt | e11ce5a | 2015-07-21 12:11:04 -0700 | [diff] [blame^] | 3 | <div class="tabular-header"> |
| 4 | <h2>Items ({{tableData.length}} total)</h2> |
| 5 | <div class="ctrl-btns"> |
| 6 | <div class="refresh" ng-class="{active: autoRefresh}" |
| 7 | icon icon-id="refresh" icon-size="36" |
| 8 | tooltip tt-msg="autoRefreshTip" |
| 9 | ng-click="toggleRefresh()"></div> |
| 10 | </div> |
| 11 | </div> |
Thomas Vachuska | a2ae422 | 2015-04-29 18:42:09 -0700 | [diff] [blame] | 12 | |
Simon Hunt | e11ce5a | 2015-07-21 12:11:04 -0700 | [diff] [blame^] | 13 | <div class="summary-list" onos-table-resize> |
| 14 | |
| 15 | <div class="table-header" onos-sortable-header> |
| 16 | <table> |
| 17 | <tr> |
| 18 | <td colId="id" sortable> Item ID </td> |
| 19 | <td colId="label" sortable> Label </td> |
| 20 | <td colId="code" sortable> Code </td> |
| 21 | </tr> |
| 22 | </table> |
| 23 | </div> |
| 24 | |
| 25 | <div class="table-body"> |
| 26 | <table> |
| 27 | <tr ng-if="!tableData.length" class="no-data"> |
| 28 | <td colspan="3"> |
| 29 | No Items found |
| 30 | </td> |
| 31 | </tr> |
| 32 | |
| 33 | <tr ng-repeat="item in tableData track by $index" |
| 34 | ng-click="selectCallback($event, item)" |
| 35 | ng-class="{selected: item.id === selId}"> |
| 36 | <td>{{item.id}}</td> |
| 37 | <td>{{item.label}}</td> |
| 38 | <td>{{item.code}}</td> |
| 39 | </tr> |
| 40 | </table> |
| 41 | </div> |
| 42 | |
| 43 | </div> |
| 44 | |
| 45 | <item-details-panel></item-details-panel> |
| 46 | </div> |