aboutsummaryrefslogtreecommitdiffstats
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/templates/login.html b/templates/login.html
index d2bb8cb..3cad5c7 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -1,16 +1,18 @@
{% extends "layout.html" %}
{%block title %}Connexion{% endblock %}
{% block body %}
- <form id = "connection" action="{{ url_for('login') }}" method="post">
+<div style="margin:10em auto;width:200px">
+ <form class="pure-form pure-form-stacked" id = "connection" action="{{ url_for('login') }}" method="post">
<fieldset>
<legend>Connexion</legend>
- <p>
- <label for="name">Nom : </label>
- <input type="text" id="name" name=username /><br/>
- <label for="password">Mot de passe : </label>
- <input type="password" id="password" name=password /><br/>
- </p>
- <p class="submit"><input type="submit" value="Se connecter"/></p>
+ <label for="name">Nom : </label>
+ <input type="text" id="name" placeholder="Prénom" name="username" />
+ <label for="password">Mot de passe : </label>
+ <input type="password" id="password" placeholder="Mot de passe" name="password" />
+ <br/>
+ <button type="submit" class="pure-button pure-button-primary">Se connecter</button>
{% if error %}<p class=error><strong>Erreur:</strong> {{ error }}</p>{% endif %}
+ </fieldset>
</form>
+</div>
{% endblock %}