[Frontend] New markup for CSS from #1166

Fixes #967
Requires new styles implemented in #1166

(cherry picked from commit 0457f7bee8)
This commit is contained in:
Charles Hacskaylo
2016-09-01 19:48:41 -07:00
committed by David Hudson
parent 5984ae46fc
commit 4517bd1356

View File

@@ -20,12 +20,12 @@
at runtime from the About dialog for additional information.
-->
<span ng-controller="PlotController as plot"
class="abs holder holder-plot"
ng-class="{'hide-l-btn-set': plot.hideExportButtons}">
class="abs holder holder-plot has-control-bar">
<div class="l-control-bar" ng-show="!plot.hideExportButtons">
<span class="l-btn-set">
<a class="s-button t-export icon-download labeled first"
ng-click="plot.exportJPG()"
title="Export This View's Data as JPG">
ng-click="plot.exportPDF()"
title="Export This View's Data as PDF">
JPG
</a>
<a class="s-button t-export labeled"
@@ -34,11 +34,13 @@
PNG
</a>
<a class="s-button t-export labeled last"
ng-click="plot.exportPDF()"
title="Export This View's Data as PDF">
ng-click="plot.exportJPG()"
title="Export This View's Data as JPG">
PDF
</a>
</span>
</div>
<div class="l-view-section">
<div class="gl-plot"
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
ng-repeat="subplot in plot.getSubPlots()">
@@ -154,4 +156,5 @@
</div>
</div>
</div>
</span>