rDrama/files/templates/admin/shadowbanned.html

42 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2024-02-05 04:17:39 +00:00
{% extends "default.html" %}
[DO NOT MERGE] titlesssssssssss (#468) * titles * testing * self * Revert "self" This reverts commit d6c12d5a5ba125feb44673f55e1fdac75f151cb5. * Revert "testing" This reverts commit 86d800f9fd552196b31f0e0b3891d4fc072a9bc0. * testing on devrama * rewrite the html head * reference error or smth idk * tempalte debug * template debug redux * default2 * rename default2 -> root, page title * fix settings2 * include the set_variables block * root scope variables 2 * test 3 * remove unnecessary set * add pagetitles to all settings2 pages * add pagetitle to casino * remove bloat * remove duplicate site name thingy * page titles 2 * page titles 3 * remove duplicate imports and add page titles everywhere iirc * ok but actually this time * remove unnecessary newlines * fix title lol * > * fsdfsfsfsfsfs * fsfs * template configurations * fix 500 * reduce login template bloat * move files and add status codes where needful * move authfroms to login * remove 2fa bloat * verification code * sign up fixes * readability * fssfsfsfs * move forgot password to login/ * readability * don't emit comments * add page titles where needful * gsgsgs * modals: move to respective pages * testing on devrama * get home garbage out of title * remove insane amount of icon duplication * sign up text * add votes pagetitle * fix blank lines * Revert "fix blank lines" This reverts commit b2c54339970725d00b6fc82bb458c1757909952c. * Fix blank lines on sign_up.html. * title: votes.html more meaningful identifier. * titles: Lottery, Directory, Notifications * head final in submission.html * fix missing comma * > * test * title: /comments * fsfsfsfsf * titles: user_cards * head: only load video and audio meta attributes if they actually exist * titlessssss: /admin/lottery/participants * titlessssssss: extra quote in search.html * titlessssss: userpage voters. * titties: /h/<sub>/{followers,blockers,exilees[sic]} * test banner * Revert "test banner" This reverts commit c3d875d03f3e60d72a60dab7d28bf108554a5826. * make submit.html inherit from default.html Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 08:52:22 +00:00
{% block pagetitle %}Shadowbanned Users{% endblock %}
2021-11-23 00:04:13 +00:00
{% block content %}
2023-10-29 12:51:00 +00:00
<h5 class="my-4">Shadowbanned Users</h5>
<div class="overflow-x-auto">
<table>
<thead>
2023-10-29 12:51:00 +00:00
<tr>
2024-02-02 23:15:12 +00:00
<th class="disable-sort-click" {% if sort=="name" %}disabled{% endif %}>
<a href="?sort=name">Name</a>
</th>
<th class="disable-sort-click" {% if sort=="truescore" %}disabled{% endif %}>
<a href="?sort=truescore">Truescore</a>
</th>
<th class="disable-sort-click" {% if sort=="shadowban_reason" %}disabled{% endif %}>
<a href="?sort=shadowban_reason">Shadowban reason</a>
</th>
<th class="disable-sort-click" {% if sort=="shadowbanned_by" %}disabled{% endif %}>
<a href="?sort=shadowbanned_by">Shadowbanned by</a>
</th>
<th class="disable-sort-click" {% if sort=="last_active" %}disabled{% endif %}>
<a href="?sort=last_active">Last Active</a>
</th>
2023-10-29 12:51:00 +00:00
</tr>
</thead>
{% for user in users %}
<tr>
<td data-sort="{{user.username.lower() if user else ''}}">{%- include 'user_in_table.html' -%}</td>
2023-10-29 12:51:00 +00:00
<td>{{user.truescore}}</td>
<td>{{user.shadowban_reason | safe}}</td>
2024-02-02 23:18:11 +00:00
<td><a href="/{{user.shadowbanned_by}}">{{user.shadowbanned_by}}</a></td>
<td {% if user.last_active %}data-time="{{user.last_active}}"{% endif %}></td>
2023-10-29 12:51:00 +00:00
</tr>
{% endfor %}
</table>
</div>
2021-11-23 00:04:13 +00:00
{% endblock %}
2024-02-02 23:15:12 +00:00
{% block pagenav %}
2024-03-03 01:25:02 +00:00
{{macros.pagination()}}
2024-02-02 23:15:12 +00:00
{% endblock %}