Commit 61c48e9e authored by Gabriel Detraz's avatar Gabriel Detraz

Mise aux normes du login html

parent cde61740
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Cr@ns Intranet</title>
<link rel="stylesheet" type="text/css" href="/static/css/login.css"/>
</head>
<body>
<h1>Bienvenue sur Cr@ns Intranet</h1>
<div class="block">
<img src="/static/img/logo_crans.png" alt="Logo Cr@ns" height="98px"/>
{% extends "template.html" %}
{% block title %}Crans intranet{% endblock %}
{% block h1 %}<h1>Bienvenue sur Cr@ns Intranet</h1>{% endblock %}
{% block content %}
<h2>Connexion</h2>
{% if form.errors %}
<div id="message">Your username and password didn't match. Please try again.</div>
{% endif %}
<form method="post" action="/login">{% csrf_token %}
<form class="form-full-width" method="post" action="/login">{% csrf_token %}
<div class="row">
<div class="four columns">
{{ form.username.label_tag }}
{{ form.username }}
<br/>
{{ form.password.label_tag }}
{{ form.password }}
<br/>
<input type="hidden" name="next" value="{{ next }}" />
<div class="liens">
<input type="submit" value="Login" id="bouton" />
<br/>
<a href="https://wiki.crans.org/CransPratique/J'aiPerduMonMotDePasse">J'ai oubli&eacute; mon mot de passe.</a>
<input class="button-add" type="submit" value="Login"/>
<a class="button-cancel" href="https://wiki.crans.org/CransPratique/J'aiPerduMonMotDePasse">J'ai oubli&eacute; mon mot de passe.</a>
</div>
</form>
</div>
<hr />
<div id="mainFooter">
<footer>
<h2>Pour plus d'informations</h2>
<div class="row">
<ul>
<li><a href="http://www.crans.org/">Site du cr@ns</a></li>
<li><a href="http://wiki.crans.org/">wiki</a><br /></li>
<li><a href="http://wiki.crans.org/ContactsCrans">Contact Cr@ns</a><br /></li>
<a class="button" href="http://www.crans.org/">Site du cr@ns</a>
<a class="button" href="http://wiki.crans.org/">wiki</a>
<a class="button" href="http://wiki.crans.org/ContactsCrans">Contact Cr@ns</a>
</ul>
</div>
</footer>
</form>
</body>
</html>
{% endblock content %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment