{{ error }}
{% endif %} {% if scan and scan.running %}{{ scan.progress }}
{% else %} {% if scan %} {% if scan.error %}{{ scan.error }}
{% endif %} {% if scan.lines %}{{ scan.lines|join("\n") }}{% if scan.stopped %}
Stopped. Progress is saved; scan again to continue where it left off.{% endif %}{% endif %}
{% endif %}
{% endif %}