{# Status Badge Component Compact status indicator with dot and text Variables: - status: 'online', 'offline', 'warning', 'error' (default: 'offline') - text: Status text to display - id: Optional ID for the text element (for JS updates) - dot_id: Optional ID for the dot element (for JS updates) - pulse: If true, adds pulse animation to dot #} {% set status_class = { 'online': 'online', 'active': 'online', 'offline': 'offline', 'warning': 'warning', 'error': 'error', 'inactive': 'inactive' }.get(status|default('offline'), 'inactive') %}