mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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 %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load plinth_extras %}
|
||||||
|
|
||||||
{% if port_forwarding_info.ports %}
|
{% if port_forwarding_info.ports %}
|
||||||
<h3>{% trans "Port Forwarding" %}</h3>
|
<h3>{% trans "Port Forwarding" %}</h3>
|
||||||
@ -14,7 +15,7 @@
|
|||||||
Your FreedomBox is <a href="{{ networks_url }}">not behind a router</a>.
|
Your FreedomBox is <a href="{{ networks_url }}">not behind a router</a>.
|
||||||
No action is necessary.
|
No action is necessary.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
<span class="fa fa-check" aria-hidden="true"></span>
|
{% icon 'check' %}
|
||||||
</p>
|
</p>
|
||||||
{% elif port_forwarding_info.router_configuration_type == 'dmz' %}
|
{% elif port_forwarding_info.router_configuration_type == 'dmz' %}
|
||||||
<p>
|
<p>
|
||||||
@ -23,7 +24,7 @@
|
|||||||
you are using the DMZ feature to forward all ports. No further router
|
you are using the DMZ feature to forward all ports. No further router
|
||||||
configuration is necessary.
|
configuration is necessary.
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
<span class="fa fa-check" aria-hidden="true"></span>
|
{% icon 'check' %}
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user