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

{{ _('Unique Colors') }}:{{ job.num_colors }}

+

{{ _('Color Blocks') }}:{{ job.num_color_blocks }}

+

{{ _('Total nr stops') }}:{{ job.num_stops }}

+

{{ _('Total nr trims') }}:{{ job.num_trims }}

+
+
+
+
+

{{ _('Design box size') }}:{{ job.dimensions }}

+

{{ _('Total stitch count') }}:{{job.num_stitches }}

+

{{ _('Total thread used') }}:{{job.estimated_thread }}

+
+
+
+
+

{{ _('Job estimated time') }}:

+

{{ job.estimated_time }}

+
+
+
+
+
+
+ {{ svg_overview|safe }} +
{{ _('Scale') }} {{ svg_scale }}
+
+
+ {% include 'footer.html' %} -- cgit v1.2.3