fix broken merge
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user