|
@@ -44,8 +44,8 @@
|
|
|
<div class="htmx-container table-responsive"
|
|
<div class="htmx-container table-responsive"
|
|
|
hx-get="{% url 'extras:script_result' job_pk=job.pk %}?embedded=True&log=True&log_threshold={{log_threshold}}"
|
|
hx-get="{% url 'extras:script_result' job_pk=job.pk %}?embedded=True&log=True&log_threshold={{log_threshold}}"
|
|
|
hx-target="this"
|
|
hx-target="this"
|
|
|
- hx-trigger="load" hx-select=".htmx-container" hx-swap="outerHTML"
|
|
|
|
|
- ></div>
|
|
|
|
|
|
|
+ hx-trigger="load" hx-select=".htmx-container" hx-swap="outerHTML">
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
{% endif %}
|
|
{% endif %}
|
|
@@ -60,11 +60,12 @@
|
|
|
<a href="?export=output" class="btn btn-sm btn-primary" role="button">
|
|
<a href="?export=output" class="btn btn-sm btn-primary" role="button">
|
|
|
<i class="mdi mdi-download" aria-hidden="true"></i> {% trans "Download" %}
|
|
<i class="mdi mdi-download" aria-hidden="true"></i> {% trans "Download" %}
|
|
|
</a>
|
|
</a>
|
|
|
|
|
+ {% copy_content "job_data_output" %}
|
|
|
</div>
|
|
</div>
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
</h2>
|
|
</h2>
|
|
|
{% if job.data.output %}
|
|
{% if job.data.output %}
|
|
|
- <pre class="card-body font-monospace">{{ job.data.output }}</pre>
|
|
|
|
|
|
|
+ <pre class="card-body font-monospace" id="job_data_output">{{ job.data.output }}</pre>
|
|
|
{% else %}
|
|
{% else %}
|
|
|
<div class="card-body text-muted">{% trans "None" %}</div>
|
|
<div class="card-body text-muted">{% trans "None" %}</div>
|
|
|
{% endif %}
|
|
{% endif %}
|