X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Flayout.html;h=321610b84648c5b09fb919f73963812d3d0220f5;hb=1dfbd755dae26562b182d81f8818c5c3dcc6694b;hp=4b8b3e6ef02db28fd71c65d793dddb4d2834ee3a;hpb=f0f55b9ffa8eb40cd2b6e41c47a36993a76d0ce3;p=cavote.git diff --git a/templates/layout.html b/templates/layout.html index 4b8b3e6..321610b 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -8,28 +8,69 @@ --> + - + + +
-
- {% if not session.logged_in %} - log in - {% else %} - log out - {% endif %} + +
+
+
+ Accueil + Votes en cours + Archives + {% if session.user and session.user.is_admin %} + Admin + + {% endif %} +
+
+ {% if 'user' in session %} + {{ session.user.name }} + + + {% else %} + Connexion + {% endif %} +
-

Outil de vote du CA FFDN

-{% with messages = get_flashed_messages() %} +
+ +

Outil de vote du CA FFDN {% block subtitle %}{% endblock %}

+{% with messages = get_flashed_messages(with_categories="true") %} {% if messages %} - {% endif %} {% endwith %} + +
{% block body %}{% endblock %} -
- +
+ +
+ + + +