summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-06-12 18:35:33 -0400
committerAamir Khan <syst3m.w0rm@gmail.com>2012-06-12 18:35:33 -0400
commitaa668e6980577024a504ddbc519a522ba1294199 (patch)
tree9db939b617ca9691e0583f435f44aa0a65714a3f /templates/base.html
parent0248b6f39ea92151ea73321d830172e8c0d9f575 (diff)
Login authentication
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 233d81b..d16564b 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -42,6 +42,8 @@
{% block userlinks %}{% endblock %}
</ul>
</div>
+ <li><a class="mm_logout" href="{% url user_logout %}">Logout</a>
+ {% else %}<li><a class="mm_user" href="{% url user_login %}">Login</a></li>
{% endif %}
{% endblock %}
@@ -84,6 +86,7 @@
{% block content %}
{% endblock %}
</div>
-
+ {% block additionaljs %}
+ {% endblock %}
</body>
</html>