From 3da927e56c24379428b35c2ba07d4acd9305ce98 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 4 Jun 2016 13:05:23 +0200 Subject: implement user management --- templates/index.html | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 79609f8..1a47405 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,7 +11,53 @@
-

Lehrersprüche

+
+
+

Lehrersprüche

+
+
+ {% if user.loggedin %} +
+
+

{{ user.name }}

+
+
+
+ + +
+
+
+ {% else %} +
+ +
+ + +
+
+ + +
+
+ +
+
+ +
+
+ {% endif %} + {% with msgs = get_flashed_messages() %} + {% if msgs %} +
+ {% for msg in msgs %} +

{{ msg }}

+ {% endfor %} +
+ {% endif %} + {% endwith %} +
+
{% for joke in jokes %}
-- cgit v1.3.1