none: formatting

This commit is contained in:
iritmaximus
2023-02-20 22:32:38 +02:00
parent 749e64d4d5
commit a4a70f58b4
+5 -8
View File
@@ -19,7 +19,6 @@ def navigate():
return render_template("home.html")
# TODO show 3 games with most times submitted
@app.route("/games")
def get_games():
games = query_games()
@@ -28,13 +27,16 @@ def get_games():
return render_template("games.html", games=games, games_exist=True)
# TODO show 3 courses with most activity
@app.route("/cups")
def get_cups():
return render_template("cups.html")
@app.route("/courses")
def get_courses():
return render_template("courses.html")
# TODO show 3 newest times submitted
@app.route("/times")
def get_times():
times = query_times()
@@ -61,11 +63,6 @@ def create_time():
return "Error: Incorrect method"
@app.route("/cups")
def get_cups():
return render_template("cups.html")
@app.route("/login", methods=["GET", "POST"])
def login():
if request.method == "GET":