fix broken merge

This commit is contained in:
Dobromir Popov
2025-10-08 20:02:41 +03:00
parent a468c75c47
commit 270ba2e52b
12 changed files with 493 additions and 86 deletions

View File

@@ -16,7 +16,13 @@ class DashboardLayoutManager:
self.dashboard = dashboard
def create_main_layout(self):
"""Create the main dashboard layout"""
return html.Div([
self._create_header(),
self._create_main_content(),
self._create_interval_component()
], className="container-fluid bg-dark text-light min-vh-100")
def _create_prediction_tracking_section(self):
"""Create prediction tracking and model performance section"""
return html.Div([
@@ -250,7 +256,12 @@ class DashboardLayoutManager:
], className="bg-dark p-2 mb-2")
def _create_interval_component(self):
])
"""Create the interval component for auto-refresh"""
return dcc.Interval(
id='interval-component',
interval=2000, # Update every 2 seconds
n_intervals=0
)
def _create_main_content(self):
"""Create the main content area"""