diff --git a/files/routes/users.py b/files/routes/users.py index 5815d18be..ca7e80f32 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -305,6 +305,11 @@ def unsubscribe(v, post_id): g.db.commit() return {"message": "Post unsubscribed!"} +@app.get("/report_bugs") +@auth_required +def reportbugs(v): + return render_template("reportbugs.html", v=v) + @app.post("/@/message") @limiter.limit("1/second") @limiter.limit("10/hour") diff --git a/files/templates/header.html b/files/templates/header.html index 5d854bf93..a6336fb81 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -133,7 +133,7 @@ Source code - Report bugs + Report bugs Discord Donate @@ -191,7 +191,7 @@ Source code - Report bugs + Report bugs Discord Donate diff --git a/files/templates/reportbugs.html b/files/templates/reportbugs.html new file mode 100644 index 000000000..584d0b717 --- /dev/null +++ b/files/templates/reportbugs.html @@ -0,0 +1,19 @@ +{% extends "default.html" %} + +{% block content %} +

Report a bug

+
+

+		
+		

+		
+		 
+		
+		 
+		
+		 
+		
+		 
+		
+	
+{% endblock %} \ No newline at end of file