mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-19 09:44:52 +00:00
Make HTML templates
This commit is contained in:
parent
0d07a3391b
commit
4088432e99
5 changed files with 15 additions and 45 deletions
|
@ -23,7 +23,7 @@ class ScoreForm(FlaskForm):
|
|||
@cache.cached(timeout=60)
|
||||
def index():
|
||||
top_scores = Scores.query.order_by(Scores.score.desc()).limit(10).all()
|
||||
return render_template('scores.html', top_scores=top_scores, show_sub=True)
|
||||
return render_template('scores.html', top_scores=top_scores)
|
||||
|
||||
|
||||
@blueprint.route('/post', methods=['POST'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue