MarseyWorld/files/templates/voters.html

28 lines
869 B
HTML
Raw Normal View History

2021-11-15 00:22:03 +00:00
{% extends "default.html" %}
{% block content %}
2021-11-15 00:34:13 +00:00
<pre>
2021-11-15 00:22:03 +00:00
2021-11-15 00:34:13 +00:00
</pre>
2021-11-15 23:13:29 +00:00
<h5 style="text-align: center">{{name2}}</h5>
2021-11-15 01:01:23 +00:00
<pre></pre>
2021-11-15 00:22:03 +00:00
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
2021-11-15 00:26:40 +00:00
<th style="font-weight: bold">#</th>
2021-11-15 00:22:03 +00:00
<th style="font-weight: bold">Name</th>
2021-11-15 01:05:05 +00:00
<th style="font-weight: bold">{{name}}votes</th>
2021-11-15 00:22:03 +00:00
</tr>
</thead>
<tbody id="followers-table">
{% for user in users %}
<tr>
2021-11-15 00:26:40 +00:00
<td style="font-weight: bold">{{loop.index}}</td>
2021-11-15 00:43:07 +00:00
<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>
2021-11-15 00:34:13 +00:00
<td style="font-weight: bold">{{user[1]}}</td>
2021-11-15 00:22:03 +00:00
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}