aboutsummaryrefslogtreecommitdiffstats
path: root/templates/layout.html
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-11-07 20:23:12 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2012-11-07 20:23:12 -0500
commite5ecbccd2aba5b7ce0c8ab363e2a5502f5c6b8c9 (patch)
treedf558168fcac1e382df1e83dd98e11c1f1d93379 /templates/layout.html
parent101f820153cdb047d13166672d3f46cfef31677d (diff)
downloadfamille-flask-e5ecbccd2aba5b7ce0c8ab363e2a5502f5c6b8c9.tar.gz
Saner layouts
the login page should look fine now.
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html34
1 files changed, 18 insertions, 16 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 @@
<!-- <link rel="alternate" type="application/rss+xml" title="Les actualités" href="rss.xml" /> -->
</head>
<body>
+ {% block body %}
<div class="container">
<div class="sheet">
<div class="top">
- {{ session['user_name']}}
+ {{session['user_name']}}
(<a href="/user/edit">Mon compte</a> | <a href="/logout">Se déconnecter</a>)</p>
- </div>
- <div class="main_menu">
- <table>
- <tr>
- <td><a href="/">Accueil</a></td>
- <td><a href="/article/">Articles</a></td>
- <td><a href="/user/">Famille</a></td>
- <td><a href="/system/">Système</a></td>
- </tr>
- </table>
- </div>
- <div class="main">
- {% block content %}{% endblock %}
- </div>
+ </div>
+ <div class="main_menu">
+ <table>
+ <tr>
+ <td><a href="/">Accueil</a></td>
+ <td><a href="/article/">Articles</a></td>
+ <td><a href="/user/">Famille</a></td>
+ <td><a href="/system/">Système</a></td>
+ </tr>
+ </table>
+ </div>
+ <div class="main">
+ {% block content %}{% endblock %}
</div>
</div>
- </body>
+ </div>
+ {% endblock body %}
+</body>
</html>