summaryrefslogtreecommitdiff
path: root/print/templates/index.html
blob: c7fa5d745f92b11ca71650b07ff61234b19eb8d2 (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
<!DOCTYPE html>
<html>
<head>
    <title>Ink/Stitch Print Preview</title>
    <script src="resources/jquery-3.3.1.min.js"></script>
    <script src="resources/inkstitch.js"></script>
    <link rel="stylesheet" href="resources/style.css" />
    <link rel="shortcut icon" type="image/png" href="/favicon.png"/>
</head>
<body>
    {% include 'ui.html' %}
    
{# client overview #}    
        <div class="page client-overview" style="display: {{ 'block' if view.client_overview else 'none' }}">{% include 'print_overview.html' %}</div>
        
{# client detailedview #}    
        {% set printview = 'detailedview' %}
        {% for color_block in color_blocks %}
            {% set outer_loop = loop %}
            <div class="page client-detailedview" style="display: {{ 'block' if view.client_detailedview else 'none' }}">{% include 'print_detail.html' %}</div>
        {% endfor %}

{# operator overview #}    
        <div class="page operator-overview" style="display: {{ 'block' if view.operator_overview else 'none' }}">{% include 'operator_overview.html' %}</div>
    
{# operator detailed view #}
        {% include 'operator_detailedview.html' %}

</body>
</html>