blob: 2088b66eaa534dacce825e72b8901103210630e1 [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>
Thomas Vachuska401a1d32017-03-31 09:58:11 -070018 <td colId="id" sortable>Module</td>
Thomas Vachuskae0792f12017-03-31 00:15:06 -070019 <td colId="revision" sortable>Revision</td>
Thomas Vachuska770ef842017-03-31 00:15:49 -070020 <td colId="modelId" col-width="130px" sortable>Model ID</td>
Simon Huntcc035c52017-02-22 21:12:51 -080021 <!-- TODO: More columns to be added -->
22 </tr>
23 </table>
24 </div>
25
26 <div class="table-body">
27 <table id-prop="id">
28 <tr ng-if="!tableData.length" class="no-data">
29 <!-- TODO: set colspan to the final number of columns -->
30 <td colspan="2">
31 {{annots.no_rows_msg}}
32 </td>
33 </tr>
34
35 <tr ng-repeat="ymodel in tableData track by $index"
36 ng-click="selectCallback($event, ymodel)"
37 ng-class="{selected: ymodel.id === selId}"
38 ng-repeat-complete row-id="{{ymodel.id}}">
Thomas Vachuska770ef842017-03-31 00:15:49 -070039 <td>{{ymodel.id}}</td>
Thomas Vachuskae0792f12017-03-31 00:15:06 -070040 <td>{{ymodel.revision}}</td>
Thomas Vachuska770ef842017-03-31 00:15:49 -070041 <td>{{ymodel.modelId}}</td>
Simon Hunt7d5e9842017-02-23 11:37:02 -080042 <!-- TODO: add more columns here -->
Simon Huntcc035c52017-02-22 21:12:51 -080043 </tr>
44 </table>
45 </div>
46 </div>
47
48 <yang-model-details-panel></yang-model-details-panel>
49
50</div>