[Frontend] Markup for #967

Fixes #967
WIP to be integrated with work
from hudsonfoo in PR #1164

(cherry picked from commit ebadad61c6)
This commit is contained in:
Charles Hacskaylo 2016-09-01 17:10:21 -07:00 committed by David Hudson
parent e38cf1e2e8
commit e7a7025961

View File

@ -21,21 +21,23 @@
--> -->
<span ng-controller="PlotController as plot" <span ng-controller="PlotController as plot"
class="abs holder holder-plot"> class="abs holder holder-plot">
<a class="s-button t-export icon-download labeled" <span class="l-btn-set">
ng-click="plot.exportPDF()" <a class="s-button t-export icon-download labeled first"
title="Export This View's Data">
Export as PDF
</a>
<a class="s-button t-export icon-download labeled"
ng-click="plot.exportPNG()"
title="Export This View's Data">
Export as PNG
</a>
<a class="s-button t-export icon-download labeled"
ng-click="plot.exportJPG()" ng-click="plot.exportJPG()"
title="Export This View's Data"> title="Export This View's Data as JPG">
Export as JPG JPG
</a> </a>
<a class="s-button t-export labeled"
ng-click="plot.exportPNG()"
title="Export This View's Data as PNG">
PNG
</a>
<a class="s-button t-export labeled last"
ng-click="plot.exportPDF()"
title="Export This View's Data as PDF">
PDF
</a>
</span>
<div class="gl-plot" <div class="gl-plot"
ng-style="{ height: 100 / plot.getSubPlots().length + '%'}" ng-style="{ height: 100 / plot.getSubPlots().length + '%'}"
ng-repeat="subplot in plot.getSubPlots()"> ng-repeat="subplot in plot.getSubPlots()">