summaryrefslogtreecommitdiff
path: root/print/templates
diff options
context:
space:
mode:
authorcole <cole.d.vick@gmail.com>2022-09-30 12:34:00 -0500
committerKaalleen <reni@allenka.de>2022-10-15 16:54:53 +0200
commitff05e24696a1ddeea415594f6f447d6055045de2 (patch)
tree1f74a0cae9e04e8b99c9bdfe00936336b946d9b3 /print/templates
parent10a800531a478cf5524314bca336e00d274c4140 (diff)
change to full-page-patternview
Diffstat (limited to 'print/templates')
-rw-r--r--print/templates/full_page_pattern.html12
-rw-r--r--print/templates/index.html4
-rw-r--r--print/templates/ui.html4
3 files changed, 20 insertions, 0 deletions
diff --git a/print/templates/full_page_pattern.html b/print/templates/full_page_pattern.html
new file mode 100644
index 00000000..bf0e84c4
--- /dev/null
+++ b/print/templates/full_page_pattern.html
@@ -0,0 +1,12 @@
+<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>
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..b6999b57 100644
--- a/print/templates/ui.html
+++ b/print/templates/ui.html
@@ -54,6 +54,10 @@
<input type="checkbox" class="view" id="operator-detailedview" data-field-name="operator-detailedview" CHECKED />
<label for="operator-detailedview">{{ _('Operator Detailed View') }}</label>
</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;">{{ _('Thumbnail size') }}:
<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>