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/print_detail.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 print/templates/print_detail.html (limited to 'print/templates/print_detail.html') diff --git a/print/templates/print_detail.html b/print/templates/print_detail.html new file mode 100644 index 00000000..18a70bba --- /dev/null +++ b/print/templates/print_detail.html @@ -0,0 +1,28 @@ +
+ {% include 'headline.html' %} +
+
+
+

{{ _('COLOR') }}:{{ color_block.color.thread_name }}

+
+
+
+
+

{{ _('Estimated time') }}:

+

{{ color_block.estimatedtime }}

+
+
+
+
+
+
+ {{color_block.svg_preview|safe}} +
{{ _('Scale') }} {{ svg_scale }}
+
+ +
+ {% include 'color_swatch.html' %} +
+
+ + {% include 'footer.html' %} -- cgit v1.3.1