From b07059f06cbc857b458669d99ab42ce258e085f4 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Thu, 7 Aug 2025 05:24:45 -0400 Subject: [PATCH 1/4] Add snackbar component, notification toasts dont auto hide, add window.init.userVerified --- templates/base.html | 3 +++ templates/components/notifications.html | 2 +- templates/components/snackbar.html | 13 +++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 templates/components/snackbar.html diff --git a/templates/base.html b/templates/base.html index 6bcead5..c7ed0f1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -24,6 +24,7 @@ 'userId': {{ Session.id }}, 'userName': {{ User.name | tojson }}, 'userEmail': {{ User.email | tojson }}, + 'userVerified': {{ User.verified | tojson }}, 'teamId': {{ Team.id | tojson }}, 'teamName': {{ Team.name | tojson }}, 'start': {{ Configs.start | tojson }}, @@ -46,6 +47,8 @@ {% endblock %} +{% include "components/snackbar.html" %} +