We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dba230 commit 8accabcCopy full SHA for 8accabc
app/templates/base.html
@@ -10,7 +10,11 @@
10
<nav>
11
<h1>Email Forwarder Manager</h1>
12
{% if current_user.is_authenticated %}
13
- <div>
+ <div class="nav-links">
14
+ <a href="{{ url_for('dashboard') }}">Dashboard</a>
15
+ {% if current_user.is_admin %}
16
+ <a href="{{ url_for('admin.users') }}">User Management</a>
17
+ {% endif %}
18
<span>Welcome, {{ current_user.username }}</span>
19
<a href="{{ url_for('auth.logout') }}">Logout</a>
20
</div>
@@ -30,3 +34,4 @@ <h1>Email Forwarder Manager</h1>
30
34
<script src="{{ url_for('static', filename='script.js') }}"></script>
31
35
</body>
32
36
</html>
37
+
0 commit comments