]> git.gir.st - subscriptionfeed.git/blob - app/templates/login.html.j2
move test instance to subscriptions.gir.st:443
[subscriptionfeed.git] / app / templates / login.html.j2
1 <!DOCTYPE html>
2 <title>Log In or Sign Up</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
8 {{ macros.headerbar() }}
9
10 <h1>Log In or Sign Up</h1>
11
12 {% include 'messages.inc.j2' %}
13
14 <article>
15 {% if current_user.is_authenticated %}
16 <form method=POST>
17 <button name=action value="logout">log out</button>
18 </form>
19 {% else %}
20 <form method=POST>
21 <label>User:<input name=user></label><br>
22 <label>Password:<input name=password></label><br>
23 <label>Remember me: <input type=checkbox name=remember checked></label><br>
24 <button name=action value="login">log in</button>
25 <button name=action value="register">sign up</button>
26 </form>
27 {% endif %}
28 </article>
Imprint / Impressum