summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorromangraef <roman.graef@gmail.com>2018-06-01 15:49:55 +0200
committerromangraef <roman.graef@gmail.com>2018-06-01 15:49:55 +0200
commit7bed1685b66f126b7130e43304ad8f53f69a3aff (patch)
treef7a12a3f722bc48d0e03f08aa574b4966ba960f4 /templates/base.html
parenta4717724853ce92888c8aa6c082a25428e00720b (diff)
downloadmy-website-7bed1685b66f126b7130e43304ad8f53f69a3aff.tar.gz
my-website-7bed1685b66f126b7130e43304ad8f53f69a3aff.tar.bz2
my-website-7bed1685b66f126b7130e43304ad8f53f69a3aff.zip
Enhanced editing and a bnit of more admin links.
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