forked from MarseyWorld/MarseyWorld
vxc
parent
5a0eb9e41c
commit
c7d26608c4
|
@ -377,7 +377,7 @@ def blocks(v):
|
|||
@auth_desired
|
||||
def banned(v):
|
||||
|
||||
users = [x for x in g.db.query(User).filter(User.is_banned > 0, User.unban_utc == 0).order_by(User.is_banned).all()]
|
||||
users = [x for x in g.db.query(User).filter(User.is_banned > 0, User.unban_utc == 0).all()]
|
||||
if not v or v.oldsite: template = ''
|
||||
else: template = 'CHRISTMAS/'
|
||||
return render_template(f"{template}banned.html", v=v, users=users)
|
||||
|
|
|
@ -31,7 +31,7 @@ def grassed(v):
|
|||
@app.get("/agendaposters")
|
||||
@auth_desired
|
||||
def agendaposters(v):
|
||||
users = [x for x in g.db.query(User).filter_by(agendaposter = True).all()]
|
||||
users = [x for x in g.db.query(User).filter_by(agendaposter = True).order_by(User.username).all()]
|
||||
if not v or v.oldsite: template = ''
|
||||
else: template = 'CHRISTMAS/'
|
||||
return render_template(f"{template}agendaposters.html", v=v, users=users)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<script src="/static/assets/js/sort_table.js?a=3"></script>
|
||||
<script src="/static/assets/js/sort_table.js?a=4"></script>
|
||||
|
||||
<pre class="d-none d-md-inline-block"></pre>
|
||||
<h5 style="font-weight:bold;">Admins</h5>
|
||||
|
|
Loading…
Reference in New Issue