2022-01-12 02:42:26 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
{% block content %}
|
2022-03-05 21:51:40 +00:00
|
|
|
|
|
|
|
<script src="/static/assets/js/sort_table.js?v=240"></script>
|
|
|
|
|
2022-01-02 20:20:13 +00:00
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
2022-03-05 21:51:40 +00:00
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<table id="sortable_table" class="table table-striped mb-5">
|
2022-01-02 20:20:13 +00:00
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
2022-02-24 12:03:28 +00:00
|
|
|
<th>#</th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Marsey</th>
|
2022-03-05 21:51:40 +00:00
|
|
|
<th role="button" onclick="sort_table(3)">Usage</th>
|
|
|
|
{% if SITE_NAME == 'Drama' %}<th role="button" onclick="sort_table(4)">Author</th>{% endif %}
|
2022-01-02 20:20:13 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="followers-table">
|
2022-02-07 15:07:46 +00:00
|
|
|
{% if SITE_NAME == 'Drama' %}
|
2022-01-28 02:04:53 +00:00
|
|
|
{% for marsey, author in marseys %}
|
|
|
|
<tr>
|
2022-02-24 12:03:28 +00:00
|
|
|
<td>{{loop.index}}</td>
|
|
|
|
<td>{{marsey.name}}</td>
|
2022-03-02 02:11:52 +00:00
|
|
|
<td><img class="marsey" loading="lazy" data-bs-toggle="tooltip" alt=":{{marsey.name}}:" title=":{{marsey.name}}:" src="/e/{{marsey.name}}.webp?v=1012" ></td>
|
2022-02-24 12:03:28 +00:00
|
|
|
<td>{{marsey.count}}</td>
|
2022-02-23 05:19:57 +00:00
|
|
|
<td><a style="color:#{{author.namecolor}};font-weight:bold" href="/@{{author.username}}"><img loading="lazy" src="{{author.profile_url}}" class="pp20"><span {% if author.patron %}class="patron" style="background-color:#{{author.namecolor}}"{% endif %}>{{author.username}}</span></a></td>
|
2022-01-28 02:04:53 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{% for marsey in marseys %}
|
2022-01-12 02:42:26 +00:00
|
|
|
<tr>
|
2022-02-24 12:03:28 +00:00
|
|
|
<td>{{loop.index}}</td>
|
|
|
|
<td>{{marsey.name}}</td>
|
2022-03-02 02:11:52 +00:00
|
|
|
<td><img class="marsey" loading="lazy" data-bs-toggle="tooltip" alt=":{{marsey.name}}:" title=":{{marsey.name}}:" src="/e/{{marsey.name}}.webp?v=1012" ></td>
|
2022-02-24 12:03:28 +00:00
|
|
|
<td>{{marsey.count}}</td>
|
2022-01-12 02:42:26 +00:00
|
|
|
</tr>
|
2022-01-28 02:04:53 +00:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2022-01-02 20:20:13 +00:00
|
|
|
</tbody>
|
2022-01-12 02:42:26 +00:00
|
|
|
</table>
|
2022-01-12 03:16:49 +00:00
|
|
|
|
2022-01-12 02:42:26 +00:00
|
|
|
{% endblock %}
|