diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2014-04-27 22:37:27 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2014-04-27 22:37:27 -0400 |
| commit | b72917e5f9cab2c0136d060358ab1991b4f7b898 (patch) | |
| tree | 0ee6233bd169da5a812cbca2f5d8541c31d24959 /templates/login.html | |
| parent | 2d250176d0f892406b583327ad9c0a91451f3b19 (diff) | |
| download | famille-flask-b72917e5f9cab2c0136d060358ab1991b4f7b898.tar.gz | |
wip: c'est complètement cassé pour l'instant
Diffstat (limited to 'templates/login.html')
| -rw-r--r-- | templates/login.html | 18 |
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 %} |
