4 Commits

Author SHA1 Message Date
6a0df0bdc7 feat(public): enhance system metrics display and user interface
- Added a main title to the index.html for better context.
- Introduced a new stats container to organize summary and detail statistics.
- Implemented a refresh animation for loading stats, improving user experience.
- Updated the updateStats function to streamline data handling and display.
- Enhanced the metrics section with improved formatting and error handling.
- Refined CSS styles for better visual presentation and responsiveness.
- Ensured a cleaner layout for system metrics and top referers, contributing to a more intuitive interface.
2024-12-01 02:47:23 +08:00
e70ca4cf52 feat(docker, config, api): update docker-compose for logging, enhance app structure, and add system metrics display
- Updated docker-compose.yml to mount logs directory.
- Changed BASE_URL environment variable to point to the new API endpoint.
- Refactored main.go to implement a structured App type, improving initialization and graceful shutdown.
- Enhanced config management with JSON loading and environment variable support.
- Added monitoring capabilities in api_handler for logging request metrics.
- Introduced new metrics display in index.html with corresponding CSS styles for better visualization.
2024-11-30 23:23:58 +08:00
abd9c75e7f style(public/css, public/index.html): Update fade class and endpoint-link color, fetch stats from local server, add view column and update interval 2024-10-27 20:57:27 +08:00
861835ef92 feat(public): update index.html, add main.css, and enhance stats display 2024-10-27 06:00:10 +08:00