1 | <html>␊ |
2 | <head>␊ |
3 | <title>Dénote</title>␊ |
4 | <link rel="icon" type="image/png" href="{{ STATIC_URL }}images/favicon.png" />␊ |
5 | <link href="{{ STATIC_URL }}css/denote.css" rel="stylesheet" type="text/css"/>␊ |
6 | <style type="text/css">␊ |
7 | div.form {␊ |
8 | margin-left:40%; ␊ |
9 | }␊ |
10 | ␊ |
11 | #login_failed {␊ |
12 | color:red;␊ |
13 | font-weight:bold;␊ |
14 | }␊ |
15 | </style>␊ |
16 | </head>␊ |
17 | <body>␊ |
18 | <div class="logo">␊ |
19 | <a href="http://indefero.soutade.fr/p/denote"><img src="{{ STATIC_URL }}images/denote_logo.png"/></a>␊ |
20 | </div>␊ |
21 | <div class="form">␊ |
22 | <form method="post" action="/index">␊ |
23 | ␉{% csrf_token %}␊ |
24 | {% if login_failed %} <p id="login_failed">Login or password is invalid</p> {% endif %}␊ |
25 | <table>␊ |
26 | <tr><td>Login</td><td><input type="text" name="login" autofocus/></td></tr>␊ |
27 | <tr><td>Password</td><td><input id="password" type="password" name="password"/></td></tr>␊ |
28 | <tr><td/><td><input type="submit" value="Connect"/></td></tr>␊ |
29 | ␉ <tr><td/><td><a href="/user/add">Create an account</a><br/>({{ nb_people_registered }} people(s) registered)</td></tr>␊ |
30 | ␉ <tr><td></td><td></td></tr>␊ |
31 | ␉ <tr><td></td><td><a href="/public_notes">Public notes</a></td></tr>␊ |
32 | </table>␊ |
33 | </form>␊ |
34 | </div>␊ |
35 | </body>␊ |
36 | </html>␊ |