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.
44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
HTML
{% import "macros.htm" as macros %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
{% set title = "Last " + media_list | length | string + " Videos to watch" %}
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>{{ title }}</title>
|
|
{{ macros.shared_style() }}
|
|
</head>
|
|
<body>
|
|
<h1>{{ title }}</h1>
|
|
<table>
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Progress</th>
|
|
<th>To Watch</th>
|
|
<th>Actions</th>
|
|
<th>Title</th>
|
|
</tr>
|
|
{% for media in media_list %}
|
|
<tr>
|
|
<td>{{ media.release_date.strftime("%d.%m.%Y") }}</td>
|
|
<td>
|
|
{% if media.watched %}
|
|
completed
|
|
{% elif media.progress <= 0 %}
|
|
not started
|
|
{% else %}
|
|
{{ media.progress }} s
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{{ media.left_length | timedelta }}
|
|
</td>
|
|
<td>
|
|
{{ macros.media_element_buttons(media) }}
|
|
</td>
|
|
<td><a href="{{ media.info_link }}">{{ media.title }}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</body>
|
|
</html>
|