diff options
author | ubq323 <ubq323> | 2021-06-18 20:03:24 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-06-18 20:03:24 +0000 |
commit | fce0869042065365d40ebb9f3093e477cc71df91 (patch) | |
tree | 16a6ebb63dc99c75d472c23a769931806f65fe36 /apioforum/templates | |
parent | d92a07381f0226dd4aa4f5dc63c11e77853634e0 (diff) |
admin page, and link to admin page
Diffstat (limited to 'apioforum/templates')
-rw-r--r-- | apioforum/templates/base.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apioforum/templates/base.html b/apioforum/templates/base.html index 5121b85..aae49e3 100644 --- a/apioforum/templates/base.html +++ b/apioforum/templates/base.html @@ -20,6 +20,11 @@ {% if g.user %} <p>{{ g.user }}</p> + + {% if is_admin %} + <p><a href="{{url_for('admin.adminpage')}}">admin</a></p> + {% endif %} + <p> <a href="{{ url_for('auth.logout',next=path_for_next) }}"> logout |