2012-07-08 16:23:39 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Dynastie</title>
|
2014-03-16 19:36:39 +01:00
|
|
|
<link rel="icon" type="image/png" href="{{ STATIC_URL }}images/favicon.png" />
|
2012-07-08 16:23:39 +02:00
|
|
|
<style type="text/css">
|
|
|
|
div.logo {
|
|
|
|
margin-top:2%;
|
|
|
|
margin-bottom:5%;
|
|
|
|
margin-left:auto;
|
|
|
|
margin-right:auto;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.form {
|
|
|
|
margin-left:40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#login_failed {
|
|
|
|
color:red;
|
|
|
|
font-weight:bold;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="logo">
|
2014-03-16 18:55:50 +01:00
|
|
|
<a href="http://indefero.soutade.fr/p/dynastie"><img src="{{ STATIC_URL }}images/logo.png"/></a>
|
2012-07-08 16:23:39 +02:00
|
|
|
</div>
|
|
|
|
<div class="form">
|
2012-12-24 15:43:33 +01:00
|
|
|
<form method="post" action="/index">
|
2012-07-08 16:23:39 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
{% if login_failed %} <p id="login_failed">Login or password is invalid</p> {% endif %}
|
|
|
|
<table>
|
|
|
|
<tr><td>Login</td><td><input type="text" name="login"/></td></tr>
|
|
|
|
<tr><td>Password</td><td><input id="password" type="password" name="password"/></td></tr>
|
|
|
|
<tr><td/><td><input type="submit" value="Connect"/></td></tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|