From ed3d239fae78f44d78e9c7506e838a7b88f3fabd Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sat, 27 Apr 2019 22:53:25 +0000 Subject: [PATCH] Add a welcome banner with avatar, username, and logout message in case one would log into the incorrect account to dashboard --- webapp/titanembeds/templates/dashboard.html.j2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/webapp/titanembeds/templates/dashboard.html.j2 b/webapp/titanembeds/templates/dashboard.html.j2 index 35f7e51..e4b87d1 100644 --- a/webapp/titanembeds/templates/dashboard.html.j2 +++ b/webapp/titanembeds/templates/dashboard.html.j2 @@ -3,6 +3,23 @@ {% block content %}

User Dashboard

+ +
+
+
+
+ +
+
+ +

Welcome {{ session['username'] }}#{{ session['discriminator'] }} to Titan Embeds!

+

Not the right account? Sign out of the Discord online client here and log back into Titan Embeds.

+
+
+
+
+
+

Select a server to configure Titan Embeds.

*List missing some servers? It's because you must have either Manage Server, Kick Members, or Ban Members permissions to modify embed settings.