From 4fe697f857a08465aa7a512cf641e85eaccb9917 Mon Sep 17 00:00:00 2001
From: Greg
Date: Sat, 10 May 2025 22:48:23 +0200
Subject: [PATCH] Align buttons left and Reports page
---
app.py | 4 ++
templates/index.html | 3 +-
templates/reports.html | 93 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 99 insertions(+), 1 deletion(-)
create mode 100644 templates/reports.html
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 @@
-
+ Back to Attendance
+
+
Attendance Count per Player
+
+
+
+
Player Attendance Share (Pie)
+
+
+
+
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 @@
+
+
+