[Frontend] Small refactor for mct-include

Fixes #933
Fixes #1193
Markup and CSS tweaked to support using mct-include
as the main container for the TOI element; TC, plots
and tables all updated.
This commit is contained in:
Charles Hacskaylo
2016-10-17 17:19:50 -07:00
parent dadca62955
commit 86b51f6cde
5 changed files with 57 additions and 55 deletions

View File

@ -77,10 +77,11 @@
</div>
<div class="gl-plot-wrapper-display-area-and-x-axis">
<div class="toiPositioner"
ng-if="toiPerc" ng-style="{'left': toiPerc + '%'}">
<mct-include key="'time-of-interest'" class="show-val"></mct-include>
</div>
<mct-include key="'time-of-interest'"
class="l-toi-holder show-val"
ng-if="toiPerc"
ng-class="{ 'val-to-left': toiPerc > 80 }"
ng-style="{'left': toiPerc + '%'}"></mct-include>
<div class="gl-plot-coords"
ng-if="subplot.isHovering() && subplot.getHoverCoordinates()">