]> git.gir.st - subscriptionfeed.git/blob - app/reddit/templates/subreddit_manager.html.j2
fix subreddit manager's button styling
[subscriptionfeed.git] / app / reddit / templates / subreddit_manager.html.j2
1 {% extends "base.html.j2" %}
2 {% import 'macros.imp.j2' as macros %}
3
4 {% block title %}Subreddit Manager{% endblock %}
5 {% block favicon %}
6 <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="%23f40"/><path d="m150 80l80 80h-40v40h-80v-40h-40l80-80"/></svg>'>
7 {% endblock %}
8
9 {% block content %}
10 {{ super() }}
11 <ul id=submgr>
12 <form method=post>
13 <label title="subscribe">
14 <input type=submit hidden>
15 <span class="emoji">&#128221;&#xFE0F;</span>
16 </label>
17 <input name=subscribe placeholder="/r/...">
18 </form>
19 {% for subreddit in subreddits %}
20 <li><form method=post>
21 <label title="unsubscribe">
22 <input type=submit hidden>
23 <span class="emoji">&#128465;&#xFE0F;</span>
24 </label>
25 <input type="hidden" name="unsubscribe" value="{{ subreddit }}">
26 </form>
27 <a href="/r/{{ subreddit }}">{{ subreddit | capitalize | e }}</a>
28 {% endfor %}
29 </ul>
30 {% endblock %}
Imprint / Impressum