diff --git a/plinth/modules/networks/templates/connections_list.html b/plinth/modules/networks/templates/connections_list.html index c0ae54900..22ca70c3c 100644 --- a/plinth/modules/networks/templates/connections_list.html +++ b/plinth/modules/networks/templates/connections_list.html @@ -56,60 +56,56 @@ {% block content %} -
-
-
- {% for connection in connections %} -
- - - +
+ {% for connection in connections %} +
+ + + - {% if connection.is_active %} -
- {% csrf_token %} + {% if connection.is_active %} + + {% csrf_token %} - -
- {% else %} -
- {% csrf_token %} + +
+ {% else %} +
+ {% csrf_token %} - -
- {% endif %} + + + {% endif %} - {% if connection.is_active %} - - {% trans "Active" %} - {% else %} - - {% trans "Inactive" %} - {% endif %} + {% if connection.is_active %} + + {% trans "Active" %} + {% else %} + + {% trans "Inactive" %} + {% endif %} - - {{ connection.name }} - + + {{ connection.name }} + - {{ connection.type_name }} -
- {% endfor %} + {{ connection.type_name }}
- - {% include "connections_diagram.html" %} - - {% include "diagnostics_button.html" with module="networks" enabled=True %} -
+ {% endfor %}
+ {% include "connections_diagram.html" %} + + {% include "diagnostics_button.html" with module="networks" enabled=True %} + {% endblock %}