MarseyWorld/files/templates/blockers.html

26 lines
635 B
HTML

{% extends "default.html" %}
{% block content %}
<h5 class="mt-3">@{{u.username}}'s blockers</h5>
<div class="overflow-x-auto mt-1"><table class="table table-striped mb-5">
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
<td>Blocking since</td>
</tr>
</thead>
<tbody id="blockers-table">
{% for block, user in users %}
<tr>
<td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td>
<td {% if block.created_utc > 1599343262 %}data-time="{{block.created_utc}}"{% endif %}></td>
</tr>
{% endfor %}
</tbody>
</table>
<script defer src="{{'js/blockers.js' | asset}}"></script>
{% endblock %}