summaryrefslogtreecommitdiff
path: root/print/templates
diff options
context:
space:
mode:
authorcole <cole.d.vick@gmail.com>2022-09-30 14:14:59 -0500
committerKaalleen <reni@allenka.de>2022-10-15 16:54:53 +0200
commitd4720ceb9bf4e8789d5aadc0bdac73750e0e0e51 (patch)
treeea5baae692dcdecad6654b8147cf6a8b0ff87d0d /print/templates
parentff05e24696a1ddeea415594f6f447d6055045de2 (diff)
add footer toggle
Diffstat (limited to 'print/templates')
-rw-r--r--print/templates/full_page_pattern.html5
-rw-r--r--print/templates/ui.html4
2 files changed, 9 insertions, 0 deletions
diff --git a/print/templates/full_page_pattern.html b/print/templates/full_page_pattern.html
index bf0e84c4..f8bd3c5e 100644
--- a/print/templates/full_page_pattern.html
+++ b/print/templates/full_page_pattern.html
@@ -10,3 +10,8 @@
{% 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/ui.html b/print/templates/ui.html
index b6999b57..f1dd9c12 100644
--- a/print/templates/ui.html
+++ b/print/templates/ui.html
@@ -58,6 +58,10 @@
<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>
+ <input type="checkbox" class="view" id="show-footer" data-field-name="show-footer" />
+ <label for="show-footer">{{ _('Show Footer') }}</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>