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 diff --git a/templates/points.html b/templates/points.html new file mode 100644 index 0000000..b5c9def --- /dev/null +++ b/templates/points.html @@ -0,0 +1,18 @@ + + + + + Board of clubs and points || GUDLFT + + +

Current points

+ + Back + + \ No newline at end of file