summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-01-24 14:26:15 -0500
committerSimo Sorce <simo@redhat.com>2014-01-24 17:32:21 -0500
commit2fb8bff093e49d95ab25eb8343ebbb1091f6e7a6 (patch)
treedd40e79a3a1239a8605effbc875e62ade800b167 /templates/index.html
parent2b9722213d76306fe6f3b9f2fe157b3459d28e3a (diff)
downloadipsilon-2fb8bff093e49d95ab25eb8343ebbb1091f6e7a6.tar.gz
ipsilon-2fb8bff093e49d95ab25eb8343ebbb1091f6e7a6.tar.xz
ipsilon-2fb8bff093e49d95ab25eb8343ebbb1091f6e7a6.zip
Implement login plugin infrastructure
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index 157c938..c983af2 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -9,7 +9,7 @@
<body>
<div id="container">
<div id="logo">
- <p>Ipsilon</p>
+ <p><a href="{{ basepath }}">Ipsilon</a></p>
</div>
<div id="admin">
{% if user.is_admin %}
@@ -23,7 +23,7 @@
</div>
<div id="content">
{% if not user.name %}
- <p>Please <a href="login">Log In</a>
+ <p>Please <a href="{{ basepath }}/login">Log In</a>
{% elif user.sites %}
<p>Registered application shortcuts:</p>
{% for site in user.sites %}
@@ -31,6 +31,11 @@
{% endfor %}
{% endif %}
</div>
+ <div id="logout">
+ {% if user.name %}
+ <p><a href="{{ basepath }}/logout">Log Out</a></p>
+ {% endif %}
+ </div>
</div>
</body>
</html>