fds
This commit is contained in:
parent
1ac54d0351
commit
29fae66996
6 changed files with 11 additions and 12 deletions
|
@ -19,6 +19,8 @@ for k, val in result.items():
|
|||
|
||||
del result
|
||||
|
||||
marseys = dict(sorted(marseys.items(), key=lambda x: x[1]))
|
||||
|
||||
if SITE == 'rdrama.net':
|
||||
topmakers = {}
|
||||
for k, val in marseys.items():
|
||||
|
|
|
@ -272,7 +272,7 @@ def post_sidebar(v):
|
|||
@auth_required
|
||||
def shadowbanned(v):
|
||||
if not (v and v.admin_level > 1): abort(404)
|
||||
users = [x for x in g.db.query(User).filter(User.shadowbanned != None).all()]
|
||||
users = [x for x in g.db.query(User).filter(User.shadowbanned != None).order_by(User.shadowbanned).all()]
|
||||
if not v or v.oldsite: template = ''
|
||||
else: template = 'CHRISTMAS/'
|
||||
return render_template(f"{template}shadowbanned.html", v=v, users=users)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th style="font-weight:bold;">#</th>
|
||||
<th role="button" onclick="sort_table(1)" style="font-weight:bold;">Name</th>
|
||||
<th style="font-weight:bold;">Name</th>
|
||||
<th role="button" onclick="sort_table2(2)" style="font-weight:bold; text-align:right;">Truescore</th>
|
||||
<th role="button" onclick="sort_table2(3)" style="font-weight:bold; text-align:right;">Mod actions</th>
|
||||
</tr>
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
{% extends "settings2.html" %}
|
||||
|
||||
{% block content %}
|
||||
<script src="/static/assets/js/sort_table.js?a=3"></script>
|
||||
|
||||
<div class="overflow-x-auto">
|
||||
<table id="sortable_table" class="table table-striped mb-5 text-small-mobile">
|
||||
<table class="table table-striped mb-5 text-small-mobile">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th style="font-weight:bold;">#</th>
|
||||
<th role="button" onclick="sort_table(1)" style="font-weight:bold;">Name</th>
|
||||
<th role="button" onclick="sort_table(2)" style="font-weight:bold;">Grasser</th>
|
||||
<th style="font-weight:bold;">Name</th>
|
||||
<th style="font-weight:bold;">Grasser</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for user in users %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
|
||||
</pre>
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5">
|
||||
<div class="overflow-x-auto"><table class="table table-striped mb-5 text-small">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th style="font-weight: bold">#</th>
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
{% extends "settings2.html" %}
|
||||
|
||||
{% block content %}
|
||||
<script src="/static/assets/js/sort_table.js?a=3"></script>
|
||||
|
||||
<div class="overflow-x-auto">
|
||||
<table id="sortable_table" class="table table-striped mb-5 text-small-mobile">
|
||||
<table class="table table-striped mb-5 text-small-mobile">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th style="font-weight:bold;">#</th>
|
||||
<th role="button" onclick="sort_table(1)" style="font-weight:bold;">Name</th>
|
||||
<th role="button" onclick="sort_table(2)" style="font-weight:bold;">Shadowbanned by</th>
|
||||
<th style="font-weight:bold;">Name</th>
|
||||
<th style="font-weight:bold;">Shadowbanned by</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for user in users %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue