diff --git a/routes/__pycache__/main.cpython-313.pyc b/routes/__pycache__/main.cpython-313.pyc index 3d533c6..66e2362 100644 Binary files a/routes/__pycache__/main.cpython-313.pyc and b/routes/__pycache__/main.cpython-313.pyc differ diff --git a/routes/main.py b/routes/main.py index 1644b7f..9038adf 100644 --- a/routes/main.py +++ b/routes/main.py @@ -340,6 +340,12 @@ def init_routes(main_bp): def trash(): return render_template('trash/trash.html') + @main_bp.route('/notifications') + @login_required + @require_password_change + def notifications(): + return render_template('notifications/notifications.html') + @main_bp.route('/settings') @login_required def settings(): diff --git a/templates/common/base.html b/templates/common/base.html index 193fb51..7132f45 100644 --- a/templates/common/base.html +++ b/templates/common/base.html @@ -32,7 +32,7 @@
- + {% if current_user.is_admin %} @@ -109,7 +109,7 @@ diff --git a/templates/notifications/notifications.html b/templates/notifications/notifications.html new file mode 100644 index 0000000..6849c6b --- /dev/null +++ b/templates/notifications/notifications.html @@ -0,0 +1,20 @@ +{% extends "common/base.html" %} +{% from "components/header.html" import header %} + +{% block title %}Notifications - {{ super() }}{% endblock %} + +{% block content %} +{{ header( + title="Notifications", + description="View and manage your notifications", + icon="fa-bell" +) }} + +
+
+
+

No notifications at this time.

+
+
+
+{% endblock %} \ No newline at end of file