36 Commits

Author SHA1 Message Date
7273b76c52 fix: correct day-of-week mapping and show date preview errors
- Fix select values to match JS Date.getDay() (0=Sunday) so Thursday
  correctly generates Thursdays instead of Wednesdays
- Move dates-msg outside hidden preview-box so validation errors are visible

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 13:58:14 +01:00
35119f796f fix: allow accented characters in player and guest names
Extend validation regex to include Latin Extended Unicode range
(\u00C0-\u024F) covering é, è, à, ü, ö, etc. in backend and frontend.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 13:50:46 +01:00
a141cd32f2 feat: add clear season indicator on main attendance page
- Season label always visible above table (e.g. "Season 2025/2026")
- Green highlighted banner when viewing next season (" Next Season — 2026/2027")
- Next Season button turns green and active when selected

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 13:47:59 +01:00
1434e906fd feat: add season-aware views on main page and reports
- Main page: filter table by current season by default; show Next Season button when next season dates exist in DB
- Reports page: filter charts to current season; add Last Season toggle button when previous season data exists
- Admin archive: export all dates/players as CSV (no season filter)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 13:39:52 +01:00
abb3f47a57 feat: add admin page for date and player management
- Add active flag to Player model with idempotent ALTER TABLE migration
- Filter inactive players from main attendance table and API
- New /admin page with date generation (preview + bulk add) and player management (add/deactivate/reactivate)
- New API endpoints: GET/POST /api/players, PATCH /api/players/<id>
- Add Admin nav link on main page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 12:55:41 +01:00
4be8eb5607 feat: adapt umami script 2025-06-15 17:13:14 +02:00
0fcd6d60a4 feat: adapt Umami script in header of html 2025-06-15 16:45:40 +02:00
275d2cd229 feat: add index and reports pages with attendance tracking UI and analytics charts with Umami 2025-06-15 16:29:33 +02:00
b5d94aa59b Remove Export data button 2025-05-11 11:40:21 +02:00
0ac9ebd9ae Cosmetic update. Adapt on mouse over 2025-05-11 10:18:29 +02:00
00365460d4 Rounded guest boxes 2025-05-11 01:20:03 +02:00
09a63f78ba Manual Export Backup option in Report page 2025-05-10 23:39:44 +02:00
059e3915ed Cosmetic updates 2025-05-10 23:30:33 +02:00
f8be60254c Reports pie chart aspect ratio enhancement. 2025-05-10 23:21:30 +02:00
f2ead5dbac Reports resized 2025-05-10 23:12:36 +02:00
deedc2fad3 Reports side by side 2025-05-10 22:53:50 +02:00
4fe697f857 Align buttons left and Reports page 2025-05-10 22:48:23 +02:00
5e4aa9b18c Left Align title and add public holidays on mouse over 2025-05-10 22:27:51 +02:00
f3f6fed5a8 Favicon V2 2025-05-10 22:21:57 +02:00
d0cb8aa40a Favicon 2025-05-10 22:15:56 +02:00
1b21d364e7 Toggle added at the bottom. Future and all matches 2025-05-10 19:36:01 +02:00
d3a5af2117 Reverted to Yes No blank version. No extra menus 2025-05-10 18:37:43 +02:00
977fb5bc05 No header. Button under table. 2025-05-10 18:29:40 +02:00
3d34fdb5c9 Removed top header. Replaced with button at bottom of site. Removed add date functionality 2025-05-10 18:23:50 +02:00
418c2375e7 Top menu with show options V4 2025-05-10 18:17:41 +02:00
5eae0d3b2b Header menu with show options V3 2025-05-10 18:10:41 +02:00
28a86f3f8b Header menu with show options 2025-05-10 18:06:12 +02:00
caf1a1c611 Header row with show menu 2025-05-10 18:00:02 +02:00
9987faba08 3 options Yes, No, Blank 2025-05-10 17:51:54 +02:00
c0ecd7ae3d Nex color scheme 2025-05-10 17:18:32 +02:00
8d57bd32de Top row is sticky (freeze pane like) 2025-05-10 14:53:06 +02:00
89a34bc5c1 Cosmetic changes. Secondary text color and on mouse over effect. 2025-05-10 13:43:35 +02:00
430451d2b5 New title and color scheme 2025-05-10 13:27:05 +02:00
8256d34d55 feat: create initial HTML template for sport attendance system with responsive design 2025-05-10 13:10:57 +02:00
9313568e0d Adapted column length 2025-05-10 13:01:37 +02:00
e35c270f02 feat: create initial sport attendance system with Flask backend and interactive table UI 2025-05-10 10:27:20 +02:00