diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-04-16 21:03:46 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-04-16 21:03:46 -0400 |
| commit | 5d0c7134031815595d90a16d2edf39c5e757411d (patch) | |
| tree | 45e2987125d0eca71e6e299d4902f4cea17b3695 /print/templates | |
| parent | 7b0804562e4ce3b440e67de6cb001ac021326990 (diff) | |
| parent | 75aa656c2cfb7ee4189c31a6c7a0d23d83b4d03a (diff) | |
Merge branch 'print-pdf2' into lexelby-print-features
Diffstat (limited to 'print/templates')
| -rw-r--r-- | print/templates/operator_overview.html | 9 | ||||
| -rw-r--r-- | print/templates/print_detail.html | 9 | ||||
| -rw-r--r-- | print/templates/print_overview.html | 9 |
3 files changed, 21 insertions, 6 deletions
diff --git a/print/templates/operator_overview.html b/print/templates/operator_overview.html index 25048ab7..38da7746 100644 --- a/print/templates/operator_overview.html +++ b/print/templates/operator_overview.html @@ -25,9 +25,14 @@ </div> </header> <main> - <figure class="inksimulation operator" style="height: 210mm;"> + <figure class="inksimulation operator" style="height: 210mm;" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{ 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_transform }}</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' %} diff --git a/print/templates/print_detail.html b/print/templates/print_detail.html index 18a70bba..eddcf36f 100644 --- a/print/templates/print_detail.html +++ b/print/templates/print_detail.html @@ -15,9 +15,14 @@ </div> </header> <main> - <figure class="inksimulation"> + <figure class="inksimulation" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{color_block.svg_preview|safe}} - <figcaption>{{ _('Scale') }} <span>{{ svg_scale }}</span></figcaption> + <figcaption>{{ _('Scale') }} <span data-field-name="svg-scale" contenteditable="true" data-placeholder="Enter scale...">{{ svg_transform }}</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> <div class="color-palette detailed"> diff --git a/print/templates/print_overview.html b/print/templates/print_overview.html index f5632ceb..7a396b4a 100644 --- a/print/templates/print_overview.html +++ b/print/templates/print_overview.html @@ -25,9 +25,14 @@ </div> </header> <main class="client-overview-main"> - <figure class="inksimulation"> + <figure class="inksimulation" title="{{ _('Ctrl + Scroll to Zoom') }}"> {{ 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_transform }}</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> <div class="color-palette"> |
