driverMatrix.html
1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!-- partial HTML -->
<div id="ov-driver-matrix">
<div class="tabular-header">
<h2>Driver Matrix</h2>
<div class="ctrl-btns">
<!-- TODO: fix (or remove) refresh button -->
<div class="refresh" ng-class="{active: autoRefresh}"
icon icon-id="refresh" icon-size="36"
tooltip tt-msg="autoRefreshTip"
ng-click="toggleRefresh()"></div>
</div>
</div>
<!-- TODO: handle resizing / scrolling -->
<div class="driver-matrix">
<table class="table-header-rotated">
<thead>
<tr>
<!-- first column header is not rotated -->
<th></th>
<!-- following headers are rotated -->
<th class="rotate" ng-repeat="beh in behaviours track by $index">
<div><span>{{beh}}</span></div>
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="drv in drivers track by $index">
<!--ng-click="selectCallback($event, item)"-->
<!--ng-class="{selected: item.id === selId}">-->
<th class="row-header">
{{drv}}
</th>
<td ng-repeat="beh in behaviours track by $index"
ng-class="{'xmark':cellMarked(drv, beh)}">
{{cellValue(drv, beh)}}
</td>
</tr>
</tbody>
</table>
</div>
<ov-driver-matrix-item-details-panel></ov-driver-matrix-item-details-panel>
</div>