blob: 38606449edf1a372453bca5edc44d10ebd2db5ca [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="id" col-width="130px" sortable>ID</td>
<td colId="type" sortable>Type</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>{{dev.id}}</td>
<td>{{dev.type}}</td>
<!-- TODO: add more colums here -->
</tr>
</table>
</div>
</div>
<yang-model-details-panel></yang-model-details-panel>
</div>