29 lines
806 B
HTML
29 lines
806 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
{% for video in videos %}
|
|
<a href="/video?id={{video.id}}">
|
|
<div class="video">
|
|
<div class="preview">
|
|
<img src="{{video.preview_path}}" alt="">
|
|
</div>
|
|
{% if video.title %}
|
|
<h3>{{video.title}}</h3>
|
|
<small>{{video.date}}</small>
|
|
{% else %}
|
|
<h3>{{video.filename}}</h3>
|
|
{% endif %}
|
|
</div>
|
|
</a>
|
|
|
|
{% endfor %}
|
|
</div>
|
|
</body>
|
|
</html> |