summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-09-23 16:42:00 +0200
committerMilo Casagrande <milo@ubuntu.com>2013-09-23 16:43:22 +0200
commitba71283d06a4ff454e24313f368e1b2091724794 (patch)
tree16cf66717ecd7c2e8a6e89ad16d336aed8d70cf3
parent2b7e9014892da2165548535cec7e295d1ac269f2 (diff)
downloadroadmap-ba71283d06a4ff454e24313f368e1b2091724794.tar.gz
PEP8 fixes, added login template, templates consolidation.
Change-Id: I0d00962a3cf185b681058733f9ee1ef1ec19798c
-rw-r--r--roadmap/templates/roadmap/login.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/roadmap/templates/roadmap/login.html b/roadmap/templates/roadmap/login.html
new file mode 100644
index 0000000..1ef6d16
--- /dev/null
+++ b/roadmap/templates/roadmap/login.html
@@ -0,0 +1,8 @@
+<div class="login_logut">
+{% if request.user.username %}
+ <div class="welcome">Welcome, <b>{{ request.user.username }}!</b></div>
+ <div class="logout"><a href="/logout/">Log-out</a></div>
+{% else %}
+ <div class="login"><a href="accounts/login/">Log-in</a></div>
+{% endif %}
+</div>