diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2018-04-28 13:40:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-28 13:40:52 -0400 |
| commit | 14828d6fa2d290fb5f10b2e5956b2fa1153588d5 (patch) | |
| tree | 8e163688d30fd6ec23b1c7d5977ccceb97091264 /print/templates/operator_overview.html | |
| parent | 69d231b4eb197bfe135ec7e146b53c5de975b9d9 (diff) | |
| parent | 8e3dd74a286d4549fdb1dd9cc7a9fcfadb85bb9e (diff) | |
Merge pull request #148 from lexelby/lexelby-print-features
additional print features
Diffstat (limited to 'print/templates/operator_overview.html')
| -rw-r--r-- | print/templates/operator_overview.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html index 25048ab7..367d6d2b 100644 --- a/print/templates/operator_overview.html +++ b/print/templates/operator_overview.html @@ -11,7 +11,7 @@ </div> <div> <div class="table"> - <p><span>{{ _('Design box size') }}:</span><span>{{ job.dimensions }}</span></p> + <p><span>{{ _('Design box size') }}:</span><span>{{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }}</span></p> <p><span>{{ _('Total stitch count') }}:</span><span>{{job.num_stitches }}</span></p> <p><span>{{ _('Total thread used') }}:</span><span>{{job.estimated_thread }}</span></p> </div> @@ -25,9 +25,14 @@ </div> </header> <main> - <figure class="inksimulation operator" style="height: 210mm;"> + <figure class="inksimulation operator" data-field-name="operator-overview-transform" style="height: 210mm;" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{ svg_overview|safe }} - <figcaption>{{ _('Scale') }} <span>{{ svg_scale }}</span></figcaption> + <figcaption>{{ _('Scale') }} <span class="scale" data-field-name="svg-scale" contenteditable="true" data-placeholder=""></span>%</figcaption> + <div> + <button class="svg-fit">{{ _('Fit') }}</button> + <button class="svg-full">100%</button> + <button class="svg-apply">{{ _('Apply to all') }}</button> + </div> </figure> </main> {% include 'footer.html' %} |
