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/print_detail.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/print_detail.html')
| -rw-r--r-- | print/templates/print_detail.html | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ + <header> + {% include 'headline.html' %} + <div class="job-details"> + <div> + <div class="table"> + <p><span>{{ _('COLOR') }}:</span><span data-field-name="color-{{ color_block.color.hex_digits }}" contenteditable="true" data-placeholder="Enter thread name...">{{ color_block.color.thread_name }}</span></p> + </div> + </div> + <div> + <div class="table"> + <p><span>{{ _('Estimated time') }}:</span></p> + <p><span>{{ color_block.estimatedtime }}</span></p> + </div> + </div> + </div> + </header> + <main> + <figure class="inksimulation"> + {{color_block.svg_preview|safe}} + <figcaption>{{ _('Scale') }} <span>{{ svg_scale }}</span></figcaption> + </figure> + + <div class="color-palette detailed"> + {% include 'color_swatch.html' %} + </div> + </main> + + {% include 'footer.html' %} |
