mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
diagnostics: Use inline SVG icons
Tests: - All the icons appear as before in both light/dark themes. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
fad1f7d58b
commit
1b24a03774
@ -4,6 +4,7 @@
|
|||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
@ -72,9 +73,9 @@
|
|||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% elif app_data.exception %}
|
{% elif app_data.exception %}
|
||||||
<span class="fa fa-exclamation-triangle mx-1" aria-hidden="true"></span>
|
{% icon 'exclamation-triangle' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="fa fa-hourglass-o mx-1"></span>
|
{% icon 'hourglass-o' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if app_data.show_repair %}
|
{% if app_data.show_repair %}
|
||||||
@ -98,7 +99,7 @@
|
|||||||
{% elif app_data.exception %}
|
{% elif app_data.exception %}
|
||||||
<div class="alert alert-danger d-flex align-items-center" role="alert">
|
<div class="alert alert-danger d-flex align-items-center" role="alert">
|
||||||
<div class="me-2">
|
<div class="me-2">
|
||||||
<span class="fa fa-exclamation-triangle" aria-hidden="true"></span>
|
{% icon 'exclamation-triangle' %}
|
||||||
<span class="visually-hidden">{% trans "Caution:" %}</span>
|
<span class="visually-hidden">{% trans "Caution:" %}</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@ -107,7 +108,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="text-center">
|
<p class="text-center">
|
||||||
<span class="fa fa-hourglass-o me-2"></span>
|
{% icon 'hourglass-o' %}
|
||||||
{% trans "Running..." %}
|
{% trans "Running..." %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user