mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-25 09:21:10 +00:00
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:
parent
69c44af700
commit
66a6783a43
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user