forked from MarseyWorld/MarseyWorld
fix
parent
ec8b4b7a6d
commit
daea285faa
|
@ -49,14 +49,14 @@
|
|||
|
||||
{% block content %}
|
||||
<div class="col-span-full">
|
||||
<div class="flex items-center px-4 py-4 bg-gray-800 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">
|
||||
rDrama's 100 Greediest Users
|
||||
</h1>
|
||||
</div>
|
||||
<div class="mb-4 flex flex-col bg-gray-900 rounded-lg overflow-hidden">
|
||||
{% for user in users1 %}
|
||||
<div class="flex items-center border-b border-gray-900 shadow-inset-t-white-05 odd:bg-gray-700 px-5 py-3 {% if v.username == user.username %}text-pink-900 text-shadow-light bg-pink-600{% elif users1.index(user) % 2 != 0 %}bg-gray-700 bg-opacity-20{% endif %}">
|
||||
<div class="flex items-center border-b border-gray-900 shadow-inset-t-white-05 odd:bg-gray-700 px-5 py-3 {% if v.username == user.username %}text-pink-900 text-shadow-light bg-pink-600{% elif users1.index(user) % 2 != 0 %}bg-gray-300{% endif %}">
|
||||
<!-- Rank -->
|
||||
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 {{ 'text-pink-900' if v.username == user.username else 'text-gray-600' }}">
|
||||
{{users1.index(user)+1}}
|
||||
|
|
Loading…
Reference in New Issue