File tree Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Original file line number Diff line number Diff line change 77 < link rel ="stylesheet " href ="{{ url_for('static', filename='style.css') }} ">
88</ head >
99< body >
10- < nav >
11- < h1 > Email Forwarder Manager</ h1 >
12- {% if current_user.is_authenticated %}
13- < div class ="nav-links ">
14- < a href ="{{ url_for('dashboard') }} "> Dashboard</ a >
15- < a href ="{{ url_for('settings.index') }} "> Settings</ a >
16- {% if current_user.is_admin %}
17- < a href ="{{ url_for('admin.users') }} "> User Management</ a >
18- {% endif %}
19- < span > Welcome, {{ current_user.username }}</ span >
20- < a href ="{{ url_for('auth.logout') }} "> Logout</ a >
21- </ div >
10+ < nav >
11+ < div class ="nav-brand ">
12+ < a href ="{{ url_for('main.dashboard') }} "> Email Forwarder</ a >
13+ </ div >
14+
15+ <!-- Add hamburger button -->
16+ < button class ="hamburger " id ="hamburger " aria-label ="Menu ">
17+ < span > </ span >
18+ < span > </ span >
19+ < span > </ span >
20+ </ button >
21+
22+ <!-- Wrap existing nav links -->
23+ < div class ="nav-links " id ="navLinks ">
24+ < a href ="{{ url_for('main.dashboard') }} "> Dashboard</ a >
25+ < a href ="{{ url_for('settings.index') }} "> Settings</ a >
26+ < a href ="{{ url_for('auth.profile') }} "> Profile</ a >
27+ {% if current_user.is_admin %}
28+ < a href ="{{ url_for('admin.index') }} "> Admin</ a >
2229 {% endif %}
23- </ nav >
30+ < a href ="{{ url_for('auth.logout') }} "> Logout</ a >
31+ </ div >
32+ </ nav >
2433
2534 {% with messages = get_flashed_messages(with_categories=true) %}
2635 {% if messages %}
You can’t perform that action at this time.
0 commit comments