summaryrefslogtreecommitdiff
path: root/print/templates/operator_detailedview.html
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-04-18 16:29:06 -0400
committerLex Neva <github.com@lexneva.name>2018-04-18 16:29:09 -0400
commitaea5919c63796efd748d724752a86773b79b7c3b (patch)
treec461e4708e18d642f11764c7f49d252e24224cf5 /print/templates/operator_detailedview.html
parent9148d5484462e342ab716a7b4b0859c7c298702a (diff)
add notes in operator detailed view
switch to 12 color blocks per page to give more room for detailed notes
Diffstat (limited to 'print/templates/operator_detailedview.html')
-rw-r--r--print/templates/operator_detailedview.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/templates/operator_detailedview.html b/print/templates/operator_detailedview.html
index 92c3445f..f78028d7 100644
--- a/print/templates/operator_detailedview.html
+++ b/print/templates/operator_detailedview.html
@@ -10,7 +10,7 @@
<p>{{ _('Color') }}</p>
<p>{{ _('Thread Consumption') }}</p>
<p>{{ _('Stops and Trims') }}</p>
- <p>{{ _('Estimated Time') }}</p>
+ <p>{{ _('Notes') }}</p>
</div>
{% if outer_loop.index == 1 %}
<div>
@@ -34,7 +34,7 @@
<span>{{ _('Total nr trims') }}: {{ job.num_trims }}</span>
</p>
<p>
- <span>{{ job.estimated_time }}</span>
+ <span></span>
</p>
</div>
{% endif %}
@@ -45,7 +45,7 @@
<svg xmlns="http://www.w3.org/2000/svg">
<rect fill="rgb{{ color_block.color.rgb }}" width="15mm" height="100%" />
<text fill="rgb{{ color_block.color.font_color }}">
- <tspan x="4mm" y="7.5mm" class="color-index">#{{ loop.index + outer_loop.index0 * 13 }}</tspan>
+ <tspan x="4mm" y="7.5mm" class="color-index">#{{ loop.index + outer_loop.index0 * 12 }}</tspan>
</text>
</svg>
</p>
@@ -65,7 +65,7 @@
<span>{{ _('# trims') }}: {{ color_block.num_trims }}</span>
</p>
<p>
- <span>{{ color_block.estimatedtime }}</span>
+ <span class="notes" contenteditable="true" data-field-name="operator-notes-block{{ loop.index0 + outer_loop.index0 * 12 }}" data-placeholder="{{ _("Enter operator notes...") }}"></span>
</p>
</div>
{% endfor %}