diff options
| author | kalleen <reni@allenka.de> | 2018-04-09 19:20:02 +0200 |
|---|---|---|
| committer | kalleen <reni@allenka.de> | 2018-04-09 19:20:02 +0200 |
| commit | 15222ed4c39bab5e19b622e9179f7abc88c5b1da (patch) | |
| tree | 10ca7e541585239ea43497b8e082ff4be77c955f /print/templates/operator_overview.html | |
| parent | 3e00ba26da77add9bdb1315b6a1993c0b53135f2 (diff) | |
add buttons to quickly adjust svg size
Diffstat (limited to 'print/templates/operator_overview.html')
| -rw-r--r-- | print/templates/operator_overview.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html index c9706dbe..ce28ae8e 100644 --- a/print/templates/operator_overview.html +++ b/print/templates/operator_overview.html @@ -25,9 +25,13 @@ </div> </header> <main> - <figure class="inksimulation operator" style="height: 210mm;"> + <figure class="inksimulation operator" style="height: 210mm;"> {{ svg_overview|safe }} - <figcaption>{{ _('Scale') }} <span>{{ svg_scale }}</span>%</figcaption> + <figcaption>{{ _('Scale') }} <span data-field-name="svg-scale" contenteditable="true" data-placeholder="Enter scale...">{{ svg_scale }}</span>%</figcaption> + <div> + <button class="svg-fit">Fit</button> + <button class="svg-full">100%</button> + </div> </figure> </main> {% include 'footer.html' %} |
