[Frontend] Tweaks to markup and CSS
WTD-1172 scrolling.html markup and CSS hooks; added comments to change points; CSS tweaking;
This commit is contained in:
@@ -9,12 +9,13 @@
|
||||
{{ngModel.name}}
|
||||
</div>
|
||||
<div
|
||||
class="l-elem l-value"
|
||||
class="l-elem l-value s-value"
|
||||
ng-class="{ 'telem-only': !ngModel.element.titled }"
|
||||
>
|
||||
<!-- ng-class is temporarily hard-coded in next element -->
|
||||
<span
|
||||
class="l-value-bg"
|
||||
ng-class="{ 's-limit': ngModel.value < 0, 's-limit-lwr': 1, 's-limit-red' : 1 }"
|
||||
class="l-value-bg s-value-bg"
|
||||
ng-class="{ 's-limit-lwr': ngModel.value < 0, 's-limit-red' : 1 }"
|
||||
>
|
||||
{{ngModel.value}}
|
||||
</span>
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
|
||||
ng-repeat="subplot in plot.getSubPlots()">
|
||||
<div class="gl-plot-legend">
|
||||
<!-- ng-class is temporarily hard-coded in next element -->
|
||||
<span
|
||||
class='plot-legend-item'
|
||||
ng-repeat="telemetryObject in subplot.getTelemetryObjects()"
|
||||
ng-class="{ 's-limit': $index < 1, 's-limit-lwr': 1, 's-limit-yellow' : 1 }"
|
||||
ng-class="{ 's-limit-lwr': $index < 1, 's-limit-yellow' : 1 }"
|
||||
>
|
||||
<span class='plot-color-swatch'
|
||||
ng-style="{ 'background-color': plot.getColor($index) }">
|
||||
@@ -54,6 +55,7 @@
|
||||
ng-mouseleave="subplot.isHovering(false)">
|
||||
|
||||
<!-- Out-of-bounds data indicators -->
|
||||
<!-- ng-show is temporarily hard-coded in next element -->
|
||||
<div ng-show="1" class="l-oob-data l-oob-data-up"></div>
|
||||
<div ng-show="1" class="l-oob-data l-oob-data-dwn"></div>
|
||||
|
||||
|
||||
@@ -13,8 +13,18 @@
|
||||
</div>
|
||||
|
||||
<div class="tr" ng-repeat="row in rows">
|
||||
<div class="td" ng-repeat="cell in row">
|
||||
{{cell}}
|
||||
<div
|
||||
class="td"
|
||||
ng-class="{ 's-cell-type-value': $index > 1 }"
|
||||
ng-repeat="cell in row"
|
||||
>
|
||||
<!-- ng-class is temporarily hard-coded in next element -->
|
||||
<span
|
||||
class="l-cell-contents"
|
||||
ng-class="{ 's-limit-upr': cell > 0, 's-limit-yellow':1 }"
|
||||
>
|
||||
{{cell}}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user