Commit Graph

21 Commits

Author SHA1 Message Date
herel cd32efb657 feat: redesign UI with Tailwind CSS and improve event display 2025-10-15 15:59:57 +02:00
herel 781d7000cd feat: display staff information and improve empty state handling in game details modal 2025-09-29 20:17:23 +02:00
herel 68ecce7d3a feat: layout filters horizontally 2025-08-20 11:10:06 +02:00
herel 702c425476 feat: add secondary agegroup selector for subgroup filtering
- Added subgroup dropdown selector to filter events by team within agegroup
- Implemented logic to populate subgroup options based on selected agegroup
- Updated event filtering to support both agegroup and subgroup criteria
- Added event listeners for real-time filtering when selectors change
2025-08-20 10:17:00 +02:00
herel dac110cee0 feat: auto-load events on login and improve player display in event details
- Automatically load events when user logs in
- Rename updateAccountOptions to updateAccountOptionsAndLoadEvents
- Add auto-fetch of events after account selection
- Enhance event details modal with:
  * Player count summary
  * Position breakdown
  * Players sorted by position first, then by number
  * Position displayed in player list
2025-08-19 19:21:50 +02:00
herel 0fd58848f2 chore: add event title 2025-08-19 19:12:45 +02:00
herel 08aa3f6a0e feat: update agegroup filter to show only agegroup and filter accordingly 2025-08-19 19:06:24 +02:00
herel a86cf76228 fix: improve UI layout and add loading indicator for events 2025-08-19 18:48:56 +02:00
herel 3ab3273fba fix: finalize UI improvements and ensure all functionality works
Final adjustments to UI layout and positioning. Ensured all JavaScript functions are properly connected and working. Verified event loading functionality is fully restored.
2025-08-19 16:12:51 +02:00
herel a17467c313 fix: restore event loading functionality and improve UI layout
Fixed incomplete fetchEvents function by adding missing data processing logic. Restored updateAgeGroupOptions, displayEvents, and fetchEventDetails functions. Moved connected user info to top-right corner. Hide title when logged in. Reduced vertical spacing for better layout. Made event filters more compact. All functionality restored and UI improved.
2025-08-19 16:09:57 +02:00
herel 9c6df3f6a2 feat: enhance login button styling and fix JavaScript syntax errors
Centered the login button on the page with improved styling including padding and shadow effects. Fixed JavaScript syntax errors in the event handling code. Removed unmatched closing div tags to ensure valid HTML structure.
2025-08-19 15:49:28 +02:00
herel a17065b280 fix: improve user authentication and account handling
Fixed issues with user display by fetching user info from userinfo endpoint

Improved error handling for JSON responses in schedule endpoint

Fixed account selection to use available accounts from config instead of default

Enhanced frontend to properly handle API responses and errors
2025-08-19 15:17:45 +02:00
herel 5f12fb08b8 fix: improve authentication handling and error management 2025-08-19 15:04:53 +02:00
herel a2e44b6f50 feat: implement OpenID Connect authentication with Infomaniak 2025-08-19 11:16:07 +02:00
herel 66b93af6b1 feat: add account selection support in web UI
Add support for multiple MyIce accounts in the web interface:

- Create /accounts endpoint to fetch available accounts from config files

- Update index.html to dynamically show available accounts

- Modify /schedule and /game endpoints to accept account parameter

- Store selected account in localStorage for persistence
2025-08-18 22:10:24 +02:00
herel 2bd10409a1 chore: change title and aligment 2025-03-13 08:51:18 +01:00
herel f1955238c5 fix: sort players by number 2025-03-12 11:59:22 +01:00
herel 8af989f372 fix: add favicon to docker and load events immediately 2025-03-12 11:53:55 +01:00
herel 28b34d8281 fix: webapi schedule uses mobile api endpoint 2025-03-12 11:46:20 +01:00
herel 251e2b1452 fix: favicon and some stuff 2025-03-12 11:15:45 +01:00
herel 4c5867c19f feat: add webapi, lower python version requirement and add a Dockerfile 2025-03-12 10:52:11 +01:00