diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2018-03-30 20:37:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-30 20:37:11 -0400 |
| commit | 084c5555f21a6e927e4de98fdb66c4c408626f58 (patch) | |
| tree | 91e2da4493f4dcc5243114d3f73296b4a0166543 /print/templates/operator_overview.html | |
| parent | 1279b3ec47fa9c7eb6540e255b67389644fb0b38 (diff) | |
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
Diffstat (limited to 'print/templates/operator_overview.html')
| -rw-r--r-- | print/templates/operator_overview.html | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ + <header> + {% include 'headline.html' %} + <div class="job-details"> + <div> + <div class="table"> + <p><span>{{ _('Unique Colors') }}:</span><span>{{ job.num_colors }}</span></p> + <p><span>{{ _('Color Blocks') }}:</span><span>{{ job.num_color_blocks }}</span></p> + <p><span>{{ _('Total nr stops') }}:</span><span>{{ job.num_stops }}</span></p> + <p><span>{{ _('Total nr trims') }}:</span><span>{{ job.num_trims }}</span></p> + </div> + </div> + <div> + <div class="table"> + <p><span>{{ _('Design box size') }}:</span><span>{{ job.dimensions }}</span></p> + <p><span>{{ _('Total stitch count') }}:</span><span>{{job.num_stitches }}</span></p> + <p><span>{{ _('Total thread used') }}:</span><span>{{job.estimated_thread }}</span></p> + </div> + </div> + <div> + <div class="table"> + <p><span>{{ _('Job estimated time') }}:</span></p> + <p><span>{{ job.estimated_time }}</span></p> + </div> + </div> + </div> + </header> + <main> + <figure class="inksimulation operator" style="height: 210mm;"> + {{ svg_overview|safe }} + <figcaption>{{ _('Scale') }} <span>{{ svg_scale }}</span></figcaption> + </figure> + </main> + {% include 'footer.html' %} |
