mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
21 lines
591 B
HTML
21 lines
591 B
HTML
{% extends 'extras/report.html' %}
|
|
{% load buttons %}
|
|
{% load perms %}
|
|
|
|
{% block content-wrapper %}
|
|
<div class="row p-3">
|
|
<div class="col col-md-12"{% if not job.completed %} hx-get="{% url 'extras:report_result' job_pk=job.pk %}" hx-trigger="load delay:0.5s, every 5s"{% endif %}>
|
|
{% include 'extras/htmx/report_result.html' %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block controls %}
|
|
<div class="controls">
|
|
<div class="control-group">
|
|
{% if request.user|can_delete:job %}
|
|
{% delete_button job %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock controls %} |