diff options
Diffstat (limited to 'plugins/warp/src/templates/file.html')
| -rw-r--r-- | plugins/warp/src/templates/file.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/warp/src/templates/file.html b/plugins/warp/src/templates/file.html new file mode 100644 index 00000000..7ea465ef --- /dev/null +++ b/plugins/warp/src/templates/file.html @@ -0,0 +1,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>
\ No newline at end of file |
