diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-04-18 16:09:43 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-04-18 16:09:43 -0400 |
| commit | a5900865c76b4b65c712ef6d39fda9eaae2c5007 (patch) | |
| tree | 217522995f3eedce3cac2b0035a6a71857567dbc /print/templates | |
| parent | b5968dc11ff479f2c7cd5217c47a872fe04295e4 (diff) | |
save and restore zoom and pan
Diffstat (limited to 'print/templates')
| -rw-r--r-- | print/templates/operator_overview.html | 2 | ||||
| -rw-r--r-- | print/templates/print_detail.html | 2 | ||||
| -rw-r--r-- | print/templates/print_overview.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html index 59b2e028..367d6d2b 100644 --- a/print/templates/operator_overview.html +++ b/print/templates/operator_overview.html @@ -25,7 +25,7 @@ </div> </header> <main> - <figure class="inksimulation operator" style="height: 210mm;" title="{{ _('Ctrl + Scroll to Zoom') }}"> + <figure class="inksimulation operator" data-field-name="operator-overview-transform" style="height: 210mm;" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{ svg_overview|safe }} <figcaption>{{ _('Scale') }} <span class="scale" data-field-name="svg-scale" contenteditable="true" data-placeholder=""></span>%</figcaption> <div> diff --git a/print/templates/print_detail.html b/print/templates/print_detail.html index d3b064a5..714d33a2 100644 --- a/print/templates/print_detail.html +++ b/print/templates/print_detail.html @@ -15,7 +15,7 @@ </div> </header> <main> - <figure class="inksimulation" title="{{ _('Ctrl + Scroll to Zoom') }}"> + <figure class="inksimulation" data-field-name="client-detail-transform-block{{ loop.index0 }}" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{color_block.svg_preview|safe}} <figcaption>{{ _('Scale') }} <span class="scale" data-field-name="svg-scale" contenteditable="true" data-placeholder=""></span>%</figcaption> <div> diff --git a/print/templates/print_overview.html b/print/templates/print_overview.html index 62d2982c..efcf5b2e 100644 --- a/print/templates/print_overview.html +++ b/print/templates/print_overview.html @@ -25,7 +25,7 @@ </div> </header> <main class="client-overview-main"> - <figure class="inksimulation" title="{{ _('Ctrl + Scroll to Zoom') }}"> + <figure class="inksimulation" data-field-name="client-overview-transform" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{ svg_overview|safe }} <figcaption>{{ _('Scale') }} <span class="scale" data-field-name="svg-scale" contenteditable="true" data-placeholder=""></span>%</figcaption> <div> |
