mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-19 09:44:52 +00:00
Yeet useless tables
Yeet useless data paths in dockerfile Add order into templates file
This commit is contained in:
parent
b19dedc568
commit
300c80fcd5
17 changed files with 86 additions and 106 deletions
|
@ -27,13 +27,17 @@ def index():
|
|||
scores = scores.order_by(Scores.score.asc()).limit(MAX_TOP_SCORES).all()
|
||||
|
||||
return render_template(
|
||||
"scores.html", scores=scores, diff=int(diff_arg), ver=ver_arg, user=user_arg
|
||||
"views/scores.html",
|
||||
scores=scores,
|
||||
diff=int(diff_arg),
|
||||
ver=ver_arg,
|
||||
user=user_arg
|
||||
)
|
||||
|
||||
|
||||
@blueprint.route("/about")
|
||||
def about():
|
||||
return render_template("about.html")
|
||||
return render_template("views/about.html")
|
||||
|
||||
|
||||
@blueprint.route("/settings", methods=["GET"])
|
||||
|
@ -51,4 +55,4 @@ def settings():
|
|||
flash("Insert password change function", "error")
|
||||
|
||||
sessions = Sessions.query.filter_by(user_id=current_user.id).all()
|
||||
return render_template("settings.html", sessions=sessions)
|
||||
return render_template("views/settings.html", sessions=sessions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue