This commit is contained in:
Mateusz Gruszczyński
2025-11-01 22:58:41 +01:00
parent b4b9edbc14
commit 2cca3128fe
2 changed files with 32 additions and 21 deletions

View File

@@ -21,16 +21,11 @@
</div>
</form>
{% if check_output %}
<div class="mt-3">
{% if 'Fatal errors' in check_output or 'error detected while parsing an' in check_output %}
<div class="alert alert-danger" role="alert"><pre class="mb-0">{{ check_output }}</pre></div>
{% elif 'Warnings' in check_output %}
<div class="alert alert-warning" role="alert"><pre class="mb-0">{{ check_output }}</pre></div>
{% else %}
<div class="alert alert-success" role="alert"><pre class="mb-0">{{ check_output }}</pre></div>
{% endif %}
<div class="alert alert-{{ check_level|default('success') }}" role="alert">
<pre class="mb-0">{{ check_output }}</pre>
</div>
{% endif %}
</div>
</div>
{% endblock %}