diff --git a/files/routes/subs.py b/files/routes/subs.py index 45fb64a7d..11773a252 100644 --- a/files/routes/subs.py +++ b/files/routes/subs.py @@ -460,9 +460,10 @@ def sub_sidebar(v, sub): return redirect(f'/h/{sub.name}/settings') -@app.get("/sub_toggle/") +@app.post("/sub_toggle") @auth_required -def sub_toggle(mode, v): +def sub_toggle(v): + mode = request.values.get('mode') try: mode = int(mode) except: abort(400) diff --git a/files/templates/admin/alt_votes.html b/files/templates/admin/alt_votes.html index 69751aa93..63a832cfc 100644 --- a/files/templates/admin/alt_votes.html +++ b/files/templates/admin/alt_votes.html @@ -74,9 +74,9 @@ Link Accounts
- - - + + +
diff --git a/files/templates/admin/app.html b/files/templates/admin/app.html index 9d62cdf28..0b31c23f4 100644 --- a/files/templates/admin/app.html +++ b/files/templates/admin/app.html @@ -19,7 +19,7 @@
- + diff --git a/files/templates/admin/awards.html b/files/templates/admin/awards.html index 164bbacb9..aed7bb5cb 100644 --- a/files/templates/admin/awards.html +++ b/files/templates/admin/awards.html @@ -36,7 +36,7 @@
User Award Grant
- +
diff --git a/files/templates/admin/badge_grant.html b/files/templates/admin/badge_grant.html index 9987aa7f7..984f49222 100644 --- a/files/templates/admin/badge_grant.html +++ b/files/templates/admin/badge_grant.html @@ -36,7 +36,7 @@
Badge Grant
- +
diff --git a/files/templates/admin/badge_remove.html b/files/templates/admin/badge_remove.html index 14654b8c4..9c1be65a0 100644 --- a/files/templates/admin/badge_remove.html +++ b/files/templates/admin/badge_remove.html @@ -36,7 +36,7 @@
Badge Remove
- +
diff --git a/files/templates/admin/banned_domains.html b/files/templates/admin/banned_domains.html index d55f6ed8c..e7447de7f 100644 --- a/files/templates/admin/banned_domains.html +++ b/files/templates/admin/banned_domains.html @@ -28,7 +28,7 @@ - + diff --git a/files/templates/admin/sidebar.html b/files/templates/admin/sidebar.html index ab5d6e1c4..c0d687faa 100644 --- a/files/templates/admin/sidebar.html +++ b/files/templates/admin/sidebar.html @@ -26,7 +26,7 @@
- +
diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index 8f59f0d61..d97e223e8 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -10,7 +10,7 @@