From 7cf9aa452d721ce46b7977c0fd08cfd764938a49 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Fri, 25 Oct 2024 10:49:13 +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 | 8 ++++---- templates/server_admin_dashboard.html | 8 ++++---- templates/server_giveaways.html | 8 ++++---- templates/user_dashboard.html | 6 +++--- templates/user_landing_page.html | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/templates/global_admin_dashboard.html b/templates/global_admin_dashboard.html index 81d0cca..997345d 100644 --- a/templates/global_admin_dashboard.html +++ b/templates/global_admin_dashboard.html @@ -31,12 +31,12 @@
Bot Status

Status: - - {{ "Running" if bot_running else "Stopped" }} + + {{ "Running" if g.bot_running else "Stopped" }}

- Start Bot - Stop Bot + Start Bot + Stop Bot View Logs
diff --git a/templates/server_admin_dashboard.html b/templates/server_admin_dashboard.html index d6746a6..1776d7a 100644 --- a/templates/server_admin_dashboard.html +++ b/templates/server_admin_dashboard.html @@ -10,7 +10,7 @@
-

Server Admin Dashboard for {{ guild_name }}

+

Server Admin Dashboard for {{ g.guild_name }}

Manage server-specific settings for this guild.

Giveaway Management

Manage and view all active giveaways for this server.

- View Giveaways + View Giveaways
@@ -39,7 +39,7 @@
Manage Points

Manage user points for this server.

- Manage Points + Manage Points
diff --git a/templates/server_giveaways.html b/templates/server_giveaways.html index 4868585..01296cd 100644 --- a/templates/server_giveaways.html +++ b/templates/server_giveaways.html @@ -11,7 +11,7 @@ {% include 'navigation.html' %}
-

Giveaways for Server {{ guild_id }}

+

Giveaways for Server {{ g.guild_id }}

@@ -22,14 +22,14 @@ - {% for giveaway in giveaways %} + {% for giveaway in g.giveaways %} {% endfor %} diff --git a/templates/user_dashboard.html b/templates/user_dashboard.html index d8edd48..de95e26 100644 --- a/templates/user_dashboard.html +++ b/templates/user_dashboard.html @@ -12,9 +12,9 @@ {% include 'navigation.html' %}

Welcome, {{ g.user_info.username }}!

-

Your Points: {{ user_data['points'] }}

-

Level: {{ user_data['level'] }}

-

Server ID: {{ guild_id }}

+

Your Points: {{ g.user_data['points'] }}

+

Level: {{ g.user_data['level'] }}

+

Server ID: {{ g.guild_id }}

diff --git a/templates/user_landing_page.html b/templates/user_landing_page.html index 58e481f..02b0420 100644 --- a/templates/user_landing_page.html +++ b/templates/user_landing_page.html @@ -15,7 +15,7 @@

Select a server to view your server-specific data.

- {% for guild in guilds %} + {% for guild in g.guilds %}
Server Icon
{{ giveaway.name }} {{ giveaway.platform }} {{ giveaway.winner_dc_id }} - Edit - Delete + Edit + Delete