blob: df86d0f1b503d3cf1893485a1190d124d089acc5 [file] [log] [blame]
Simon Huntb9c495e2015-11-05 15:08:06 -08001<!-- partial HTML -->
2<div id="ov-ui-ref-table">
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">
Simon Huntc6be4a02016-01-15 19:16:31 -080029 {{annots.no_rows_msg}}
Simon Huntb9c495e2015-11-05 15:08:06 -080030 </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 <ov-ui-ref-table-item-details-panel></ov-ui-ref-table-item-details-panel>
46</div>