2021-07-25 21:59:20 +00:00
|
|
|
{% extends "settings2.html" %}
|
2021-07-21 01:12:26 +00:00
|
|
|
|
|
|
|
{% block pagetitle %}Blocks{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1> Blocks</h1>
|
|
|
|
<pre></pre>
|
|
|
|
<table class="table table-striped mb-5">
|
|
|
|
<thead class="bg-primary text-white">
|
|
|
|
<tr>
|
|
|
|
<th style="font-weight:bold;">User</th>
|
|
|
|
<th style="font-weight:bold;">Target</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for user in users %}
|
|
|
|
<tr>
|
2021-08-11 17:28:51 +00:00
|
|
|
<td><a {% if user.patron %}class="patron"{% endif %} style="font-weight:bold;color:#{{user.namecolor}}; {% if user.patron %}background-color:#{{user.namecolor}};{% endif %}" href="/@{{user.username}}">{{user.username}}</a></td>
|
|
|
|
<td><a {% if targets[loop.index-1].patron %}class="patron"{% endif %} style="font-weight:bold;color:#{{targets[loop.index-1].namecolor}}; {% if targets[loop.index-1].patron %}background-color:#{{targets[loop.index-1].namecolor}};{% endif %}" href="/@{{targets[loop.index-1].username}}">{{targets[loop.index-1].username}}</a></td>
|
2021-07-21 01:12:26 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|