forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-11-30 16:13:51 -06:00
parent 557b5c453c
commit 2c45cb7cc2
1 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@
{% for user in users1 %} {% for user in users1 %}
<div class="flex items-center border-b last:border-b-none border-gray-300 shadow-inset-t-white-05 px-5 py-3 {% if v.username == user.username %}text-red-900 text-shadow-light bg-red-600{% elif users1.index(user) % 2 != 0 %}bg-gray-200{% endif %}"> <div class="flex items-center border-b last:border-b-none border-gray-300 shadow-inset-t-white-05 px-5 py-3 {% if v.username == user.username %}text-red-900 text-shadow-light bg-red-600{% elif users1.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
<!-- Rank --> <!-- Rank -->
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-400' }}"> <h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
{{users1.index(user)+1}} {{users1.index(user)+1}}
</h2> </h2>
<div class="relative"> <div class="relative">
@ -79,7 +79,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="ml-auto mr-4"> <div class="ml-auto mr-4">
<span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-400' }}"> <span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
{{user.coins}} {{user.coins}}
</span> </span>
</div> </div>
@ -90,14 +90,14 @@
<div class="col-span-full mb-6"> <div class="col-span-full mb-6">
<div class="flex items-center px-4 py-4 bg-gray-100 sticky top-0"> <div class="flex items-center px-4 py-4 bg-gray-100 sticky top-0">
<h1 class="text-2xl font-heading font-bold"> <h1 class="text-2xl font-heading font-bold">
rDrama's 100 Greediest Users rDrama's 100 Top Spenders
</h1> </h1>
</div> </div>
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden"> <div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
{% for user in users2 %} {% for user in users2 %}
<div class="flex items-center border-b last:border-b-none border-gray-300 shadow-inset-t-white-05 px-5 py-3 {% if v.username == user.username %}text-red-900 text-shadow-light bg-red-600{% elif users2.index(user) % 2 != 0 %}bg-gray-200{% endif %}"> <div class="flex items-center border-b last:border-b-none border-gray-300 shadow-inset-t-white-05 px-5 py-3 {% if v.username == user.username %}text-red-900 text-shadow-light bg-red-600{% elif users2.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
<!-- Rank --> <!-- Rank -->
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-400' }}"> <h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
{{users2.index(user)+1}} {{users2.index(user)+1}}
</h2> </h2>
<div class="relative"> <div class="relative">
@ -118,7 +118,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="ml-auto mr-4"> <div class="ml-auto mr-4">
<span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-400' }}"> <span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
{{user.stored_subscriber_count}} {{user.stored_subscriber_count}}
</span> </span>
</div> </div>