2022-05-04 23:09:46 +00:00
|
|
|
{% extends "settings2.html" %}
|
|
|
|
|
|
|
|
{% block pagetitle %}Blocks{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1> Blocks</h1>
|
2022-10-29 00:38:39 +00:00
|
|
|
<div class="overflow-x-auto mt-3"><table class="table table-striped mb-5">
|
2022-05-04 23:09:46 +00:00
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>User</th>
|
|
|
|
<th>Target</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
|
|
|
<td>{{loop.index}}</td>
|
2022-10-06 23:31:09 +00:00
|
|
|
<td><a style="font-weight:bold;color:#{{user.name_color}}" href="/@{{user.username}}"><span {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %}>{{user.user_name}}</span></a></td>
|
|
|
|
<td><a style="font-weight:bold;color:#{{targets[loop.index-1].name_color}}" href="/@{{targets[loop.index-1].username}}"><span {% if targets[loop.index-1].patron %}class="patron" style="background-color:#{{targets[loop.index-1].name_color}}"{% endif %}>{{targets[loop.index-1].user_name}}</span></a></td>
|
2022-05-04 23:09:46 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|