mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-01 09:30:29 +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 %}
|
||||
|
||||
{% load i18n %}
|
||||
{% load plinth_extras %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
@ -72,9 +73,9 @@
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
{% elif app_data.exception %}
|
||||
<span class="fa fa-exclamation-triangle mx-1" aria-hidden="true"></span>
|
||||
{% icon 'exclamation-triangle' %}
|
||||
{% else %}
|
||||
<span class="fa fa-hourglass-o mx-1"></span>
|
||||
{% icon 'hourglass-o' %}
|
||||
{% endif %}
|
||||
|
||||
{% if app_data.show_repair %}
|
||||
@ -98,7 +99,7 @@
|
||||
{% elif app_data.exception %}
|
||||
<div class="alert alert-danger d-flex align-items-center" role="alert">
|
||||
<div class="me-2">
|
||||
<span class="fa fa-exclamation-triangle" aria-hidden="true"></span>
|
||||
{% icon 'exclamation-triangle' %}
|
||||
<span class="visually-hidden">{% trans "Caution:" %}</span>
|
||||
</div>
|
||||
<div>
|
||||
@ -107,7 +108,7 @@
|
||||
</div>
|
||||
{% else %}
|
||||
<p class="text-center">
|
||||
<span class="fa fa-hourglass-o me-2"></span>
|
||||
{% icon 'hourglass-o' %}
|
||||
{% trans "Running..." %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user