blob: 2e1171d81388b94b2912a028173c2ec5c4d613df [file] [log] [blame]
Simon Huntcc035c52017-02-22 21:12:51 -08001<!-- YANG Model partial HTML -->
2<div id="ov-yang-model">
3
4 <div class="tabular-header">
5 <h2>YANG Models ({{tableData.length}} total)</h2>
6 <div class="ctrl-btns">
7 <div class="refresh" ng-class="{active: autoRefresh}"
8 icon icon-id="refresh" icon-size="42"
9 tooltip tt-msg="autoRefreshTip"
10 ng-click="toggleRefresh()"></div>
11 </div>
12 </div>
13
14 <div class="summary-list" onos-table-resize>
15 <div class="table-header" onos-sortable-header>
16 <table>
17 <tr>
18 <td colId="id" col-width="130px" sortable>ID</td>
19 <td colId="type" sortable>Type</td>
20 <!-- TODO: More columns to be added -->
21 </tr>
22 </table>
23 </div>
24
25 <div class="table-body">
26 <table id-prop="id">
27 <tr ng-if="!tableData.length" class="no-data">
28 <!-- TODO: set colspan to the final number of columns -->
29 <td colspan="2">
30 {{annots.no_rows_msg}}
31 </td>
32 </tr>
33
34 <tr ng-repeat="ymodel in tableData track by $index"
35 ng-click="selectCallback($event, ymodel)"
36 ng-class="{selected: ymodel.id === selId}"
37 ng-repeat-complete row-id="{{ymodel.id}}">
Simon Hunt7d5e9842017-02-23 11:37:02 -080038 <td>{{ymodel.id}}</td>
39 <td>{{ymodel.type}}</td>
40 <!-- TODO: add more columns here -->
Simon Huntcc035c52017-02-22 21:12:51 -080041 </tr>
42 </table>
43 </div>
44 </div>
45
46 <yang-model-details-panel></yang-model-details-panel>
47
48</div>