2021-10-15 14:08:27 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
{% block content %}
|
2022-02-13 01:08:20 +00:00
|
|
|
<script src="/static/assets/js/followers.js?a=241"></script>
|
2021-10-27 22:38:14 +00:00
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
2021-10-15 14:08:27 +00:00
|
|
|
<h5>@{{u.username}}'s followers</h5>
|
|
|
|
<pre></pre>
|
2022-01-03 10:59:29 +00:00
|
|
|
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
2021-10-15 14:08:27 +00:00
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
2022-02-24 12:03:28 +00:00
|
|
|
<th>#</th>
|
|
|
|
<th>Name</th>
|
2021-10-15 14:08:27 +00:00
|
|
|
{% if v.id == u.id %}
|
2022-02-24 12:03:28 +00:00
|
|
|
<th></th>
|
2021-10-15 14:08:27 +00:00
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="followers-table">
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
2022-02-24 12:03:28 +00:00
|
|
|
<td>{{loop.index}}</td>
|
|
|
|
<td><a style="color:#{{user.namecolor}}" href="/@{{user.username}}"><img loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}}"{% endif %}>{{user.username}}</span></a></td>
|
2021-10-15 14:08:27 +00:00
|
|
|
{% if v.id == u.id %}
|
2021-12-14 22:48:37 +00:00
|
|
|
<td><div class="btn btn-danger pr-2" onclick="removeFollower(event, '{{user.username}}')">Remove follow</div></td>
|
2021-10-15 14:08:27 +00:00
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2021-07-21 01:12:26 +00:00
|
|
|
{% endblock %}
|