From 1e97d03807bd893152bf2cbd0f20102af9c8f80d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 12 Dec 2013 14:21:41 -0500 Subject: Initial user preferences infrastructure Signed-off-by: Simo Sorce --- templates/index.html | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index 230edc7..b38d105 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,15 +8,28 @@
-
-
-
-
-
-
+ +
+ {% if user.is_admin %} + admin + {% endif %} +
+
+ {% if user.name %} +

Welcome {{ user.fullname }}

+ {% endif %}
-

{{ content }}

+ {% if not user.name %} +

Please Log In + {% elif user.sites %} +

Registered application shortcuts:

+ {% for site in user.sites %} +

{{ site.name }}

+ {% endfor %} + {% endif %}
-- cgit