diff options
author | Simo Sorce <simo@redhat.com> | 2013-12-12 14:21:41 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-12-18 23:05:57 -0500 |
commit | 1e97d03807bd893152bf2cbd0f20102af9c8f80d (patch) | |
tree | bd2e6e483d800edc8d9c4db596a46b18e6da2d8b /templates/index.html | |
parent | 29d8f5eca90bcca199d7ad84f9934f3f24eed906 (diff) | |
download | ipsilon-1e97d03807bd893152bf2cbd0f20102af9c8f80d.tar.gz ipsilon-1e97d03807bd893152bf2cbd0f20102af9c8f80d.tar.xz ipsilon-1e97d03807bd893152bf2cbd0f20102af9c8f80d.zip |
Initial user preferences infrastructure
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 27 |
1 files changed, 20 insertions, 7 deletions
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 @@ </head> <body> <div id="container"> - <div id="background"> - <div id="background-header"></div> - <div id="background-navigation"></div> - <div id="background-left"></div> - <div id="background-center"></div> - <div id="background-right"></div> + <div id="logo"> + <p>Ipsilon</p> + </div> + <div id="admin"> + {% if user.is_admin %} + <a href="admin">admin</a> + {% endif %} + </div> + <div id="welcome"> + {% if user.name %} + <p>Welcome {{ user.fullname }}</p> + {% endif %} </div> <div id="content"> - <p>{{ content }}</p> + {% if not user.name %} + <p>Please <a href="login">Log In</a> + {% elif user.sites %} + <p>Registered application shortcuts:</p> + {% for site in user.sites %} + <p><a href="{{ site.link }}">{{ site.name }}</a></p> + {% endfor %} + {% endif %} </div> </div> </body> |