From a439eeef8ef94af4c8effbc3335d01994b6cc6a2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 19 Sep 2021 23:06:48 +0200 Subject: [PATCH] fsdfs --- files/routes/static.py | 6 ++++++ files/templates/modlog.html | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 files/templates/modlog.html diff --git a/files/routes/static.py b/files/routes/static.py index 889639f261..246c6c7b39 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -90,6 +90,12 @@ def admins(v): admins = g.db.query(User).options(lazyload('*')).filter_by(admin_level=6).order_by(User.coins.desc()).all() return render_template("admins.html", v=v, admins=admins) + +@app.get("/log") +@auth_desired +def log(v): + return render_template("modlog.html", v=v) + # @app.get("/log") # @auth_desired # def log(v): diff --git a/files/templates/modlog.html b/files/templates/modlog.html new file mode 100644 index 0000000000..e4b815ca4c --- /dev/null +++ b/files/templates/modlog.html @@ -0,0 +1,18 @@ +{% extends "errors/default.html" %} + +{% block title %} +Log +{% endblock %} + +{% block pagetype %}Log{% endblock %} + +{% block content %} +
+
+
+

+			

Hiding the modlog is unironically something we can't stand for. Transparent moderation is the only thing that makes this site any better from Reddit in regards to free speech while still not being retarded like Ruqqus.

+
+
+
+{% endblock %}