From 4d8f091715af2aa7bc2195e7c4d54655baa2e8b9 Mon Sep 17 00:00:00 2001 From: yann Date: Thu, 26 Jun 2025 15:08:51 +0200 Subject: [PATCH] added public list of club`s points --- server.py | 4 +++- templates/index.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 45dc6be..1288483 100644 --- a/server.py +++ b/server.py @@ -80,7 +80,9 @@ def purchasePlaces(): competitions=competitions, now=now) # TODO: Add route for points display - +@app.route('/points') +def displayPoints(): + return render_template('points.html', clubs=clubs) @app.route('/logout') def logout(): diff --git a/templates/index.html b/templates/index.html index 5bd9351..1340581 100644 --- a/templates/index.html +++ b/templates/index.html @@ -22,5 +22,6 @@ + Board of points