diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 83c9517ac..06f43e6e5 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7704,12 +7704,6 @@ thead { } } -@media (min-width: 768px) { - #group-warning { - max-width: 50% - } -} - input[type="search"]::-webkit-search-cancel-button { display: none; } diff --git a/files/routes/holes.py b/files/routes/holes.py index 7f24c822c..b72d51236 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -366,16 +366,6 @@ def remove_mod(v, hole): return {"message": f"@{user.username} has been removed as a mod!"} -@app.get("/create_hole") -@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400) -@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID) -@auth_required -def create_sub(v): - if not v.can_create_hole: - abort(403) - - return render_template("hole/create_hole.html", v=v, cost=HOLE_COST) - @app.post("/create_hole") @limiter.limit('1/second', scope=rpath) @limiter.limit('1/second', scope=rpath, key_func=get_ID) @@ -672,7 +662,7 @@ def hole_marsey(v, hole): def subs(v): holes = g.db.query(Hole, func.count(Post.hole)).outerjoin(Post, Hole.name == Post.hole).group_by(Hole.name).order_by(Hole.created_utc).all() total_users = g.db.query(User).count() - return render_template('hole/holes.html', v=v, holes=holes, total_users=total_users) + return render_template('hole/holes.html', v=v, cost=HOLE_COST, holes=holes, total_users=total_users) @app.post("/hole_pin/") @limiter.limit('1/second', scope=rpath) diff --git a/files/templates/groups.html b/files/templates/groups.html index 8f6aaa17b..f650e8767 100644 --- a/files/templates/groups.html +++ b/files/templates/groups.html @@ -1,76 +1,73 @@ {% extends "default.html" %} {% block pagetitle %}Ping Groups{% endblock %} {% block content %} -
-

Create Ping Group

-
-
-
-
-
- - - - 3-25 characters, including letters, numbers, _ , and - -