diff --git a/templates/navigation.html b/templates/navigation.html new file mode 100644 index 0000000..8d5570a --- /dev/null +++ b/templates/navigation.html @@ -0,0 +1,19 @@ + diff --git a/templates/redeem_giveaway.html b/templates/redeem_giveaway.html index f7139ba..55c6ae1 100644 --- a/templates/redeem_giveaway.html +++ b/templates/redeem_giveaway.html @@ -1,63 +1,45 @@ - Redeem Giveaway - - + {% include 'navigation.html' %} +

Giveaway Prize

-

Congratulations! You've won {{ giveaway.name }} on {{ giveaway.platform }}.

+

Congratulations! You have won the giveaway for {{ giveaway.name }} on + {{ giveaway.platform }}.

-
- {% if key %} - -
Your Game Key
-

{{ key }}

-
- Back to Giveaways + {% if key %} + +
+
+
Your Key
+

{{ key }}

- {% else %} - -
Claim Your Key
-

Do you want to reveal your game key? Once revealed, it will be marked as claimed and cannot be undone.

-
+
+ Back to Giveaways + {% else %} + +
+
+
Claim Your Key
+

Do you want to reveal your game key? Once revealed, it will be marked as claimed and cannot be undone.

+
- +
- - {% endif %}
+ Back to Giveaways + {% endif %}
- + + + diff --git a/templates/user_dashboard.html b/templates/user_dashboard.html index ab96459..cd7fc3f 100644 --- a/templates/user_dashboard.html +++ b/templates/user_dashboard.html @@ -1,48 +1,50 @@ - User Dashboard - - - + {% include 'navigation.html' %} +

Welcome, {{ user_info.username }}

-

Here you can view your points, status, and more.

+

Here you can view your points and other information.

-
-
-
Your Points
-

You currently have: {{ points }} points.

+
+
+
+
+
Your Points
+

{{ user_points }} Points

+
+
-
-
-
-
Your Giveaways
-

Check if you have won any giveaways and redeem your prizes.

- View Your Giveaways +
+
+
+
Giveaways
+

Check out the giveaways you've won!

+ View Giveaways +
+
+
+ +
+
+
+
Your Rank
+

Rank: {{ user_rank }}

+
+
+ + - diff --git a/templates/user_giveaways.html b/templates/user_giveaways.html index b9746c1..c9f711c 100644 --- a/templates/user_giveaways.html +++ b/templates/user_giveaways.html @@ -1,41 +1,24 @@ - Your Giveaways - - + {% include 'navigation.html' %} +

Your Giveaways

-

Here are the giveaways you've won. Click "Claim Your Key" to receive your prize.

+

Here you can view the giveaways you've won.

{% if giveaways %} {% for giveaway in giveaways %}
-
-
+
+
{{ giveaway.name }}

Platform: {{ giveaway.platform }}

Claim Your Key @@ -44,15 +27,12 @@
{% endfor %} {% else %} -
-
-

No Giveaways Won

-

It looks like you haven't won any giveaways yet. Keep participating and good luck!

-
-
+

You haven't won any giveaways yet.

{% endif %}
- + + +