Denote/denote/templates/login.html

37 lines
1.2 KiB
HTML
Raw Normal View History

2015-09-24 18:31:03 +02:00
<html>
<head>
<title>Dénote</title>
<link rel="icon" type="image/png" href="{{ STATIC_URL }}images/favicon.png" />
<link href="{{ STATIC_URL }}css/denote.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
div.form {
margin-left:40%;
}
#login_failed {
color:red;
font-weight:bold;
}
</style>
</head>
<body>
<div class="logo">
<a href="http://indefero.soutade.fr/p/denote"><img src="{{ STATIC_URL }}images/denote_logo.png"/></a>
</div>
<div class="form">
<form method="post" action="/index">
{% csrf_token %}
{% if login_failed %} <p id="login_failed">Login or password is invalid</p> {% endif %}
<table>
2015-11-08 14:55:22 +01:00
<tr><td>Login</td><td><input type="text" name="login" autofocus/></td></tr>
2015-09-24 18:31:03 +02:00
<tr><td>Password</td><td><input id="password" type="password" name="password"/></td></tr>
<tr><td/><td><input type="submit" value="Connect"/></td></tr>
2015-11-08 14:55:22 +01:00
<tr><td/><td><a href="/user/add">Create an account</a><br/>({{ nb_people_registered }} people(s) registered)</td></tr>
2016-06-14 11:28:37 +02:00
<tr><td></td><td></td></tr>
<tr><td></td><td><a href="/public_notes">Public notes</a></td></tr>
2015-09-24 18:31:03 +02:00
</table>
</form>
</div>
</body>
</html>