{% import "_macros.html" as ui %} {% set m = row.machine %}
Availability{{ ui.availability(row) }}
Health{{ ui.health(m) }}{{ 'Checked ' ~ m.health_checked_at|localtime('%H:%M:%S') if m.health_checked_at else 'Not checked yet' }}
Firewall{{ ui.firewall(m) }}{{ 'Checked ' ~ m.compliance_checked_at|localtime('%d %b %H:%M') if m.compliance_checked_at else 'Not checked yet' }}
Status{{ m.status|capitalize }}
{% if m.compliance in ('drift', 'error') and m.compliance_detail %}
{{ icon('shield-alert', 15) }} {% for line in m.compliance_detail.splitlines() %}{{ line }}
{% endfor %}
{% endif %}