2012-06-27 23:28:35 +02:00
|
|
|
{% extends "base.html" %}
|
2016-07-14 19:29:15 +02:00
|
|
|
{% load bootstrap %}
|
2012-06-27 23:28:35 +02:00
|
|
|
|
|
|
|
{% block content %}
|
2016-07-14 19:29:15 +02:00
|
|
|
<div id="main-login-container" class="container">
|
|
|
|
<div class="row row-centered">
|
|
|
|
<div class="col-xs-10 col-sm-8 col-md-5 col-centered">
|
|
|
|
<header>
|
|
|
|
<div class="banner">
|
|
|
|
<h1>GestioCOF – Connexion</h1>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
<div id="main-login" class="login_block">
|
|
|
|
{% if form.errors %}
|
|
|
|
<p class="error">Identifiants incorrects.</p>
|
|
|
|
{% endif %}
|
2016-07-29 12:48:03 +02:00
|
|
|
<form class="form-horizontal" method="post"
|
2017-11-19 18:41:39 +01:00
|
|
|
action="{% url 'ext_login_view' %}?next={{ next|urlencode }}">
|
2016-07-14 19:29:15 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
<div class="form-group">
|
|
|
|
<input class="form-control" id="id_username" maxlength="254" name="username" type="text" placeholder="Nom d'utilisateur">
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<input class="form-control" id="id_password" name="password" type="password" placeholder="Mot de passe">
|
|
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" name="submit" class="btn btn-primary " value="Se Connecter" />
|
|
|
|
<input type="hidden" name="next" value="{{ next }}" />
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2012-06-27 23:28:35 +02:00
|
|
|
</div>
|
2016-07-14 19:29:15 +02:00
|
|
|
</div><!-- /.row -->
|
2012-06-27 23:28:35 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|