mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
ui: Use inline SVG icons for internal zone message
Tests: - In Privoxy app with only internal interface defined, the icon appears as before in message in 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
f56d5f1b0f
commit
3e6c8e9b06
@ -3,13 +3,14 @@
|
|||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% block internal_zone_warning %}
|
{% block internal_zone_warning %}
|
||||||
{% for component in firewall %}
|
{% for component in firewall %}
|
||||||
{% if not component.is_external %}
|
{% if not component.is_external %}
|
||||||
<div class="alert alert-info d-flex align-items-center" role="alert">
|
<div class="alert alert-info d-flex align-items-center" role="alert">
|
||||||
<div class="me-2">
|
<div class="me-2">
|
||||||
<span class="fa fa-info-circle" aria-hidden="true"></span>
|
{% icon 'info-circle' %}
|
||||||
<span class="visually-hidden">{% trans "Info:" %}</span>
|
<span class="visually-hidden">{% trans "Info:" %}</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user