rDrama/files/templates/marseys.html

42 lines
1.2 KiB
HTML
Raw Normal View History

2022-01-12 02:42:26 +00:00
{% extends "default.html" %}
{% block content %}
2022-01-02 20:20:13 +00:00
<pre>
</pre>
2022-01-03 10:59:29 +00:00
<div class="overflow-x-auto"><table class="table table-striped mb-5">
2022-01-02 20:20:13 +00:00
<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>
2022-01-12 01:46:16 +00:00
<th style="font-weight: bold">Usage</th>
2022-01-02 20:20:13 +00:00
<th style="font-weight: bold">Author</th>
</tr>
</thead>
<tbody id="followers-table">
2022-01-22 14:08:14 +00:00
{% for k, val in marseys %}
2022-01-12 02:42:26 +00:00
<tr>
2022-01-12 03:16:49 +00:00
<td style="font-weight: bold">{{loop.index}}</td>
2022-01-22 14:08:14 +00:00
<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>
2022-01-12 02:42:26 +00:00
</tr>
2022-01-12 03:16:49 +00:00
{% endfor %}
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 04:36:00 +00:00
<style>
.marsey {
max-width: 125px;
max-height: 125px;
}
2022-01-12 04:37:24 +00:00
@media (max-width: 768px) {
.marsey {
max-width: 60px;
max-height: 60px;
}
}
2022-01-12 04:36:00 +00:00
</style>
2022-01-12 02:42:26 +00:00
{% endblock %}