2022-05-04 23:09:46 +00:00
|
|
|
{% extends "default.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<pre>
|
|
|
|
|
|
|
|
|
|
|
|
</pre>
|
|
|
|
<h5>@{{u.username}}'s followers</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>
|
|
|
|
{% if v.id == u.id %}
|
|
|
|
<th></th>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="followers-table">
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
|
|
|
<td>{{loop.index}}</td>
|
2022-08-27 02:57:19 +00:00
|
|
|
<td><a style="color:#{{user.name_color}}" href="/@{{user.username}}"><img loading="lazy" src="{{user.profile_url}}" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %}>{{user.username}}</span></a></td>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% if v.id == u.id %}
|
|
|
|
<td><div class="btn btn-danger pr-2" onclick="removeFollower(event, '{{user.username}}')">Remove follow</div></td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2022-09-04 23:50:43 +00:00
|
|
|
<script src="/assets/js/followers.js?v=4000"></script>
|
2022-07-09 08:35:47 +00:00
|
|
|
|
2021-07-21 01:12:26 +00:00
|
|
|
{% endblock %}
|