forked from MarseyWorld/MarseyWorld
36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
{% extends "default.html" %}
|
|
{% block content %}
|
|
<pre>
|
|
|
|
|
|
</pre>
|
|
<h3 style="text-align: center">{{name2}}</h3>
|
|
<h5 class="font-weight-bold text-center mt-3">Total: {{total}}</h5>
|
|
<pre></pre>
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th>#</th>
|
|
<th>Name</th>
|
|
<th>{{name}}votes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="followers-table">
|
|
{% for user in users %}
|
|
<tr {% if v.id == user[0].id %}class="self"{% endif %}>
|
|
<td>{{loop.index}}</td>
|
|
<td><a style="color:#{{user[0].namecolor}}" href="/@{{user[0].username}}"><img loading="lazy" src="{{user[0].profile_url}}" class="pp20"><span {% if user[0].patron %}class="patron" style="background-color:#{{user[0].namecolor}}"{% endif %}>{{user[0].username}}</span></a></td>
|
|
<td><a href="{{request.path}}/{{user[0].id}}/posts">{{user[1]}}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
{% if pos and (pos[0] > 25 or not pos[1]) %}
|
|
<tr style="border-top:2px solid var(--primary)">
|
|
<td>{{pos[0]}}</td>
|
|
<td><a style="color:#{{v.namecolor}};font-weight:bold" href="/@{{v.username}}"><img loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>
|
|
<td><a href="{{request.path}}/{{v.id}}/posts">{{pos[1]}}</a></td>
|
|
</tr>
|
|
{% endif %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% endblock %} |