Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 1 | <!-- Host partial HTML --> |
| 2 | <div id="ov-host"> |
| 3 | <h2>Hosts ({{ctrl.hostData.length}} total)</h2> |
| 4 | <table class="summary-list" |
| 5 | onos-fixed-header |
| 6 | onos-sortable-header |
| 7 | sort-callback="sortCallback(urlSuffix)"> |
| 8 | <thead> |
| 9 | <tr> |
| 10 | <th colId="available"></th> |
| 11 | <th colId="type"></th> |
| 12 | <th colId="id" sortable>Host ID </th> |
| 13 | <th colId="mfr" sortable>Vendor </th> |
| 14 | <th colId="hw" sortable>H/W Version </th> |
| 15 | <th colId="sw" sortable>S/W Version </th> |
| 16 | <th colId="chassisid" sortable>Chassis ID </th> |
| 17 | <th colId="serial" sortable>Serial # </th> |
| 18 | <th colId="protocol" sortable>Protocol </th> |
| 19 | </tr> |
| 20 | </thead> |
| 21 | |
| 22 | <tbody> |
| 23 | <tr ng-repeat="host in ctrl.hostData" |
| 24 | ng-repeat-done> |
| 25 | <td class="table-icon"> |
| 26 | <div icon icon-id="{{host._iconid_available}}"></div> |
| 27 | </td> |
| 28 | <td class="table-icon"> |
| 29 | <div icon icon-id="{{host._iconid_type}}"></div> |
| 30 | </td> |
| 31 | <td>{{host.id}}</td> |
| 32 | <td>{{host.mfr}}</td> |
| 33 | <td>{{host.hw}}</td> |
| 34 | <td>{{host.sw}}</td> |
| 35 | <td>{{host.chassisid}}</td> |
| 36 | <td>{{host.serial}}</td> |
| 37 | <td>{{host.protocol}}</td> |
| 38 | </tr> |
| 39 | </tbody> |
| 40 | </table> |
| 41 | |
| 42 | </div> |