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 |
Bri Prebilic Cole | 72eb6db | 2015-03-30 16:58:53 -0700 | [diff] [blame^] | 7 | sort-callback="sortCallback(requestParams)"> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 8 | <thead> |
| 9 | <tr> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 10 | <th colId="id" sortable>Host ID </th> |
Bri Prebilic Cole | 19a32dd | 2015-03-26 18:00:03 -0700 | [diff] [blame] | 11 | <th colId="mac" sortable>MAC Address </th> |
| 12 | <th colId="vlan" sortable>VLAN ID </th> |
| 13 | <th colId="ips" sortable>IP Addresses </th> |
| 14 | <th colId="location" sortable>Location </th> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 15 | </tr> |
| 16 | </thead> |
| 17 | |
| 18 | <tbody> |
| 19 | <tr ng-repeat="host in ctrl.hostData" |
| 20 | ng-repeat-done> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 21 | <td>{{host.id}}</td> |
Bri Prebilic Cole | 19a32dd | 2015-03-26 18:00:03 -0700 | [diff] [blame] | 22 | <td>{{host.mac}}</td> |
| 23 | <td>{{host.vlan}}</td> |
| 24 | <td>{{host.ips}}</td> |
| 25 | <td>{{host.location}}</td> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 26 | </tr> |
| 27 | </tbody> |
| 28 | </table> |
| 29 | |
| 30 | </div> |