device.html 1.12 KB
<!-- Device partial HTML -->
<div id="ov-device">
    <h2>Devices</h2>
    <table class="summary-list"
           onos-fixed-header
           ng-style="setTableHW()"
           sort-callback="ctrl.sortCallback()">
        <thead>
            <tr>
                <th colId="available"></th>
                <th colId="id" sortable>URI</th>
                <th colId="mfr" sortable>Vendor</th>
                <th colId="hw" sortable>Hardware Version</th>
                <th colId="sw" sortable>Software Version</th>
                <th colId="serial" sortable>Serial Number</th>
                <th colId="protocol" sortable>Protocol</th>
            </tr>
        </thead>

        <tbody>
            <tr ng-repeat="dev in ctrl.deviceData"
                ng-repeat-done>
                <td><div icon icon-id="{{dev._iconid_available}}"></div></td>
                <td>{{dev.id}}</td>
                <td>{{dev.mfr}}</td>
                <td>{{dev.hw}}</td>
                <td>{{dev.sw}}</td>
                <td>{{dev.serial}}</td>
                <td>{{dev.annotations.protocol}}</td>
            </tr>
        </tbody>
    </table>

</div>