diff --git a/app.py b/app.py index f07d47e..ab41020 100644 --- a/app.py +++ b/app.py @@ -32,6 +32,10 @@ def save_data(data): def index(): return render_template('index.html') +@app.route('/reports') +def reports(): + return render_template('reports.html') + @app.route('/api/data', methods=['GET']) def get_data(): return jsonify(load_data()) diff --git a/templates/index.html b/templates/index.html index 889a024..e1c13b6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -111,8 +111,9 @@
-
+
+ Reports
diff --git a/templates/reports.html b/templates/reports.html new file mode 100644 index 0000000..aef9aa3 --- /dev/null +++ b/templates/reports.html @@ -0,0 +1,93 @@ + + + + + Padel Nivelles - Reports + + + + + + Back to Attendance +
+

Attendance Count per Player

+ +
+
+

Player Attendance Share (Pie)

+ +
+ + + +