MarseyWorld/files/templates/voters.html

25 lines
919 B
HTML
Raw Normal View History

2021-11-15 00:22:03 +00:00
{% extends "default.html" %}
{% block content %}
2021-12-13 02:57:10 +00:00
<div class="col-span-full my-4">
2021-12-13 02:56:28 +00:00
<h5 style="text-align: center">{{name2}}</h5>
<pre></pre>
2021-12-13 02:57:10 +00:00
<table class="w-full table table-striped mb-5">
2021-12-13 02:56:28 +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">{{name}}votes</th>
</tr>
</thead>
<tbody id="followers-table">
{% for user in users %}
<tr>
<td style="font-weight: bold">{{loop.index}}</td>
<td><a style="color:#{{user[0].namecolor}}; font-weight:bold;" href="/@{{user[0].username}}"><img loading="lazy" src="/uid/{{user[0].id}}/pic" class="pp20"><span {% if user[0].patron %}class="patron" style="background-color:#{{user[0].namecolor}};"{% endif %}>{{user[0].username}}</span></a></td>
<td style="font-weight: bold">{{user[1]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
2021-11-15 00:22:03 +00:00
{% endblock %}