dash and training wip

This commit is contained in:
Dobromir Popov
2025-09-02 15:30:05 +03:00
parent 443e8e746f
commit 1b54438082
14 changed files with 270 additions and 197 deletions

View File

@@ -153,6 +153,29 @@ class DashboardLayoutManager:
tooltip={"placement": "bottom", "always_visible": False}
)
], className="mb-2"),
# Training Controls
html.Div([
html.Label([
html.I(className="fas fa-play me-1"),
"Training Controls"
], className="form-label small mb-1"),
html.Div([
html.Button([
html.I(className="fas fa-play me-1"),
"Start Training"
], id="start-training-btn", className="btn btn-success btn-sm me-2",
style={"fontSize": "10px", "padding": "2px 8px"}),
html.Button([
html.I(className="fas fa-stop me-1"),
"Stop Training"
], id="stop-training-btn", className="btn btn-danger btn-sm",
style={"fontSize": "10px", "padding": "2px 8px"})
], className="d-flex align-items-center mb-1"),
html.Div([
html.Span("Training:", className="small me-1"),
html.Span(id="training-status", children="Idle", className="badge bg-secondary small")
])
], className="mb-2"),
# Entry Aggressiveness Control
html.Div([