aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/login.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/login.html b/templates/login.html
index 5e2af32..f0de980 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -2,32 +2,32 @@
{%block title %}Connexion{% endblock %}
{% block body %}
<div class="row login">
- <div class="col-md-offset-4 col-md-6">
<form id = "connection" action="{{ url_for('login') }}" role="form"
class="form-horizontal" method="post">
- <h4>Connexion</h4>
+ <h4 class="form-control-static col-md-offset-4">Connexion</h4>
<div class="form-group">
- <label for="name" class="col-md-2">Nom : </label>
- <div class="col-md-4">
+ <label for="name" class="col-md-4 control-label">Nom :</label>
+ <div class="col-md-8">
<input type="text" id="name" class="form-control"
name="username" placeholder="Prénom"/>
</div>
</div>
<div class="form-group">
- <label for="password" class="col-md-2">Mot de passe : </label>
- <div class="col-md-4">
+ <label for="password" class="col-md-4 control-label">Mot de passe :</label>
+ <div class="col-md-8">
<input type="password" id="password" class="form-control"
name="password" placeholder="Mot de passe"/>
</div>
</div>
- <div class="col-md-offset-2">
- <button type="submit" class="btn btn-primary" name="login">
- Se Connecter
- </button>
+ <div class="form-group">
+ <div class="col-md-offset-4 col-md-8">
+ <button type="submit" class="btn btn-primary" name="login">
+ Se Connecter
+ </button>
+ </div>
</div>
{% if error %}
- <p class=error><strong>Erreur:</strong> {{ error }}</p>{% endif %}
+ <p class=error><strong>Erreur :</strong> {{ error }}</p>{% endif %}
</form>
- </div>
</div>
{% endblock %}