forked from MarseyWorld/MarseyWorld
37 lines
853 B
HTML
37 lines
853 B
HTML
{% 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>
|
|
<td>Following since</td>
|
|
{% if v.id == u.id %}
|
|
<th></th>
|
|
{% endif %}
|
|
</tr>
|
|
</thead>
|
|
<tbody id="followers-table">
|
|
{% for follow, user in users %}
|
|
<tr>
|
|
<td>{{loop.index}}</td>
|
|
<td>{% include "user_in_table.html" %}</td>
|
|
<td {% if follow.created_utc > 1599343262 %}data-time="{{follow.created_utc}}"{% endif %}></td>
|
|
{% if v.id == u.id %}
|
|
<td><div class="btn btn-danger" onclick="removeFollower(this, '{{user.username}}')">Remove follow</div></td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<script defer src="{{'js/followers.js' | asset}}"></script>
|
|
|
|
{% endblock %}
|