blob: 8f8313294a984bce0c3bca0b0b3fb0df35d54264 [file] [log] [blame]
Thomas Vachuskae586b792015-03-26 13:59:38 -07001<!-- Host partial HTML -->
2<div id="ov-host">
Bri Prebilic Cole45069382015-04-14 15:21:38 -07003 <div class="tabular-header">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -07004 <h2>Hosts ({{tableData.length}} total)</h2>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -07005 <div class="ctrl-btns">
6 <div class="refresh active"
Bri Prebilic Cole43f17c02015-05-01 10:43:38 -07007 icon icon-size="36" icon-id="refresh"
Bri Prebilic Colebfab9c72015-06-01 14:33:18 -07008 ng-click="refresh(sortParams)"></div>
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -07009 </div>
Bri Prebilic Cole45069382015-04-14 15:21:38 -070010 </div>
11
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070012 <div class="summary-list" onos-fixed-header>
Thomas Vachuskae586b792015-03-26 13:59:38 -070013
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070014 <div class="table-header"
Bri Prebilic Colebfab9c72015-06-01 14:33:18 -070015 onos-sortable-header
16 sort-params="sortParams"
17 sort-callback="sortCallback(sortParams)">
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070018 <table>
19 <tr>
20 <td colId="type" class="table-icon" sortable></td>
21 <td colId="id" sortable>Host ID </td>
22 <td colId="mac" sortable>MAC Address </td>
23 <td colId="vlan" sortable>VLAN ID </td>
24 <td colId="ips" sortable>IP Addresses </td>
25 <td colId="location" sortable>Location </td>
26 </tr>
27 </table>
28 </div>
Simon Hunt0c2c4c52015-04-02 17:42:45 -070029
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070030 <div class="table-body">
31 <table>
32 <tr ng-hide="tableData.length" class="no-data ignore-width">
33 <td colspan="6">
34 No Hosts found
35 </td>
36 </tr>
37
38 <tr ng-repeat="host in tableData"
39 ng-repeat-done>
40 <td class="table-icon">
41 <div icon icon-id="{{host._iconid_type}}"></div>
42 </td>
43 <td>{{host.id}}</td>
44 <td>{{host.mac}}</td>
45 <td>{{host.vlan}}</td>
46 <td>{{host.ips}}</td>
47 <td>{{host.location}}</td>
48 </tr>
49 </table>
50 </div>
51
52 </div>
53
Thomas Vachuskae586b792015-03-26 13:59:38 -070054</div>