diff --git a/server.py b/server.py index d5cce5c41..e53d984e2 100644 --- a/server.py +++ b/server.py @@ -23,7 +23,7 @@ def loadCompetitions(): @app.route('/') def index(): - return render_template('index.html') + return render_template('index.html', clubs=clubs) @app.route('/showSummary',methods=['POST']) def showSummary(): diff --git a/templates/index.html b/templates/index.html index ae4e91eb1..3be9546c9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,5 +21,22 @@
| Club | +Points | +
|---|---|
| {{ club['name'] }} | +{{ club['points'] }} | +