blob: a4f8c4f8a47f0829dbebe6aafffed7ef682c1abf [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 Cole3d4d01c2015-04-30 13:48:36 -07008 ng-click="refresh()"></div>
9 </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"
15 onos-sortable-header sort-callback="sortCallback(requestParams)">
16 <table>
17 <tr>
18 <td colId="type" class="table-icon" sortable></td>
19 <td colId="id" sortable>Host ID </td>
20 <td colId="mac" sortable>MAC Address </td>
21 <td colId="vlan" sortable>VLAN ID </td>
22 <td colId="ips" sortable>IP Addresses </td>
23 <td colId="location" sortable>Location </td>
24 </tr>
25 </table>
26 </div>
Simon Hunt0c2c4c52015-04-02 17:42:45 -070027
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070028 <div class="table-body">
29 <table>
30 <tr ng-hide="tableData.length" class="no-data ignore-width">
31 <td colspan="6">
32 No Hosts found
33 </td>
34 </tr>
35
36 <tr ng-repeat="host in tableData"
37 ng-repeat-done>
38 <td class="table-icon">
39 <div icon icon-id="{{host._iconid_type}}"></div>
40 </td>
41 <td>{{host.id}}</td>
42 <td>{{host.mac}}</td>
43 <td>{{host.vlan}}</td>
44 <td>{{host.ips}}</td>
45 <td>{{host.location}}</td>
46 </tr>
47 </table>
48 </div>
49
50 </div>
51
Thomas Vachuskae586b792015-03-26 13:59:38 -070052</div>