aboutsummaryrefslogtreecommitdiff
path: root/app/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/base.html')
-rw-r--r--app/templates/base.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
index 8e51695..7713eef 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -24,6 +24,9 @@
{% if current_user.is_anonymous %}
<li><a href="{{ url_for('auth.login') }}">Login</a></li>
{% else %}
+ {% if current_user.is_admin %}
+ <li><a href="/admin" style="color: red;">Admin Panel</a></li>
+ {% endif %}
<li><a href="{{ url_for('auth.logout') }}">Logout</a></li>
{% endif %}
</ul>