summaryrefslogtreecommitdiff
path: root/plugins/warp/src/templates/file.html
blob: 7ea465ef3f1228b1d1b352f03916006c2cfc826f (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
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ title }}</title>
</head>
<body>
<h1>{{ title }}</h1>

{% for chunk in chunks %}
<section>
    <h2>{{ chunk.title }}</h2>
    <p>Target: {{ chunk.target }}</p>
    <p>Total items: {{ chunk.total_item_count }}</p>

    <table>
        <thead>
        <tr>
            <th>GUID</th>
            <th>Name</th>
            <th>Note</th>
        </tr>
        </thead>
        <tbody>
        {% for item in chunk.item_view %}
        <tr>
            <td>{{ item.guid }}</td>
            <td>{{ item.name or 'N/A' }}</td>
            <td>{{ item.note or 'N/A' }}</td>
        </tr>
        {% endfor %}
        </tbody>
    </table>
</section>
{% endfor %}
</body>
</html>