From 28ce188d62535856c1e7c801bde9cf15ad09bc48 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:32:35 +0200 Subject: [PATCH] modified: templates/admin_giveaways.html modified: templates/user_giveaways.html --- templates/admin_giveaways.html | 129 ++++++++++++++++++++++----------- templates/user_giveaways.html | 101 ++++++++++++++++---------- 2 files changed, 151 insertions(+), 79 deletions(-) diff --git a/templates/admin_giveaways.html b/templates/admin_giveaways.html index 1f4e6f0..b77aacb 100644 --- a/templates/admin_giveaways.html +++ b/templates/admin_giveaways.html @@ -4,23 +4,40 @@ - Admin - Giveaways + Admin Dashboard + -
-

Giveaways Management

- - - - - - - - - - - - - - {% for giveaway in giveaways %} - - - - - - - - - - {% endfor %} - -
IDPlatformNameGame KeyWinner Discord IDActiveActions
{{ giveaway.id }}{{ giveaway.platform }}{{ giveaway.name }}{{ giveaway.game_key }}{{ giveaway.winner_dc_id or 'Not Assigned' }} - {% if giveaway.aktiv %} - Active - {% else %} - Inactive - {% endif %} - - Edit -
+ +
+

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

+ + +
+
+
+
+ +
Bot Status
+

Status: + + {{ "Running" if bot_running else "Stopped" }} + +

+
+
+
+ +
+
+
+ +
Manage Settings
+ Settings +
+
+
+ +
+
+
+ +
View Logs
+ Logs +
+
+
+
+ + +
+
+
+
+ +
User Management
+ Manage Users +
+
+
+ +
+
+
+ +
Manage Giveaways
+ Giveaways +
+
+
+
+ diff --git a/templates/user_giveaways.html b/templates/user_giveaways.html index a6006e7..178f884 100644 --- a/templates/user_giveaways.html +++ b/templates/user_giveaways.html @@ -4,24 +4,38 @@ - My Giveaways + User Dashboard - +
-

Giveaways You've Won

+

Welcome, {{ user_info.username }}

+ + +
+
+
+
+ +
Your Points
+

{{ points }} Points

+
+
+
+ +
+
+
+ +
Active Giveaways
+

{{ active_giveaways }} Giveaways

+ View Your Giveaways +
+
+
+ +
+
+
+ +
Account Status
+

{{ account_status }}

+
+
+
+
+ +
- {% if giveaways %} - - - - - - - - - - - - {% for giveaway in giveaways %} - - - - - - - - {% endfor %} - -
IDPlatformNameGame KeyActions
{{ giveaway.id }}{{ giveaway.platform }}{{ giveaway.name }}{{ giveaway.game_key }} -
- -
-
- {% else %} -

You have not won any giveaways yet.

- {% endif %} +

Recent Activity

+
    + {% for activity in recent_activity %} +
  • {{ activity }}
  • + {% endfor %} +
+