blob: b83f3ce25a9892c048e7563ff31e21230390ef50 [file] [log] [blame]
<!-- YANG Model partial HTML -->
<div id="ov-yang-model">
<div class="tabular-header">
<h2>YANG Models ({{tableData.length}} total)</h2>
<div class="ctrl-btns">
<div class="refresh" ng-class="{active: autoRefresh}"
icon icon-id="refresh" icon-size="42"
tooltip tt-msg="autoRefreshTip"
ng-click="toggleRefresh()"></div>
</div>
</div>
<div class="summary-list" onos-table-resize>
<div class="table-header" onos-sortable-header>
<table>
<tr>
<td colId="module" sortable>Module</td>
<td colId="revision" sortable>Revision</td>
<td colId="id" col-width="130px" sortable>Model ID</td>
<!-- TODO: More columns to be added -->
</tr>
</table>
</div>
<div class="table-body">
<table id-prop="id">
<tr ng-if="!tableData.length" class="no-data">
<!-- TODO: set colspan to the final number of columns -->
<td colspan="2">
{{annots.no_rows_msg}}
</td>
</tr>
<tr ng-repeat="ymodel in tableData track by $index"
ng-click="selectCallback($event, ymodel)"
ng-class="{selected: ymodel.id === selId}"
ng-repeat-complete row-id="{{ymodel.id}}">
<td>{{ymodel.module}}</td>
<td>{{ymodel.revision}}</td>
<td>{{ymodel.id}}</td>
<!-- TODO: add more columns here -->
</tr>
</table>
</div>
</div>
<yang-model-details-panel></yang-model-details-panel>
</div>