aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 136c66d..a394d69 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,6 +7,20 @@
7 <meta name="viewport" content="width=device-width"> 7 <meta name="viewport" content="width=device-width">
8 </head> 8 </head>
9 <body> 9 <body>
10 <ul>
11 <li><a href="{% url 'home' %}">Home</a></li>
12 <li><a href="{% url 'contact:form' %}">Contact Us</a></li>
13 {% if user.is_staff %}
14 <li><a href="{% url 'admin:index' %}">Admin Area</a></li>
15 {% endif %}
16 {% if user.is_authenticated %}
17 <li><a href="{% url 'account:profile' %}">{{ user.username }}'s profile</a></li>
18 <li><a href="{% url 'auth:logout' %}">Logout ({{ user.username }})</a></li>
19 {% else %}
20 <li><a href="{% url 'auth:login' %}">Login</a></li>
21 <li><a href="{% url 'account:create' %}">Register</a></li>
22 {% endif %}
23 </ul>
10 {% block content %} 24 {% block content %}
11 {% endblock %} 25 {% endblock %}
12 </body> 26 </body>