forked from MarseyWorld/MarseyWorld
fix
parent
557b5c453c
commit
2c45cb7cc2
|
@ -58,7 +58,7 @@
|
|||
{% 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 %}">
|
||||
<!-- 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}}
|
||||
</h2>
|
||||
<div class="relative">
|
||||
|
@ -79,7 +79,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
<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}}
|
||||
</span>
|
||||
</div>
|
||||
|
@ -90,14 +90,14 @@
|
|||
<div class="col-span-full mb-6">
|
||||
<div class="flex items-center px-4 py-4 bg-gray-100 sticky top-0">
|
||||
<h1 class="text-2xl font-heading font-bold">
|
||||
rDrama's 100 Greediest Users
|
||||
rDrama's 100 Top Spenders
|
||||
</h1>
|
||||
</div>
|
||||
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
|
||||
{% 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 %}">
|
||||
<!-- 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}}
|
||||
</h2>
|
||||
<div class="relative">
|
||||
|
@ -118,7 +118,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
<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}}
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue