Thomas Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 1 | <!-- partial HTML --> |
| 2 | <div id="ov-driver-matrix"> |
| 3 | <div class="tabular-header"> |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 4 | <h2>Driver Matrix</h2> |
Thomas Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 5 | <div class="ctrl-btns"> |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 6 | <!-- TODO: fix (or remove) refresh button --> |
Thomas Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 7 | <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 Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 14 | <!-- TODO: handle resizing / scrolling --> |
| 15 | <div class="driver-matrix"> |
| 16 | <table class="table-header-rotated"> |
| 17 | <thead> |
Thomas Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 18 | <tr> |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 19 | <!-- 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 Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 25 | </tr> |
| 26 | |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 27 | </thead> |
Thomas Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 28 | |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 29 | <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 Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 43 | </div> |
| 44 | |
| 45 | <ov-driver-matrix-item-details-panel></ov-driver-matrix-item-details-panel> |
| 46 | </div> |