42 lines
No EOL
1.2 KiB
HTML
42 lines
No EOL
1.2 KiB
HTML
{% extends "default.html" %}
|
|
{% block content %}
|
|
<pre>
|
|
|
|
|
|
</pre>
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th style="font-weight: bold">#</th>
|
|
<th style="font-weight: bold">Name</th>
|
|
<th style="font-weight: bold">Marsey</th>
|
|
<th style="font-weight: bold">Usage</th>
|
|
<th style="font-weight: bold">Author</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="followers-table">
|
|
{% for k, val in marseys %}
|
|
<tr>
|
|
<td style="font-weight: bold">{{loop.index}}</td>
|
|
<td style="font-weight: bold">{{k}}</td>
|
|
<td><img class="marsey" loading="lazy" data-bs-toggle="tooltip" alt=":{{k}}:" title=":{{k}}:" delay="0" src="/static/assets/images/emojis/{{k}}.webp?a=1007" ></td>
|
|
<td style="font-weight: bold">{{val["count"]}}</td>
|
|
<td>{% if val['author'] in ('anton-d','unknown') %}{{val['author']}}{% else %}<a style="font-weight:bold;" href="/@{{val['author']}}"><img alt="@{{val['author']}}'s profile picture" loading="lazy" src="/@{{val['author']}}/pic" class="pp20">{{val['author']}}</a>{% endif %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<style>
|
|
.marsey {
|
|
max-width: 125px;
|
|
max-height: 125px;
|
|
}
|
|
@media (max-width: 768px) {
|
|
.marsey {
|
|
max-width: 60px;
|
|
max-height: 60px;
|
|
}
|
|
}
|
|
</style>
|
|
{% endblock %} |