X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=templates%2Findex.html;h=7d368cbdf79dadd03a95ab5dc7c1bf19b45208da;hp=230edc7c95d5d88a2b21cb5ef1900381482f5590;hb=739ca49e93d7bf534bfc401633a612e16ff19bc6;hpb=62e6fff6cf4b5c8a5c33c3143f995d047fe6c384 diff --git a/templates/index.html b/templates/index.html index 230edc7..7d368cb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,23 +1,30 @@ - - - - - {{ title }} - - - - -
-
-
-
-
-
-
-
-
-

{{ content }}

-
-
- - +{% extends "master.html" %} +{% block main %} +
+
+ {% if user.name %} +

Welcome {{ user.fullname }}!

+ {% endif %} +
+
+ {% if not user.name %} +

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

Registered application shortcuts:

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

{{ site.name }}

+ {% endfor %} + {% endif %} +
+
+ {% if user.name %} +

+ {% if user.is_admin %} + Administration | + {% endif %} + Log Out +

+ {% endif %} +
+
+{% endblock %} \ No newline at end of file