diff options
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/layout.html b/templates/layout.html index 3c6d8ab..3620a3a 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -9,6 +9,8 @@ <div class=page> <ul class=nav> <li><a href="{{ url_for('new_paste') }}">New Paste</a> + {% if g.user and g.user == "admin" %}<li><a href="{{ url_for('admin') }}">admin</a></li>{% endif %} + {% if g.user %}<li><a href="{{ url_for('logout') }}">Sign out</a></li>{% endif %} {# {% if g.user %} <li><a href="{{ url_for('my_pastes') }}">My Pastes</a> |