diff options
Diffstat (limited to 'print/templates')
| -rw-r--r-- | print/templates/full_page_pattern.html | 17 | ||||
| -rw-r--r-- | print/templates/index.html | 4 | ||||
| -rw-r--r-- | print/templates/ui.html | 11 |
3 files changed, 31 insertions, 1 deletions
diff --git a/print/templates/full_page_pattern.html b/print/templates/full_page_pattern.html new file mode 100644 index 00000000..f8bd3c5e --- /dev/null +++ b/print/templates/full_page_pattern.html @@ -0,0 +1,17 @@ +<main> + <figure class="inksimulation full-page-pattern operator" + data-field-name="full-page-patternview-transform" + title="{{ _('Ctrl + Scroll to Zoom') }}" + style="cursor: auto;"> + {{ svg_overview|replace("<li>", "")|replace("</li>", "")|safe }} + {% with %} + {% set realistic_id='realistic-pattern-overview' %} + {% include 'ui_svg_action_buttons.html' with context %} + {% endwith %} + </figure> + </main> + +<div class="show-footer" style="display: {{ 'block' if view.show_footer else 'none' }}"> + {% include 'footer.html' %} +</div> + diff --git a/print/templates/index.html b/print/templates/index.html index 612506c9..6ff8de67 100644 --- a/print/templates/index.html +++ b/print/templates/index.html @@ -31,6 +31,10 @@ {# operator detailed view #} {% include 'operator_detailedview.html' %} + {# full page pattern view #} + <div class="page full-page-patternview" style="display: {{'block' if view.full_page_patternview else 'none' }}"> + {% include 'full_page_pattern.html' %} + </div> {# custom pages #} <div class="page custom-page" style="display: {{ 'block' if view.custom_page else 'none' }}">{% include 'custom-page.html' %}</div> </body> diff --git a/print/templates/ui.html b/print/templates/ui.html index dd61e2d8..4282838d 100644 --- a/print/templates/ui.html +++ b/print/templates/ui.html @@ -54,11 +54,20 @@ <input type="checkbox" class="view" id="operator-detailedview" data-field-name="operator-detailedview" CHECKED /> <label for="operator-detailedview">{{ _('Operator Detailed View') }}</label> </p> - <p style="text-indent: 1.5em;">{{ _('Thumbnail size') }}: + <p style="text-indent: 1.5em;"> + <label for="operator-detailedview-thumbnail-size">{{ _('Thumbnail size') }}</label> <input type="range" min="15" max="110" value="15" step="5" id="operator-detailedview-thumbnail-size" data-field-name="operator-detailedview-thumbnail-size" style="vertical-align: middle;" /> <span id="display-thumbnail-size">15mm</span> </p> <p> + <input type="checkbox" class="view" id="full-page-patternview" data-field-name="full-page-patternview" /> + <label for="full-page-patternview">{{ _('Full Page Pattern View') }}</label> + </p> + <p style="text-indent: 1.5em;"> + <input type="checkbox" class="view" id="show-footer" data-field-name="show-footer" /> + <label for="show-footer">{{ _('Show Footer') }}</label> + </p> + <p> <input type="checkbox" class="view" id="custom-page" data-field-name="custom-page" /> <label for="custom-page">{{ _('Custom information sheet') }}</label> </p> |
