diff --git a/modules/installed/system/templates/firewall.html b/modules/installed/system/templates/firewall.html index 5ef2fa972..19c165a46 100644 --- a/modules/installed/system/templates/firewall.html +++ b/modules/installed/system/templates/firewall.html @@ -43,35 +43,47 @@ firewalld'
{% else %} -| Service/Port | +Status | + - {% for service in services %} -
|---|---|
| {{ service.name }} | ++ {% if service.is_enabled %} + Enabled + {% else %} + Disabled + {% endif %} + | +
| {{ port }} | ++ {% if port in internal_enabled_services and port in external_enabled_services %} + Permitted + {% elif port in internal_enabled_services %} + Permitted (internal only) + {% elif port in external_enabled_services %} + Permitted (external only) + {% else %} + Blocked + {% endif %} + | +
The operation of the firewall is automatic. When you enable a service it is automatically permitted in the firewall and you disable diff --git a/themes/default/css/plinth.css b/themes/default/css/plinth.css index ce817d11f..c983d7042 100644 --- a/themes/default/css/plinth.css +++ b/themes/default/css/plinth.css @@ -47,3 +47,11 @@ body { margin-right: 8px; padding-right: 5px; } + +.table-autowidth { + width: auto; +} + +.table td.cell-indented { + padding-left: 3em; +}