]> git.gir.st - subscriptionfeed.git/blob - app/youtube/templates/subscription_manager.html.j2
harmonize layout; headerbar macro
[subscriptionfeed.git] / app / youtube / templates / subscription_manager.html.j2
1 <!DOCTYPE html>
2 <title>Subscription Manager</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 with context %}
7 {{ macros.headerbar() }}
8
9 <h1>Subscription Manager</h1>
10
11 {% include 'messages.inc.j2' %}
12
13 <ul id=submgr>
14 <form method=post>
15 <input class="emoji" type=submit value="&#128221;&#xFE0F;" title="subscribe">{#
16 #}<input name=subscribe placeholder="channel id">
17 </form>
18 {% for row in rows %}
19 <li><form method=post>
20 <input class=emoji type=submit value="&#128465;&#xFE0F;" title="unsubscribe">{#
21 #}<a href="/channel/{{ row.channel_id }}">{{ row.author | e }}</a>
22 {% if row.obsolete %}
23 <abbr style="text-decoration:0" title="websub-subscription not renewed!">&#x1F6D1;&#xFE0F;</abbr>
24 {% endif %}
25 <input type="hidden" name="unsubscribe" value="{{ row.channel_id }}">
26 </form>
27 {% endfor %}
28 </ul>
Imprint / Impressum