mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 22:07:24 +00:00
- Add hybrid-skin.css: Glass Morphism + Matrix Terminal universal theme - Update sidebar.js v2.23.0: - Remove light/dark theme switching (single hybrid theme) - Add global status bar (bottom) with health metrics - Add global menu bar (top) replacing individual page headers - Load health data from /api/v1/hub/health endpoint - Update sidebar.css: Transparent header/footer to fix white corners - Update design-tokens.css: Add .hybrid-skin to dark theme selector - Update index.html files: Apply hybrid-skin body class - Add SOC dashboard (soc/index.html): Reference implementation - Add Health Doctor Pattern documentation - Update module APIs with /health endpoints Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1.7 KiB
Python
47 lines
1.7 KiB
Python
"""
|
|
secubox_core — Bibliothèque partagée SecuBox-DEB
|
|
================================================
|
|
JWT auth · Config TOML · Logging structuré · Helpers système · Kiosk/Board
|
|
"""
|
|
__version__ = "1.1.0"
|
|
|
|
from .auth import require_jwt, create_token, router as auth_router
|
|
from .config import get_config, get_board_info, reload_config
|
|
from .logger import get_logger
|
|
from .system import (
|
|
board_info, uptime, service_status, service_control,
|
|
disk_usage, load_average,
|
|
)
|
|
from .kiosk import (
|
|
kiosk_status, kiosk_enable, kiosk_disable,
|
|
console_status, display_mode,
|
|
detect_board_type, get_board_profile, get_board_capabilities, get_board_model,
|
|
get_physical_interfaces, get_interface_classification, check_interface_carrier,
|
|
)
|
|
from .health import (
|
|
WorkingStatus, EnabledStatus, DevStage,
|
|
HealthResponse, make_health_response, health_from_checks,
|
|
MODULE_METADATA, get_module_metadata,
|
|
)
|
|
|
|
__all__ = [
|
|
# Auth
|
|
"require_jwt", "create_token", "auth_router",
|
|
# Config
|
|
"get_config", "get_board_info", "reload_config",
|
|
# Logger
|
|
"get_logger",
|
|
# System
|
|
"board_info", "uptime", "service_status", "service_control",
|
|
"disk_usage", "load_average",
|
|
# Kiosk & Board Detection
|
|
"kiosk_status", "kiosk_enable", "kiosk_disable",
|
|
"console_status", "display_mode",
|
|
"detect_board_type", "get_board_profile", "get_board_capabilities", "get_board_model",
|
|
"get_physical_interfaces", "get_interface_classification", "check_interface_carrier",
|
|
# Health
|
|
"WorkingStatus", "EnabledStatus", "DevStage",
|
|
"HealthResponse", "make_health_response", "health_from_checks",
|
|
"MODULE_METADATA", "get_module_metadata",
|
|
]
|