X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=templates%2Findex.html;h=7d368cbdf79dadd03a95ab5dc7c1bf19b45208da;hp=1e21948ac28efae8de258fa7bc95dc679356a6fd;hb=739ca49e93d7bf534bfc401633a612e16ff19bc6;hpb=60f70685c69980bb9f458e4a65efd4cc54cd60f8 diff --git a/templates/index.html b/templates/index.html index 1e21948..7d368cb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,41 +1,30 @@ - - - - - {{ title }} - - - - -
- -
- {% if user.is_admin %} - admin - {% endif %} -
-
- {% 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 %} -

Log Out

- {% endif %} -
-
- - +{% 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