master
kek7198 2021-12-12 20:56:28 -06:00
parent 63cc0fd752
commit d6af81f6b4
1 changed files with 22 additions and 25 deletions

View File

@ -1,28 +1,25 @@
{% extends "default.html" %} {% extends "default.html" %}
{% block content %} {% block content %}
<pre> <div class="col-span-full">
<h5 style="text-align: center">{{name2}}</h5>
<pre></pre>
</pre> <table class="table table-striped mb-5">
<h5 style="text-align: center">{{name2}}</h5> <thead class="bg-primary text-white">
<pre></pre>
<table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr> <tr>
<th style="font-weight: bold">#</th> <th style="font-weight: bold">#</th>
<th style="font-weight: bold">Name</th> <th style="font-weight: bold">Name</th>
<th style="font-weight: bold">{{name}}votes</th> <th style="font-weight: bold">{{name}}votes</th>
</tr> </tr>
</thead> </thead>
<tbody id="followers-table"> <tbody id="followers-table">
{% for user in users %} {% for user in users %}
<tr> <tr>
<td style="font-weight: bold">{{loop.index}}</td> <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><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> <td style="font-weight: bold">{{user[1]}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
{% endblock %} {% endblock %}