You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
HTML
{% import "macros.htm" as macros %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
{% set title = collection_list | length | string + " Collections known" %}
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>{{ title }}</title>
|
|
{{ macros.shared_style() }}
|
|
</head>
|
|
<body>
|
|
<h1>{{ title }}</h1>
|
|
<table>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Date</th>
|
|
<th>Count</th>
|
|
<th>Watched</th>
|
|
<th>To Watch</th>
|
|
</tr>
|
|
{% for collection in collection_list %}
|
|
{% set stats = collection.stats %}
|
|
<tr>
|
|
<td><a href="{{ collection.info_link }}">{{ collection.title }}</a></td>
|
|
<td>
|
|
{% if collection.release_date %}
|
|
{{ collection.release_date.strftime("%d.%m.%Y") }}
|
|
{% else %}
|
|
unknown
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ stats.full_count }}</td>
|
|
<td>{{ stats.watched_count }}</td>
|
|
<td>{{ stats.to_watch_count }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</body>
|
|
</html>
|