ui: Use inline SVG icons for port fowarding info

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:
Sunil Mohan Adapa 2026-03-11 22:22:21 -07:00 committed by James Valleroy
parent 69c44af700
commit 66a6783a43
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -3,6 +3,7 @@
{% endcomment %}
{% load i18n %}
{% load plinth_extras %}
{% if port_forwarding_info.ports %}
<h3>{% trans "Port Forwarding" %}</h3>
@ -14,7 +15,7 @@
Your FreedomBox is <a href="{{ networks_url }}">not behind a router</a>.
No action is necessary.
{% endblocktrans %}
<span class="fa fa-check" aria-hidden="true"></span>
{% icon 'check' %}
</p>
{% elif port_forwarding_info.router_configuration_type == 'dmz' %}
<p>
@ -23,7 +24,7 @@
you are using the DMZ feature to forward all ports. No further router
configuration is necessary.
{% endblocktrans %}
<span class="fa fa-check" aria-hidden="true"></span>
{% icon 'check' %}
</p>
{% else %}
<p>