X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=templates%2Findex.html;h=7d368cbdf79dadd03a95ab5dc7c1bf19b45208da;hp=b38d105ae90a651e470a84678c4e4b546b8a761d;hb=0d81fcba2c57e9dfb2d55bbbcc1dfff3aaae25bd;hpb=1e97d03807bd893152bf2cbd0f20102af9c8f80d diff --git a/templates/index.html b/templates/index.html index b38d105..7d368cb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,36 +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 %} -
-
- - +{% 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