MarseyWorld/files/templates/leaderboard.html

297 lines
13 KiB
HTML
Raw Normal View History

2021-11-24 21:01:14 +00:00
{% extends "default.html" %}
2021-10-15 14:08:27 +00:00
{% block pagetitle %}Leaderboard{% endblock %}
2021-11-24 21:01:14 +00:00
{% block subHeader %}
2021-11-29 06:58:37 +00:00
<div class="relative max-w-screen-2xl mx-auto px-4 py-4 grid grid-cols-12 rounded-t">
2021-11-29 07:11:45 +00:00
<div class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-gray-300 to-gray-200 rounded-t sub-header-shadow"></div>
2021-11-29 06:58:37 +00:00
<div class="relative col-span-full flex items-center">
2021-11-24 21:01:14 +00:00
<div>
2021-12-03 18:15:24 +00:00
<h1 class="font-bold text-xl font-heading leading-normal mb-0">
2021-11-24 21:01:14 +00:00
Leaderboards
</h1>
2021-11-30 22:23:31 +00:00
<small class="block text-gray-700 leading-normal">
2021-11-30 22:22:59 +00:00
In-depth analysis of our most terminally online members' careers.
</small>
2021-12-01 21:55:33 +00:00
<ul class="hidden text-gray-500 text-sm flex items-center space-x-3 leading-normal mb-0">
2021-11-24 21:01:14 +00:00
<li>
2021-11-29 07:05:52 +00:00
<a class="{% if not '=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications">
2021-11-24 21:01:14 +00:00
Wealthiest
</a>
</li>
<li>
2021-11-29 07:05:52 +00:00
<a class="{% if '/notifications?posts=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?posts=true">
2021-11-24 21:01:14 +00:00
Spenders
</a>
</li>
<li>
2021-11-29 07:05:52 +00:00
<a class="{% if '/notifications?messages=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?messages=true">
2021-11-24 21:01:14 +00:00
Followers
</a>
</li>
<li>
2021-11-29 07:05:52 +00:00
<a class="{% if '/notifications?messages=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?messages=true">
2021-11-24 21:01:14 +00:00
Posts
</a>
</li>
<li>
2021-11-29 07:05:52 +00:00
<a class="{% if '/notifications?messages=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?messages=true">
2021-11-24 21:01:14 +00:00
Comments
</a>
</li>
<li>
2021-11-29 07:05:52 +00:00
<a class="{% if '/notifications?messages=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?messages=true">
2021-11-24 21:01:14 +00:00
Awards
</a>
</li>
</ul>
</div>
</div>
</div>
{% endblock %}
2021-10-15 14:08:27 +00:00
2021-11-24 21:01:14 +00:00
{% block content %}
2021-11-30 22:07:48 +00:00
<div class="col-span-full mb-6">
2021-12-06 20:20:20 +00:00
<div class="flex items-center px-4 py-4 bg-gradient-to-t from-gray-200 to-gray-100 sticky top-0 z-10">
2021-12-01 21:56:50 +00:00
<h2 class="text-2xl font-heading font-bold mb-0">
2021-12-13 04:03:18 +00:00
rDrama's 25 Greediest Members
2021-11-30 22:21:02 +00:00
</h2>
2021-11-24 21:01:14 +00:00
</div>
2021-11-29 07:00:55 +00:00
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
2021-11-24 21:01:14 +00:00
{% for user in users1 %}
2021-11-29 07:05:52 +00:00
<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 %}">
2021-11-24 21:01:14 +00:00
<!-- Rank -->
2021-12-13 05:10:39 +00:00
<h2 class="flex-shrink-0 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' }}">
2021-11-24 21:01:14 +00:00
{{users1.index(user)+1}}
</h2>
2021-12-13 05:07:56 +00:00
<div class="relative flex-shrink-0">
<img src="{{user.profile_url}}" class="flex-shrink-0 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"/>
2021-11-24 21:01:14 +00:00
{% if users1.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>
<!-- User Details -->
<div class="ml-3">
2021-12-13 05:10:05 +00:00
<a class="block font-heading font-bold text-lg md:text-xl text-black hover:text-red-600" href="/@{{user.username}}">
2021-11-24 21:01:14 +00:00
{{user.username}}
</a>
{% if user.customtitle %}
<p class="text-sm" style="#{{user.namecolor}}">
{{user.customtitle | safe}}
</p>
{% endif %}
</div>
2021-12-13 05:08:59 +00:00
<div class="ml-auto mr-4 pl-3">
2021-11-30 22:13:51 +00:00
<span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
2021-11-24 21:01:14 +00:00
{{user.coins}}
</span>
</div>
</div>
{% endfor %}
</div>
</div>
2021-11-30 22:12:13 +00:00
<div class="col-span-full mb-6">
2021-12-06 20:20:20 +00:00
<div class="flex items-center px-4 py-4 bg-gradient-to-t from-gray-200 to-gray-100 sticky top-0 z-10">
2021-12-01 21:56:50 +00:00
<h2 class="text-2xl font-heading font-bold mb-0">
2021-11-30 22:16:53 +00:00
rDrama's 20 Top Spenders
2021-11-30 22:21:02 +00:00
</h2>
2021-11-30 22:12:13 +00:00
</div>
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
2021-11-30 22:14:53 +00:00
{% for user in users7 %}
<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 users7.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
2021-11-30 22:12:13 +00:00
<!-- Rank -->
2021-12-13 05:10:39 +00:00
<h2 class="flex-shrink-0 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' }}">
2021-11-30 22:14:53 +00:00
{{users7.index(user)+1}}
2021-11-30 22:12:13 +00:00
</h2>
2021-12-13 05:07:56 +00:00
<div class="relative flex-shrink-0">
<img src="{{user.profile_url}}" class="flex-shrink-0 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"/>
2021-11-30 22:14:53 +00:00
{% if users7.index(user)+1 == 1 %}
2021-11-30 22:12:13 +00:00
<img src="https://i.ibb.co/xFgG6yf/Coinfixed.gif" width="20px" height="12px" class="absolute -top-1 -right-2.5 object-contain"/>
{% endif %}
</div>
<!-- User Details -->
<div class="ml-3">
2021-12-13 05:10:05 +00:00
<a class="block font-heading font-bold text-lg md:text-xl text-black hover:text-red-600" href="/@{{user.username}}">
2021-11-30 22:12:13 +00:00
{{user.username}}
</a>
{% if user.customtitle %}
<p class="text-sm" style="#{{user.namecolor}}">
{{user.customtitle | safe}}
</p>
{% endif %}
</div>
2021-12-13 05:08:59 +00:00
<div class="ml-auto mr-4 pl-3">
2021-11-30 22:13:51 +00:00
<span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
2021-11-30 22:15:04 +00:00
{{user.coins_spent}}
2021-11-30 22:12:13 +00:00
</span>
</div>
</div>
{% endfor %}
</div>
</div>
2021-11-30 22:16:53 +00:00
<div class="col-span-full mb-6">
2021-12-06 20:20:20 +00:00
<div class="flex items-center px-4 py-4 bg-gradient-to-t from-gray-200 to-gray-100 sticky top-0 z-10">
2021-12-01 21:56:50 +00:00
<h2 class="text-2xl font-heading font-bold mb-0">
2021-11-30 22:19:41 +00:00
rDrama's 15 Most Popular
2021-11-30 22:21:02 +00:00
</h2>
2021-11-30 22:16:53 +00:00
</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 -->
2021-12-13 05:10:39 +00:00
<h2 class="flex-shrink-0 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' }}">
2021-11-30 22:16:53 +00:00
{{users2.index(user)+1}}
</h2>
2021-12-13 05:07:56 +00:00
<div class="relative flex-shrink-0">
<img src="{{user.profile_url}}" class="flex-shrink-0 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"/>
2021-11-30 22:16:53 +00:00
{% if users2.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>
<!-- User Details -->
<div class="ml-3">
2021-12-13 05:10:05 +00:00
<a class="block font-heading font-bold text-lg md:text-xl text-black hover:text-red-600" href="/@{{user.username}}">
2021-11-30 22:16:53 +00:00
{{user.username}}
</a>
{% if user.customtitle %}
<p class="text-sm" style="#{{user.namecolor}}">
{{user.customtitle | safe}}
</p>
{% endif %}
</div>
2021-12-13 05:08:59 +00:00
<div class="ml-auto mr-4 pl-3">
2021-11-30 22:16:53 +00:00
<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>
</div>
{% endfor %}
</div>
</div>
2021-11-30 22:19:41 +00:00
<div class="col-span-full mb-6">
2021-12-06 20:20:20 +00:00
<div class="flex items-center px-4 py-4 bg-gradient-to-t from-gray-200 to-gray-100 sticky top-0 z-10">
2021-12-01 21:56:50 +00:00
<h2 class="text-2xl font-heading font-bold mb-0">
2021-11-30 22:21:02 +00:00
rDrama's 10 Most Terminally Online (Posts)
</h2>
2021-11-30 22:19:41 +00:00
</div>
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
{% for user in users3 %}
<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 users3.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
<!-- Rank -->
2021-12-13 05:10:39 +00:00
<h2 class="flex-shrink-0 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' }}">
2021-11-30 22:19:41 +00:00
{{users3.index(user)+1}}
</h2>
2021-12-13 05:07:56 +00:00
<div class="relative flex-shrink-0">
<img src="{{user.profile_url}}" class="flex-shrink-0 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"/>
2021-11-30 22:19:41 +00:00
{% if users3.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>
<!-- User Details -->
<div class="ml-3">
2021-12-13 05:10:05 +00:00
<a class="block font-heading font-bold text-lg md:text-xl text-black hover:text-red-600" href="/@{{user.username}}">
2021-11-30 22:19:41 +00:00
{{user.username}}
</a>
{% if user.customtitle %}
<p class="text-sm" style="#{{user.namecolor}}">
{{user.customtitle | safe}}
</p>
{% endif %}
</div>
2021-12-13 05:08:59 +00:00
<div class="ml-auto mr-4 pl-3">
2021-11-30 22:19:41 +00:00
<span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
{{user.post_count}}
</span>
</div>
</div>
{% endfor %}
</div>
</div>
<div class="col-span-full mb-6">
2021-12-06 20:20:20 +00:00
<div class="flex items-center px-4 py-4 bg-gradient-to-t from-gray-200 to-gray-100 sticky top-0 z-10">
2021-12-01 21:56:50 +00:00
<h2 class="text-2xl font-heading font-bold mb-0">
2021-11-30 22:21:02 +00:00
rDrama's 10 Most Terminally Online (Comments)
</h2>
2021-11-30 22:19:41 +00:00
</div>
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
{% for user in users4 %}
<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 users4.index(user) % 2 != 0 %}bg-gray-200{% endif %}">
<!-- Rank -->
2021-12-13 05:10:39 +00:00
<h2 class="flex-shrink-0 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' }}">
2021-11-30 22:19:41 +00:00
{{users4.index(user)+1}}
</h2>
2021-12-13 05:07:56 +00:00
<div class="relative flex-shrink-0">
<img src="{{user.profile_url}}" class="flex-shrink-0 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"/>
2021-11-30 22:19:41 +00:00
{% if users4.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>
<!-- User Details -->
<div class="ml-3">
2021-12-13 05:10:05 +00:00
<a class="block font-heading font-bold text-lg md:text-xl text-black hover:text-red-600" href="/@{{user.username}}">
2021-11-30 22:19:41 +00:00
{{user.username}}
</a>
{% if user.customtitle %}
<p class="text-sm" style="#{{user.namecolor}}">
{{user.customtitle | safe}}
</p>
{% endif %}
</div>
2021-12-13 05:08:59 +00:00
<div class="ml-auto mr-4 pl-3">
2021-11-30 22:19:41 +00:00
<span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
{{user.comment_count}}
</span>
</div>
</div>
{% endfor %}
</div>
</div>
<div class="col-span-full mb-6">
2021-12-06 20:20:20 +00:00
<div class="flex items-center px-4 py-4 bg-gradient-to-t from-gray-200 to-gray-100 sticky top-0 z-10">
2021-12-01 21:56:50 +00:00
<h2 class="text-2xl font-heading font-bold mb-0">
2021-11-30 22:21:02 +00:00
rDrama's 10 Biggest Winners
</h2>
2021-11-30 22:19:41 +00:00
</div>
<div class="mb-4 flex flex-col bg-gray-100 rounded-lg overflow-hidden">
{% for user in users5 %}
<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 %}">
<!-- Rank -->
2021-12-13 05:10:39 +00:00
<h2 class="flex-shrink-0 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' }}">
2021-11-30 22:19:41 +00:00
{{users5.index(user)+1}}
</h2>
2021-12-13 05:07:56 +00:00
<div class="relative flex-shrink-0">
<img src="{{user.profile_url}}" class="flex-shrink-0 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"/>
2021-11-30 22:19:41 +00:00
{% if users5.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>
<!-- User Details -->
<div class="ml-3">
2021-12-13 05:10:05 +00:00
<a class="block font-heading font-bold text-lg md:text-xl text-black hover:text-red-600" href="/@{{user.username}}">
2021-11-30 22:19:41 +00:00
{{user.username}}
</a>
{% if user.customtitle %}
<p class="text-sm" style="#{{user.namecolor}}">
{{user.customtitle | safe}}
</p>
{% endif %}
</div>
2021-12-13 05:08:59 +00:00
<div class="ml-auto mr-4 pl-3">
2021-11-30 22:19:41 +00:00
<span class="text-xl font-heading font-bold {{ 'text-red-900' if v.username == user.username else 'text-gray-700' }}">
{{user.received_award_count}}
</span>
</div>
</div>
{% endfor %}
</div>
</div>
2021-12-06 02:46:55 +00:00
{% endblock %}
{% block modals %}
<div class="frost"></div>
2021-12-11 17:55:27 +00:00
{% include '/awards/Christmas/Snow.html' %}
2021-12-06 02:46:55 +00:00
{% endblock %}
{% block scripts %}
2021-12-12 20:14:30 +00:00
<script defer src="/assets/js/christmas/snow.js?v=200"></script>
2021-11-30 22:19:41 +00:00
{% endblock %}