blob: a9a70e8348d45b8deccd2961591904c79bbfb2b7 [file] [log] [blame]
Jimmy Yanda878fc2016-09-02 16:32:01 -07001<!-- partial HTML -->
2<div id="ov-roadm-device" class="less-gap">
3
4 <div class="tabular-header">
5 <h2>Optical Devices ({{tableData.length}} total)</h2>
6 <div class="ctrl-btns">
7 <div class="refresh" ng-class="{active: autoRefresh}"
8 icon icon-id="refresh" icon-size="42"
9 tooltip tt-msg="autoRefreshTip"
10 ng-click="toggleRefresh()"></div>
11 <div class="separator"></div>
12
13 <div ng-class="{'current-view': !!selId}"
14 icon icon-id="deviceTable" icon-size="42"></div>
15
16 <div ng-class="{active: !!selId}"
17 icon icon-id="flowTable" icon-size="42"
18 tooltip tt-msg="flowTip"
19 ng-click="nav('roadmFlow')"></div>
20
21
22 <div ng-class="{active: !!selId}"
23 icon icon-id="portTable" icon-size="42"
24 tooltip tt-msg="portTip"
25 ng-click="nav('roadmPort')"></div>
26 </div>
27 </div>
28
29 <div class="summary-list" onos-table-resize>
30
31 <div class="table-header" onos-sortable-header>
32 <table>
33 <tr>
34 <td colId="name"sortable>Friendly Name</td>
35 <td colId="id" sortable>Device ID </td>
36 <td colId="master" sortable col-width="120px">Master </td>
37 <td colId="ports" sortable col-width="70px">Ports </td>
38 <td colId="vendor" sortable>Vendor </td>
39 <td colId="hwVersion" sortable>H/W Version </td>
40 <td colId="swVersion" sortable>S/W Version </td>
41 <td colId="protocol" sortable col-width="100px">Protocol </td>
42 </tr>
43 </table>
44 </div>
45
46 <div class="table-body">
47 <table>
48 <tr ng-if="!tableData.length" class="no-data">
49 <td colspan="3">
50 {{annots.no_rows_msg}}
51 </td>
52 </tr>
53
54 <tr ng-repeat="item in tableData track by $index"
55 ng-class="{selected: item.id === selId}"
56 ng-click="selectCallback($event, item)">
57 <td>{{item.name}}</td>
58 <td>{{item.id}}</td>
59 <td>{{item.master}}</td>
60 <td>{{item.ports}}</td>
61 <td>{{item.vendor}}</td>
62 <td>{{item.hwVersion}}</td>
63 <td>{{item.swVersion}}</td>
64 <td>{{item.protocol}}</td>
65 </tr>
66 </table>
67 </div>
68
69 </div>
70</div>