{% extends "base.html" %} {% block title %}{{ t('dashboard.page_title') }}{% endblock %} {% block content %}

{{ t('dashboard.h1') }}

{% if license %}

{{ t('dashboard.license_h2') }}

{{ license.get('license_state', '—') }} · mode {{ license.get('license_mode', '—') }}{% if license.get('customer_name') %} · {{ license.get('customer_name') }}{% endif %}{% if license.get('expires_at') %} · expires {{ license.get('expires_at') }}{% endif %}

{% endif %}

{{ t('dashboard.scan_h2') }}

{{ t('dashboard.state') }} {% if status.running %}{{ t('dashboard.running') }}{% else %}{{ t('dashboard.idle') }}{% endif %}

{{ t('dashboard.current_session') }} {{ status.current_session_id or "—" }}

{{ t('dashboard.findings_run') }} {{ status.findings_count }}

{{ t('dashboard.cli_parity') }} {{ t('dashboard.cli_parity_link') }}{{ t('dashboard.cli_parity_tail') }}

{{ t('dashboard.scan_compressed_hint') }}

{{ t('dashboard.content_type_hint') }}

{{ t('dashboard.scan_stego_hint') }}

{{ t('dashboard.jurisdiction_hint') }}

{{ t('dashboard.discovery_h2') }}

{{ last_session.database_findings if last_session else 0 }} {{ t('dashboard.stat_db') }}
{{ last_session.filesystem_findings if last_session else 0 }} {{ t('dashboard.stat_fs') }}
{{ last_session.scan_failures if last_session else 0 }} {{ t('dashboard.stat_fail') }}
{{ (last_session.database_findings + last_session.filesystem_findings) if last_session else 0 }} {{ t('dashboard.stat_total') }}

{{ t('dashboard.session_line') }} {{ last_session.session_id[:20] + "…" if last_session and last_session.session_id else "—" }} · {{ last_session.started_at if last_session else "—" }} {% if last_session and last_session.get('tenant_name') %} · {{ t('dashboard.tenant_kv') }} {{ last_session.tenant_name }}{% endif %} {% if last_session and last_session.get('technician_name') %} · {{ t('dashboard.tech_kv') }} {{ last_session.technician_name }}{% endif %}

{{ t('dashboard.chart_h2') }}

{{ t('dashboard.chart_intro') }}

{{ t('dashboard.sessions_h2') }}

{{ t('dashboard.view_reports') }}

{% for s in sessions[:10] %} {% else %} {% endfor %}
{{ t('dashboard.th_session') }} {{ t('dashboard.th_started') }} {{ t('dashboard.th_tenant') }} {{ t('dashboard.th_technician') }} {{ t('dashboard.th_db') }} {{ t('dashboard.th_fs') }} {{ t('dashboard.th_failures') }} {{ t('dashboard.th_report') }}
{{ s.session_id[:16] }}… {{ s.started_at or "—" }} {{ s.tenant_name or "—" }} {{ s.technician_name or "—" }} {{ s.database_findings }} {{ s.filesystem_findings }} {{ s.scan_failures }} {{ t('dashboard.download') }}
{{ t('dashboard.no_sessions_row') }}

{{ t('dashboard.about_app_h2') }}

{{ about.name }} v{{ about.version }} · Author: {{ about.author }} · {{ about.license }} · {{ about.copyright }}. {{ t('dashboard.about_app_p') }} {{ t('dashboard.about_link') }}

{% endblock %} {% block scripts %} {% endblock %}