blob: 5df2a46411ee6f52e27d02eddfa429d59c13b382 [file] [log] [blame]
Thomas Vachuskabbf10502015-12-09 13:41:58 -08001<!-- partial HTML -->
2<div id="ov-driver-matrix">
3 <div class="tabular-header">
Simon Hunta2b11a52016-02-22 22:05:47 -08004 <h2>Driver Matrix</h2>
Thomas Vachuskabbf10502015-12-09 13:41:58 -08005 <div class="ctrl-btns">
Simon Hunta2b11a52016-02-22 22:05:47 -08006 <!-- TODO: fix (or remove) refresh button -->
Thomas Vachuskabbf10502015-12-09 13:41:58 -08007 <div class="refresh" ng-class="{active: autoRefresh}"
8 icon icon-id="refresh" icon-size="36"
9 tooltip tt-msg="autoRefreshTip"
10 ng-click="toggleRefresh()"></div>
11 </div>
12 </div>
13
Simon Hunta2b11a52016-02-22 22:05:47 -080014 <!-- TODO: handle resizing / scrolling -->
15 <div class="driver-matrix">
16 <table class="table-header-rotated">
17 <thead>
Thomas Vachuskabbf10502015-12-09 13:41:58 -080018 <tr>
Simon Hunta2b11a52016-02-22 22:05:47 -080019 <!-- first column header is not rotated -->
20 <th></th>
21 <!-- following headers are rotated -->
22 <th class="rotate" ng-repeat="beh in behaviours track by $index">
23 <div><span>{{beh}}</span></div>
24 </th>
Thomas Vachuskabbf10502015-12-09 13:41:58 -080025 </tr>
26
Simon Hunta2b11a52016-02-22 22:05:47 -080027 </thead>
Thomas Vachuskabbf10502015-12-09 13:41:58 -080028
Simon Hunta2b11a52016-02-22 22:05:47 -080029 <tbody>
30 <tr ng-repeat="drv in drivers track by $index">
31 <!--ng-click="selectCallback($event, item)"-->
32 <!--ng-class="{selected: item.id === selId}">-->
33 <th class="row-header">
34 {{drv}}
35 </th>
36 <td ng-repeat="beh in behaviours track by $index"
37 ng-class="{'xmark':cellMarked(drv, beh)}">
38 {{cellValue(drv, beh)}}
39 </td>
40 </tr>
41 </tbody>
42 </table>
Thomas Vachuskabbf10502015-12-09 13:41:58 -080043 </div>
44
45 <ov-driver-matrix-item-details-panel></ov-driver-matrix-item-details-panel>
46</div>