fixed cob

This commit is contained in:
Dobromir Popov
2025-07-07 01:44:16 +03:00
parent c2c0e12a4b
commit 271e7d59b5
3 changed files with 113 additions and 6 deletions

View File

@ -145,6 +145,50 @@ class DashboardLayoutManager:
)
], className="mb-2"),
# Entry Aggressiveness Control
html.Div([
html.Label([
html.I(className="fas fa-bullseye me-1"),
"Entry Aggressiveness: ",
html.Span(id="entry-agg-display", children="0.5", className="fw-bold text-success")
], className="form-label small mb-1"),
dcc.Slider(
id='entry-aggressiveness-slider',
min=0.0,
max=1.0,
step=0.1,
value=0.5,
marks={
0.0: {'label': 'Conservative', 'style': {'fontSize': '7px'}},
0.5: {'label': 'Balanced', 'style': {'fontSize': '7px'}},
1.0: {'label': 'Aggressive', 'style': {'fontSize': '7px'}}
},
tooltip={"placement": "bottom", "always_visible": False}
)
], className="mb-2"),
# Exit Aggressiveness Control
html.Div([
html.Label([
html.I(className="fas fa-sign-out-alt me-1"),
"Exit Aggressiveness: ",
html.Span(id="exit-agg-display", children="0.5", className="fw-bold text-danger")
], className="form-label small mb-1"),
dcc.Slider(
id='exit-aggressiveness-slider',
min=0.0,
max=1.0,
step=0.1,
value=0.5,
marks={
0.0: {'label': 'Conservative', 'style': {'fontSize': '7px'}},
0.5: {'label': 'Balanced', 'style': {'fontSize': '7px'}},
1.0: {'label': 'Aggressive', 'style': {'fontSize': '7px'}}
},
tooltip={"placement": "bottom", "always_visible": False}
)
], className="mb-2"),
html.Button([
html.I(className="fas fa-trash me-1"),
"Clear Session"