{% extends 'base/layout.html' %} {% block title %}Import Log — Job #{{ job_pk }}{% endblock %} {% block content %}
Import Log — Job #{{ job_pk }}
{% if summary %}
Run by
{{ summary.user }}
Mode
{% if summary.commit %} commit {% else %} dry run {% endif %}
Branch
{% if summary.branch %} {% if summary.branch_url %} {{ summary.branch }} {% else %} {{ summary.branch }} {% endif %} — review, then merge to apply it to main {% elif summary.commit %} imported directly into main {% else %} — {% endif %}
Started
{{ summary.started }}
Finished
{{ summary.finished|default:"—" }}
Result
{% if summary.rollup.ok %}{{ summary.rollup.ok }} ok{% endif %} {% if summary.rollup.warning %}{{ summary.rollup.warning }} warning{% endif %} {% if summary.rollup.failed %}{{ summary.rollup.failed }} failed{% endif %}
Job page {% if has_debug %} Full log {% endif %} {% if has_user %} User log {% endif %}
{% else %}

No structured summary for this import (it may have run before summaries existed, or the summary failed to write). The downloadable logs below still hold the full detail.

{% if has_debug %} Full log {% endif %} {% if has_user %} User log {% endif %}

{% endif %}
{% if summary.devices %}
{% for device in summary.devices %}

{% if device.counts %}

{% for key, value in device.counts.items %} {% if value %} {{ value }} {{ key }} {% endif %} {% endfor %}

{% endif %} {% if device.detail %}
{% for line in device.detail %}{{ line }}
{% endfor %}
{% else %}

No detail recorded.

{% endif %}
{% endfor %}
{% endif %} {% include 'netbox_device_importer/inc/version_footer.html' %}
{% endblock %}