diff --git a/plinth/modules/firewall/templates/firewall.html b/plinth/modules/firewall/templates/firewall.html index 888ff2184..d97933749 100644 --- a/plinth/modules/firewall/templates/firewall.html +++ b/plinth/modules/firewall/templates/firewall.html @@ -5,6 +5,31 @@ {% load i18n %} +{% block page_head %} + +{% endblock %} + {% block configuration %}

{% trans "Status" %}

@@ -26,7 +51,6 @@
- @@ -35,15 +59,15 @@ {% for component in components|dictsort:"name" %} {% if component.ports %} - - - - - -
{% trans "Show Ports" %}
{% trans "Service/Port" %} {% trans "Status" %}
-
- -
+
+ {{ component.name }} + {% if component.is_enabled %} {% trans "Enabled" %} @@ -56,13 +80,13 @@ {% for port in component.ports_details %}
{{ port.name }}: + + {{ port.name }}: {% for port_number, protocol in port.details %} {{ port_number }}/{{ protocol }} {% endfor %} + {% if port.name in internal_enabled_ports and port.name in external_enabled_ports %} {% trans "Permitted" %}