From 2733d8971a6d61c994a66d83f9de0e57bb5cb4f9 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:56:14 +0200 Subject: [PATCH] modified: templates/global_admin_dashboard.html modified: templates/server_admin_dashboard.html modified: templates/server_giveaways.html modified: templates/user_dashboard.html modified: templates/user_landing_page.html --- templates/global_admin_dashboard.html | 32 ++---- templates/server_admin_dashboard.html | 19 +--- templates/server_giveaways.html | 72 ++++++++----- templates/user_dashboard.html | 148 +++----------------------- templates/user_landing_page.html | 31 ++---- 5 files changed, 80 insertions(+), 222 deletions(-) diff --git a/templates/global_admin_dashboard.html b/templates/global_admin_dashboard.html index 1d5f75d..5e32895 100644 --- a/templates/global_admin_dashboard.html +++ b/templates/global_admin_dashboard.html @@ -9,22 +9,9 @@ - - + {% include 'navigation.html' %}
-

Welcome, {{ user_info.username }} (Global Admin)

+

Welcome, {{ g.user_info['username'] }} (Global Admin)

Manage global bot settings and controls.

@@ -35,12 +22,15 @@ {{ "Running" if bot_running else "Stopped" }}

- Start Bot - Stop Bot - Global Settings - View Logs + Start Bot + Stop Bot +
+
+ +
+
+
View Logs
+ Logs
diff --git a/templates/server_admin_dashboard.html b/templates/server_admin_dashboard.html index 28bdf57..b612a1f 100644 --- a/templates/server_admin_dashboard.html +++ b/templates/server_admin_dashboard.html @@ -9,28 +9,15 @@ - - + {% include 'navigation.html' %}

Server Admin Dashboard for {{ guild_name }}

-

Manage server-specific settings and controls.

+

Manage server-specific settings and controls for this guild.

Giveaway Management
-

Manage and view all active giveaways for this server.

+

Manage active giveaways for this server.

View Giveaways
diff --git a/templates/server_giveaways.html b/templates/server_giveaways.html index 4c31693..b5bcc4e 100644 --- a/templates/server_giveaways.html +++ b/templates/server_giveaways.html @@ -1,29 +1,43 @@ -{% include 'navigation.html' %} -
-

Giveaways for Server {{ guild_id }}

- Add Giveaway - - - - - - - - - - - - {% for giveaway in giveaways %} - - - - - - - {% endfor %} - -
NamePlatformWinnerActions
{{ giveaway.name }}{{ giveaway.platform }}{{ giveaway.winner_dc_id }} - Edit - Delete -
-
+ + + + + + + Server Giveaways + + + + + {% include 'navigation.html' %} +
+

Giveaways for Server {{ guild_id }}

+ Add Giveaway + + + + + + + + + + + + {% for giveaway in giveaways %} + + + + + + + {% endfor %} + +
NamePlatformWinnerActions
{{ giveaway.name }}{{ giveaway.platform }}{{ giveaway.winner_dc_id }} + Edit + Delete +
+
+ + + diff --git a/templates/user_dashboard.html b/templates/user_dashboard.html index c4e9685..d2bbb4c 100644 --- a/templates/user_dashboard.html +++ b/templates/user_dashboard.html @@ -6,149 +6,25 @@ User Dashboard - - - + {% include 'navigation.html' %} +
+

{{ g.user_info['username'] }}'s Dashboard for Server {{ guild_id }}

+

Your server-specific data.

- -