summaryrefslogtreecommitdiff
path: root/print/templates/print_overview.html
blob: b42ab7a99b64c1d3b705e55bc57f2a89d865f7b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
        <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>{{ "%0.1fmm X %0.1fmm" | format(*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 class="client-overview-main">
            <figure class="inksimulation" data-field-name="client-overview-transform" title="{{ _('Ctrl + Scroll to Zoom') }}">
                {{ svg_overview|safe }}
                <figcaption>{{ _('Scale') }} <span class="scale" data-field-name="svg-scale" contenteditable="true" data-placeholder=""></span>%</figcaption>
                <div>
                  <button class="svg-fit">Fit</button>
                  <button class="svg-full">100%</button>
                  <button class="svg-apply">Apply to all</button>
                  <button class="svg-realistic">
                    <input type="checkbox" id="realistic-client-overview" data-field-name="overview" class="realistic" />
                    <label for="realistic-client-overview" class="realistic">Realistic</label>
                  </button>
                </div>
            </figure>

            <div class="color-palette">
                {% for color_block in color_blocks %}
                    {% include 'color_swatch.html' %}
                {% endfor %}

            </div>
            <div class="signature">{{ _('Client Signature') }}</div>
        </main>

        {% include 'footer.html' %}