Streamlit Control Dashboard Phase 3:
- Add auto-refresh toggle to all main pages (10s/30s/60s intervals)
- Add permission-aware UI with can_write() and is_admin() helpers
- Containers page: tabs (All/Running/Stopped), search filter, info panels
- Security page: better CrowdSec parsing, threat table, raw data viewer
- Streamlit apps page: restart button, delete confirmation dialog
- Network page: HAProxy filter, WireGuard/DNS placeholders
fix(crowdsec-dashboard): Handle RPC error codes in overview.js
Fix TypeError when CrowdSec RPC returns error code instead of object.
Added type check to treat non-objects as empty {} in render/pollData.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
396 B
TOML
23 lines
396 B
TOML
[server]
|
|
headless = true
|
|
address = "0.0.0.0"
|
|
port = 8531
|
|
enableCORS = false
|
|
enableXsrfProtection = true
|
|
|
|
[browser]
|
|
gatherUsageStats = false
|
|
serverAddress = "control.gk2.secubox.in"
|
|
serverPort = 443
|
|
|
|
[theme]
|
|
base = "dark"
|
|
primaryColor = "#00d4ff"
|
|
backgroundColor = "#0a0a1a"
|
|
secondaryBackgroundColor = "#0f0f2a"
|
|
textColor = "#f0f0f5"
|
|
|
|
[client]
|
|
toolbarMode = "minimal"
|
|
showSidebarNavigation = true
|