8984 filter by script log level

This commit is contained in:
Arthur 2024-06-06 10:34:32 -07:00
parent 50169365a9
commit d6a7ba1fbe
2 changed files with 14 additions and 13 deletions

View File

@ -3,19 +3,6 @@
{% load i18n %} {% load i18n %}
<div class="htmx-container"> <div class="htmx-container">
<p>
{% if job.started %}
{% trans "Started" %}: <strong>{{ job.started|isodatetime }}</strong>
{% elif job.scheduled %}
{% trans "Scheduled for" %}: <strong>{{ job.scheduled|isodatetime }}</strong>
{% else %}
{% trans "Created" %}: <strong>{{ job.created|isodatetime }}</strong>
{% endif %}
{% if job.completed %}
{% trans "Duration" %}: <strong>{{ job.duration }}</strong>
{% endif %}
<span id="pending-result-label">{% badge job.get_status_display job.get_status_color %}</span>
</p>
{% if job.completed %} {% if job.completed %}
{% if tests %} {% if tests %}
{# Summary of test methods #} {# Summary of test methods #}

View File

@ -41,6 +41,20 @@
{# Object list tab #} {# Object list tab #}
<div class="tab-pane show active" id="results" role="tabpanel" aria-labelledby="results-tab"> <div class="tab-pane show active" id="results" role="tabpanel" aria-labelledby="results-tab">
<p>
{% if job.started %}
{% trans "Started" %}: <strong>{{ job.started|isodatetime }}</strong>
{% elif job.scheduled %}
{% trans "Scheduled for" %}: <strong>{{ job.scheduled|isodatetime }}</strong>
{% else %}
{% trans "Created" %}: <strong>{{ job.created|isodatetime }}</strong>
{% endif %}
{% if job.completed %}
{% trans "Duration" %}: <strong>{{ job.duration }}</strong>
{% endif %}
<span id="pending-result-label">{% badge job.get_status_display job.get_status_color %}</span>
</p>
{# Object table controls #} {# Object table controls #}
<div class="row mb-3"> <div class="row mb-3">
<div class="col-auto ms-auto d-print-none"> <div class="col-auto ms-auto d-print-none">