Change navigation.

This commit is contained in:
Jens Luedicke
2025-06-28 09:48:29 +02:00
parent 452f3abd80
commit 5fa044e69c
5 changed files with 147 additions and 22 deletions

5
app.py
View File

@@ -144,6 +144,11 @@ def register():
return render_template('register.html', title='Register')
@app.route('/admin/dashboard')
@admin_required
def admin_dashboard():
return render_template('admin_dashboard.html', title='Admin Dashboard')
@app.route('/admin/users')
@admin_required
def admin_users():