03a7383e39e1909814aa0fca5ef3b561d71cb4db
[onosfw.git] /
1 <!-- partial HTML -->
2 <div id="ov-sample">
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>
12
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>