]> git.gir.st - subscriptionfeed.git/blob - app/templates/login.html.j2
Merge branch 'flask_login'
[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 %}
7
8 <b style=font-size:large>Log In or Sign Up</b><hr>
9
10 {% include 'messages.inc.j2' %}
11
12 <div id=main>
13 {% if current_user.is_authenticated %}
14 <form method=POST>
15 <button name=action value="logout">log out</button>
16 </form>
17 {% else %}
18 <form method=POST>
19 <label>User:<input name=user></label><br>
20 <label>Password:<input name=password></label><br>
21 <label>Remember me: <input type=checkbox name=remember checked></label><br>
22 <button name=action value="login">log in</button>
23 <button name=action value="register">sign up</button>
24 </form>
25 {% endif %}
26 </div>
Imprint / Impressum