summaryrefslogtreecommitdiff
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 99a419b..9f45c87 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -16,5 +16,19 @@
No content found. THIS IS AN ERROR
{% endblock %}
</div>
+<div class="footer">
+ <a href="/">Home</a>
+ &bullet;
+ {% if admin %}
+ <a href="{{ url_for('logout') }}">Admin logout</a>
+ &bullet;
+ <a href="{{ url_for('new_project_form') }}">New Project</a>
+ {% block admin_footer %}{% endblock %}
+ {% else %}
+ <a href="{{ url_for('login') }}">Admin login</a>
+ {% endif %}
+ {% block footer %}
+ {% endblock %}
+</div>
</body>
</html> \ No newline at end of file