Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 1 | <!-- Host partial HTML --> |
| 2 | <div id="ov-host"> |
Bri Prebilic Cole | 864cdd6 | 2015-04-02 15:46:47 -0700 | [diff] [blame^] | 3 | <h2>Hosts ({{ctrl.tableData.length}} total)</h2> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 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 | 58eded6 | 2015-03-31 12:04:03 -0700 | [diff] [blame] | 10 | <th colId="type" class="table-icon" sortable></th> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 11 | <th colId="id" sortable>Host ID </th> |
Bri Prebilic Cole | 19a32dd | 2015-03-26 18:00:03 -0700 | [diff] [blame] | 12 | <th colId="mac" sortable>MAC Address </th> |
| 13 | <th colId="vlan" sortable>VLAN ID </th> |
| 14 | <th colId="ips" sortable>IP Addresses </th> |
| 15 | <th colId="location" sortable>Location </th> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 16 | </tr> |
| 17 | </thead> |
| 18 | |
| 19 | <tbody> |
Bri Prebilic Cole | 864cdd6 | 2015-04-02 15:46:47 -0700 | [diff] [blame^] | 20 | <tr ng-repeat="host in ctrl.tableData" |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 21 | ng-repeat-done> |
Thomas Vachuska | 58eded6 | 2015-03-31 12:04:03 -0700 | [diff] [blame] | 22 | <td class="table-icon"> |
| 23 | <div icon icon-id="{{host._iconid_type}}"></div> |
| 24 | </td> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 25 | <td>{{host.id}}</td> |
Bri Prebilic Cole | 19a32dd | 2015-03-26 18:00:03 -0700 | [diff] [blame] | 26 | <td>{{host.mac}}</td> |
| 27 | <td>{{host.vlan}}</td> |
| 28 | <td>{{host.ips}}</td> |
| 29 | <td>{{host.location}}</td> |
Thomas Vachuska | e586b79 | 2015-03-26 13:59:38 -0700 | [diff] [blame] | 30 | </tr> |
| 31 | </tbody> |
| 32 | </table> |
| 33 | |
| 34 | </div> |