MarseyWorld/files/templates/blockers.html

26 lines
635 B
HTML
Raw Normal View History

2022-09-23 12:58:33 +00:00
{% 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">
2022-09-23 12:58:33 +00:00
<thead class="bg-primary text-white">
<tr>
<th>#</th>
<th>Name</th>
<td>Blocking since</td>
2022-09-23 12:58:33 +00:00
</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>
2022-09-23 12:58:33 +00:00
{% endblock %}