Skip to content

Commit

Permalink
[Frontend] Styling for TOI element in plots
Browse files Browse the repository at this point in the history
Fixes #933
Fixes #1193
WIP, adding TOI to plot view.
  • Loading branch information
charlesh88 committed Sep 15, 2016
1 parent 9e2debf commit 2c81b72
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions platform/features/plot/res/templates/plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@
ng-mouseenter="subplot.isHovering(true);"
ng-mouseleave="subplot.isHovering(false)"
ng-class="{ loading: plot.isRequestPending() }">

<!-- TOI element -->
<div class="l-toi-holder">
<!-- Need text vals at top and bottom, plus vertical line -->
<div class="l-toi-val">
<span class="val">{{subplot.getHoverCoordinates()}}</span>
<a class="s-icon-button icon-x"></a>
</div>
</div>

<!-- Out-of-bounds data indicators -->
<!-- ng-show is temporarily hard-coded in next element -->
<div ng-show="false" class="l-oob-data l-oob-data-up"></div>
Expand Down

0 comments on commit 2c81b72

Please sign in to comment.