diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2018-10-31 01:06:31 +0100 |
|---|---|---|
| committer | Lex Neva <lexelby@users.noreply.github.com> | 2018-10-30 18:06:31 -0600 |
| commit | 98612eeae37ac5dee611f4607244da7c613c08e9 (patch) | |
| tree | c72bdabe31a5b17e5c994f854266a7165675352f /print/templates/operator_detailedview.html | |
| parent | be833f898ff4912b4f1e54be37e6b8ff3c3f2c42 (diff) | |
Print Estimated Time (#341)
Diffstat (limited to 'print/templates/operator_detailedview.html')
| -rw-r--r-- | print/templates/operator_detailedview.html | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html index ae578d9d..608b3661 100644 --- a/print/templates/operator_detailedview.html +++ b/print/templates/operator_detailedview.html @@ -22,16 +22,17 @@ </p> <p> <span>{{ _('Unique Colors') }}: {{ job.num_colors }}</span> - <span>{{ _('Color Blocks') }}: {{ job.num_color_blocks }}</span> + <span class="num-color-blocks">{{ _('Color Blocks') }}: {{ job.num_color_blocks }}</span> </p> <p> <span>{{ _('Design box size') }}: {{ "%0.1fmm X %0.1fmm" | format(*job.dimensions) }}</span> - <span>{{ _('Total thread used') }}: {{job.estimated_thread }}</span> - <span>{{ _('Total stitch count') }}: {{job.num_stitches }}</span> + <!-- <span>{{ _('Total thread used') }}: {{job.estimated_thread }}</span> --> + <span class="total-num-stitches">{{ _('Total stitch count') }}: {{job.num_stitches }}</span> + <span class="time-opd">{{ ('Estimated time') }}: <span class="total-estimated-time"></span></span> </p> <p> - <span>{{ _('Total stops') }}: {{ job.num_stops }}</span> - <span>{{ _('Total trims') }}: {{ job.num_trims }}</span> + <span class="total-stops">{{ _('Total stops') }}: {{ job.num_stops }}</span> + <span class="total-trims">{{ _('Total trims') }}: {{ job.num_trims }}</span> </p> <p> <span></span> @@ -53,20 +54,22 @@ {{ color_block.svg_preview|safe }} </p> <p> - <span data-field-name="color-{{ color_block.color.hex_digits }}" contenteditable="true" data-placeholder="{{ _("Enter thread name...") }}">{{ color_block.color.name }}</span> + <span data-field-name="color-{{ color_block.color.hex_digits }}" contenteditable="true" data-placeholder="{{ _('Enter thread name...') }}">{{ color_block.color.name }}</span> <span>{{ color_block.color.rgb }}</span> <span data-field-name="thread-{{ color_block.color.hex_digits }}" contenteditable="true">{{ color_block.color.manufacturer }} {{ "#" + color_block.color.number if color_block.color.number }}</span> </p> <p> - <span>{{ _('thread used') }}:</span> - <span>{{ _('# stitches') }}: {{ color_block.num_stitches }}</span> + <!-- <span>{{ _('thread used') }}:</span> --> + <span class="num-stitches">{{ _('# stitches') }}: {{ color_block.num_stitches }}</span> + <span class="time-opd">{{ _('estimated time') }}: <span class="estimated-time"></span></span> </p> <p> - <span>{{ _('trims') }}: {{ color_block.num_trims }}</span> + <span class="num-trims">{{ _('trims') }}: {{ color_block.num_trims }}</span> <span>{{ _('stop after?') }}: {{ _("yes") if color_block.stop_after else _("no") }}</span> + <input type="hidden" class="num-stops" value="{{ '1' if color_block.stop_after else '0' }}" /> </p> <p> - <span class="notes" contenteditable="true" data-field-name="operator-notes-block{{ loop.index }}" data-placeholder="{{ _("Enter operator notes...") }}"></span> + <span class="notes" contenteditable="true" data-field-name="operator-notes-block{{ loop.index }}" data-placeholder="{{ _('Enter operator notes...') }}"></span> </p> </div> {% endfor %} |
