From e5ecbccd2aba5b7ce0c8ab363e2a5502f5c6b8c9 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Wed, 7 Nov 2012 20:23:12 -0500 Subject: Saner layouts the login page should look fine now. --- templates/layout.html | 34 ++++++++++++++++++---------------- templates/login.html | 7 +++---- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index f5a5395..39e00a8 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -7,26 +7,28 @@ + {% block body %}
- {{ session['user_name']}} + {{session['user_name']}} (Mon compte | Se déconnecter)

-
- -
- {% block content %}{% endblock %} -
+
+ +
+ {% block content %}{% endblock %}
- + + {% endblock body %} + diff --git a/templates/login.html b/templates/login.html index d1b94ee..d2bb8cb 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,8 +1,6 @@ {% extends "layout.html" %} -{% block content %} - -

Login

-{% if error %}

Error: {{ error }}{% endif %} +{%block title %}Connexion{% endblock %} +{% block body %}

Connexion @@ -13,5 +11,6 @@

+ {% if error %}

Erreur: {{ error }}

{% endif %} {% endblock %} -- cgit v1.2.3-70-g09d2