1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-30 00:00:13 +01:00
VILLASweb/app/templates/visualization/edit.hbs
Markus Grigull 77ebf05526 Change plots to free arrangement
Plots can be positioned freely. The plot area does not scrolls yet while
editing, but scales to fit all plots which are inside.
2016-07-19 16:13:56 +02:00

25 lines
554 B
Handlebars

<h1>{{model.name}}</h1>
<div class="plot-toolbox">
<h3>Toolbox</h3>
{{#draggable-item content='chart'}}
<span>Chart</span>
{{/draggable-item}}
{{#draggable-item content='table'}}
<span>Table</span>
{{/draggable-item}}
{{#draggable-item content='value'}}
<span>Value</span>
{{/draggable-item}}
</div>
{{#draggable-dropzone dropped='addPlot'}}
{{plot-container plots=model.plots editing=true}}
{{/draggable-dropzone}}
<p>
<button {{action 'cancelEdit'}}>Cancel</button>
<button {{action 'saveEdit'}}>Save</button>
</p>