{% extends "ui/base.html" %} {% load url from future %} {% load icons %} {% load formats %} {% load bob %} {% block extra_headers %} {{ block.super }} {% if job and not job.is_finished and not job.is_failed %} {% endif %} {% endblock %} {% block sidebar %} {% if status %}
{% csrf_token %}
{% icon 'fugue-arrow-circle-double' %} Rescan {% if job.meta.changed %} {% endif %}
{% endif %} {% endblock %} {% block contentarea %} {% if job %} {% if not job.is_finished %}

Scanning {{ address }}...

{% for name, bar, icon in status %} {% if bar %}
{% endif %} {% endfor %} {% if not job.is_finished %}
{% endif %}
{% endif %} {% if job.is_failed %}

Scanning failed.

{{ job.exc_info }}
{% endif %} {% if job.is_finished %}
{% for device, form in forms %}
{% csrf_token %} {% for f in form %} {% if not '-custom' in f.name %}
{{ f }} {% for error in f.errors %}
{{ error }}
{% endfor %}
{% endif %} {% endfor %}
{% endfor %}
{% endif %}
Logs: {% for addr, name, kind, message in job.meta.messages %}
{{ name }}: {{ message }}
{% endfor %}
{% endif %} {% endblock %} {% block scripts %} {{ block.super }} {% endblock scripts %}