{% set zh = current_locale == 'zh' %}

{{ '安全值守 / 当前范围' if zh else 'SECURITY WATCH / CURRENT SCOPE' }}

{{ active_site_name or active_site or ('全部站点' if zh else 'All sites') }}

{{ '站点管理' if zh else 'Sites' }} →
{% if runtime_capabilities.status == 'degraded' or runtime_capabilities.warnings %}
{{ _('Degraded') if runtime_capabilities.status == 'degraded' else _('Healthy') }} {{ _('Detection') }}: {{ _('YARA + Emergency') if runtime_capabilities.detection.mode == 'yara_and_emergency' else _('Emergency signatures') }} {{ _('Notifications') }}: {{ _('External (%(channels)s)', channels=runtime_capabilities.notifications.configured_channels|join(', ')) if runtime_capabilities.notifications.mode == 'external' else _('Local logs only') }} {% for warning in runtime_capabilities.warnings %}{{ warning.message }}{% endfor %}
{% endif %}

{{ '值守队列' if zh else 'Duty queue' }}

{{ _('Loading records...') }}

{{ '站点态势与历史统计' if zh else 'Site posture and historical totals' }}

{{ _('Loading...') }}

{{ '运行指标与实时日志' if zh else 'Runtime metrics and live logs' }}

{{ '范围:服务器' if zh else 'Scope: server' }}

{{ _('System Metrics') }}
{{ _('LIVE LOG STREAM') }} {{ _('Analyze') }}
{{ log_history|safe if log_history else _('Connecting to log stream...') }}