Administrator Views verbessert
This commit is contained in:
1 parent
ffdb399f9e
commit
0a2070fcf5
12 files changed
+247
-12
No files matched your search
@@ -8,6 +8,13 @@ from cmbnet.db import get_db
|
||||
admin_accounts_bp = Blueprint('admin', __name__)
|
||||
|
||||
|
||||
@admin_accounts_bp.route('/dashboard')
|
||||
@role_required('Administrator')
|
||||
def dashboard(**kwargs):
|
||||
"""Admin Dashboard"""
|
||||
return render_template('admin/dashboard.html')
|
||||
|
||||
|
||||
@admin_accounts_bp.route('/accounts')
|
||||
@role_required('Administrator')
|
||||
def accounts(**kwargs):
|
||||
|
||||
Reference in new issue
Block a user