6 Commits

Author SHA1 Message Date
Jonas Hahn
c04466835e implemented radio button system for entering the games 2025-08-27 15:22:13 +02:00
Jonas Hahn
9595da7a53 Better deployment with air. Colorized history. Fixed table bugs. Table will be added to game if coming from QR code. With tables in the history. App could be deployed now 2025-08-27 15:00:52 +02:00
Jonas Hahn
f5e5d5632d Made the elo system work. Colorized the leaderboard. Better data structure. Improved the HTML. Custom form system. Added Sessions 2025-08-25 14:56:59 +02:00
Jonas Hahn
4b4377a24e Refactor project structure and update configurations. Now first working version
- Updated `.air.conf` for Nix compatibility and simplified build commands.
- Enhanced `.gitignore` to include `tmp` directory.
- Improved `README.md` with clearer instructions and added language details.
- Refined CSS styles for better UI consistency and added alert styles.
- Upgraded `flake.nix` to use Go 1.24 and improved shell environment setup.
- Modified authentication logic in `auth.go` for better user handling.
- Updated `main.go` to dynamically set the listening port and improved logging.
- Added new `routes.go` file for handling game entry and history.
- Enhanced user models and added statistics tracking in `models.go`.
- Improved template rendering and added user feedback messages in HTML templates.
- Removed obsolete build error logs and binaries.
2025-08-24 12:08:14 +02:00
Jonas Hahn
c9a3196ccb Changed the templating engine to a custom one. First bugged working example 2025-08-23 10:43:12 +02:00
Jonas Hahn
6f53cddf6c First not working app skeleton with nix support and dependency setup and generated logo not final structure 2025-08-22 18:33:34 +02:00