Enhance index.html and JavaScript for improved flavor statistics display

- Updated index.html to include additional flavor statistics with dynamic data binding for second and third common flavors.
- Refactored JavaScript functions to handle multiple elements for flavor statistics, ensuring accurate updates and removal of loading animations.
- Improved user experience by providing clearer visual representation of flavor data on the dashboard.
This commit is contained in:
2026-02-07 17:21:28 +03:00
parent fd03c22042
commit d61ea6eef8
2 changed files with 31 additions and 6 deletions

View File

@@ -69,6 +69,9 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
# COOP ignored on non-HTTPS / non-localhost; disable to avoid console warning
SECURE_CROSS_ORIGIN_OPENER_POLICY = None
ROOT_URLCONF = 'watcher_visio.urls'
TEMPLATES = [