X-Git-Url: https://git.heureux-cyclage.org/3E?a=blobdiff_plain;f=templates%2Flayout.html;h=e3f83725bab97f00112f05563568a7f1a14ae711;hb=00a6f73a96b004e9323779ab42fa0eb435be12dd;hp=9ef9b60c7b6ff12a86174165540a99022a014d08;hpb=2e581ec97eecc1d5d7f6590fa5edce2fadc966f2;p=cavote.git diff --git a/templates/layout.html b/templates/layout.html index 9ef9b60..e3f8372 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -11,25 +11,60 @@ - + + +
-
- {% if not session.logged_in %} - log in - {% else %} - log out - {% endif %} + +
+
+
+ Accueil + Votes en cours + Archives + {% if session.is_admin %} + Admin + + {% endif %} +
+
+ {% if 'userid' in session %} + {{ session.username }} + + + {% else %} + Connexion + {% endif %} +
-

votes

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

Outil de vote du CA FFDN

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