forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-12 22:05:53 -06:00
parent 001e22561a
commit 039e461905
1 changed files with 4 additions and 4 deletions

View File

@ -293,14 +293,14 @@
</div>
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
{% for user in users9 %}
<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 users5.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 users9.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
<!-- Rank -->
<h2 class="text-2xl font-bold font-heading text-center w-16 -ml-5 mb-0 {{ 'text-red-900' if v.username == user.username else 'text-gray-400' }}">
{{users5.index(user)+1}}
{{users9.index(user)+1}}
</h2>
<div class="relative">
<img src="{{user.profile_url}}" class="p-[3px] border w-12 h-12 object-cover {{ 'bg-red-800 border-red-900' if v.username == user.username else 'bg-white border-gray-300' }}" alt="{{ user.username }} avatar"/>
{% if users5.index(user)+1 == 1 %}
{% if users9.index(user)+1 == 1 %}
<img src="https://i.ibb.co/xFgG6yf/Coinfixed.gif" width="20px" height="12px" class="absolute -top-1 -right-2.5 object-contain"/>
{% endif %}
</div>
@ -317,7 +317,7 @@
</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-700' }}">
{{user[1]}}
test
</span>
</div>
</div>