diff options
author | romangraef <roman.graef@gmail.com> | 2018-06-01 15:49:55 +0200 |
---|---|---|
committer | romangraef <roman.graef@gmail.com> | 2018-06-01 15:49:55 +0200 |
commit | 7bed1685b66f126b7130e43304ad8f53f69a3aff (patch) | |
tree | f7a12a3f722bc48d0e03f08aa574b4966ba960f4 /templates/base.html | |
parent | a4717724853ce92888c8aa6c082a25428e00720b (diff) | |
download | my-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.html | 14 |
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> + • + {% if admin %} + <a href="{{ url_for('logout') }}">Admin logout</a> + • + <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 |