]> git.gir.st - subscriptionfeed.git/blob - app/templates/index.html.j2
video card: json button, consistent use of '.advanced' element
[subscriptionfeed.git] / app / templates / index.html.j2
1 <!DOCTYPE html>
2 <title>Subscriptions</title>
3 <link rel="shortcut icon" href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300" fill="%23fff"><circle r="150" cx="150" cy="150" fill="%23f00"/><path d="m120 97v106l93-53"/></svg>'>
4 <link rel="stylesheet" href="/static/style.css">
5
6 {% import 'macros.imp.j2' as macros %}
7
8 <b style=font-size:large>Subscriptions</b><hr>
9
10 <center><div id=main>
11 {% for row in rows %}{#
12 #}{% call macros.card(row.video_id, row.title, row.published|format_date, row.pinned) %}
13 {{ macros.infobar_subscriptions(row.video_id, row.channel_id, row.author) }}
14 {% endcall %}{#
15 #}{% if row.pinned and not rows[loop.index].pinned %}
16 <hr>
17 {% endif %}{#
18 #}{% endfor %}
19 </div></center>
20
21 {% if not rows|length %}no more results{% endif %}
22
23 {% if page > 0 %}
24 <a href="?page={{ page-1 }}&amp;{{ request.query_string.decode() | e }}">newer</a> |
25 {% endif %}
26 {% if rows|length %}
27 <a href="?page={{ page+1 }}&amp;{{ request.query_string.decode() | e }}">older</a>
28 {% endif %}
29
30 <hr><a href="/subscription_manager?{{ request.query_string.decode() | e }}">Manage Subscriptions</a>
31 | <a href="/r/videos">/r/videos</a> | <a href="/r/mealtimevideos">/r/mealtimevideos</a> | <a href="/r/Documentaries">/r/documentaries</a> | <a href="/r/curiousvideos">/r/curiousvideos</a>
Imprint / Impressum