2024-02-05 04:18:50 +00:00
|
|
|
{% extends "meta_navbar.html" %}
|
2022-05-04 23:09:46 +00:00
|
|
|
{% block pagetitle %}Blocks{% endblock %}
|
|
|
|
{% block content %}
|
2023-10-29 12:51:00 +00:00
|
|
|
<h5 class="font-weight-bolder text-center pt-2 pb-3"><span>Blocks</span></h5>
|
|
|
|
<div class="overflow-x-auto mt-3">
|
2024-02-12 14:18:13 +00:00
|
|
|
<table>
|
|
|
|
<thead>
|
2023-10-29 12:51:00 +00:00
|
|
|
<tr>
|
2024-02-02 21:49:01 +00:00
|
|
|
<th class="disable-sort-click" {% if sort=="user" %}disabled{% endif %}>
|
|
|
|
<a href="?sort=user">User</a>
|
|
|
|
</th>
|
|
|
|
<th class="disable-sort-click" {% if sort=="target" %}disabled{% endif %}>
|
|
|
|
<a href="?sort=target">Target</a>
|
|
|
|
</th>
|
|
|
|
<th class="disable-sort-click" {% if sort=="time" %}disabled{% endif %}>
|
|
|
|
<a href="?sort=time">Blocked on</a>
|
|
|
|
</th>
|
2023-10-29 12:51:00 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for block in blocks %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{% with user = block.user %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{% with user = block.target %}
|
|
|
|
{% include "user_in_table.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</td>
|
|
|
|
<td data-time="{{block.created_utc}}"></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% endblock %}
|
2024-02-02 21:49:01 +00:00
|
|
|
|
|
|
|
{% block pagenav %}
|
2024-03-03 01:25:02 +00:00
|
|
|
{{macros.pagination()}}
|
2024-02-02 21:49:01 +00:00
|
|
|
{% endblock %}
|