summaryrefslogtreecommitdiffstats
path: root/templates/layout.html
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-01-10 20:22:13 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-01-10 22:41:17 +0100
commitf67dbf8b778eb6d7528dd3aaec03d6440478f26d (patch)
tree0b781896e87b049e5d55682c6ebf9689cc548698 /templates/layout.html
parent2cbc41543a085c26809e1284752f072cce22f8bd (diff)
downloadpadlite-teams-f67dbf8b778eb6d7528dd3aaec03d6440478f26d.tar.gz
padlite-teams-f67dbf8b778eb6d7528dd3aaec03d6440478f26d.tar.bz2
padlite-teams-f67dbf8b778eb6d7528dd3aaec03d6440478f26d.zip
Remove admin interface
The admin interface from peewee could not be used with sqlalchemy and flask-admin is not available as debian package, so we drop the admin interface.
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/templates/layout.html b/templates/layout.html
index 4ba5c4a..14b3a14 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -55,10 +55,6 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
{% if current_user.is_authenticated %}
- {% if current_user.admin %}
- <li><a href="{{ url_for('admin.index') }}"><span class="glyphicon glyphicon-dashboard" /> Admin</a></li>
- {% endif %}
-
<li><a href="{{ url_for('logout') }}"><span class="glyphicon glyphicon-log-out" /> Logout</a></li>
{% else %}
<li><a href="{{ url_for('login') }}"><span class="glyphicon glyphicon-log-in" /> Login</a></li>