forked from DGNum/gestioCOF
b0b0542407
- Deprecation warnings using Django 1.8 are resolved. - Deprecation warnings using Django 1.11 are resolved. - Admin: grappelli is no longer used. - Upgrade to django-autocomplete-light v3 (v2 is not 1.11 compatible). * autocomplete.modelform_factory being dropped, code uses dal Select2 views and widgets.
36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% load bootstrap %}
|
|
|
|
{% block content %}
|
|
<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 %}
|
|
<form class="form-horizontal" method="post"
|
|
action="{% url 'ext_login_view' %}?next={{ next|urlencode }}">
|
|
{% 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>
|
|
</div>
|
|
</div><!-- /.row -->
|
|
</div>
|
|
|
|
{% endblock %}
|