|
|
|
|
@ -9,6 +9,13 @@
@@ -9,6 +9,13 @@
|
|
|
|
|
<link href="{% static 'fontawesomefree/css/fontawesome.css' %}" rel="stylesheet"> |
|
|
|
|
<link href="{% static 'fontawesomefree/css/brands.css' %}" rel="stylesheet"> |
|
|
|
|
<link href="{% static 'fontawesomefree/css/solid.css' %}" rel="stylesheet"> |
|
|
|
|
<style> |
|
|
|
|
.label { |
|
|
|
|
min-width: 120px !important; |
|
|
|
|
display: inline-block !important; |
|
|
|
|
text-align: right !important; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
</head> |
|
|
|
|
<body class="bg-gradient-primary"> |
|
|
|
|
|
|
|
|
|
@ -22,7 +29,15 @@
@@ -22,7 +29,15 @@
|
|
|
|
|
</div> |
|
|
|
|
<form method="post"> |
|
|
|
|
{% csrf_token %} |
|
|
|
|
{{ form.as_p }} |
|
|
|
|
{{ form.non_field_errors }} |
|
|
|
|
<div class="form-group text-center"> |
|
|
|
|
<label class="label" for="{{ form.username.id_for_label }}">Login :</label> |
|
|
|
|
{{ form.username }} |
|
|
|
|
</div> |
|
|
|
|
<div class="form-group text-center"> |
|
|
|
|
<label class="label" for="{{ form.password.id_for_label }}">Mot de passe :</label> |
|
|
|
|
{{ form.password }} |
|
|
|
|
</div> |
|
|
|
|
<button type="submit" class="btn btn-primary btn-block">Se connecter</button> |
|
|
|
|
</form> |
|
|
|
|
{% if form.errors %} |
|
|
|
|
|