From 084c5555f21a6e927e4de98fdb66c4c408626f58 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Fri, 30 Mar 2018 20:37:11 -0400 Subject: print through web browser (#127) * spawn a web server and open a printable view of the design in the user's web browser * configurable inclusion of client and operator views * editable fields for color names, client, title, and purchase order number * groundwork laid to save these parameters back into the SVG * major refactor of codebase to support printing * code is organized logically into modules * added inkstitch logo and branding guidelines * l10n text extraction now handled by babel * removed legacy embroider_update extension * partial fix for #125 --- print/templates/index.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 print/templates/index.html (limited to 'print/templates/index.html') diff --git a/print/templates/index.html b/print/templates/index.html new file mode 100644 index 00000000..21ca74ab --- /dev/null +++ b/print/templates/index.html @@ -0,0 +1,32 @@ + + + + Ink/Stitch Print Preview + + + + + + {% include 'ui.html' %} + +{# client overview #} +
{% include 'print_overview.html' %}
+ +{# client detailedview #} + {% set printview = 'detailedview' %} + {% for color_block in color_blocks %} + {% set outer_loop = loop %} +
{% include 'print_detail.html' %}
+ {% endfor %} + +{# operator overview #} +
{% include 'operator_overview.html' %}
+ +{# operator detailed view #} + {% for color_block_part in color_blocks | batch(13) %} + {% set outer_loop = loop %} +
{% include 'operator_detailedview.html' %}
+ {% endfor %} + + + -- cgit v1.3.1