diff --git a/plinth/modules/networks/templates/connections_fields.html b/plinth/modules/networks/templates/connections_fields.html index 99206e5c8..167ee624b 100644 --- a/plinth/modules/networks/templates/connections_fields.html +++ b/plinth/modules/networks/templates/connections_fields.html @@ -15,21 +15,19 @@ {% endif %}
-
-
-

- -

-
+
+

+ +

-
-
+ data-bs-parent="#accordion-connections-fields"> +
{{ form.name|bootstrap }} {{ form.interface|bootstrap }} {{ form.zone|bootstrap }} @@ -50,23 +48,21 @@ {% endif %} {% if form.ipv4_method %} -
-
-

- -

-
+
+

+ +

-
-
+ data-bs-parent="#accordion-connections-fields"> +
{{ form.ipv4_method|bootstrap }} {{ form.ipv4_address|bootstrap }} {{ form.ipv4_netmask|bootstrap }} @@ -79,23 +75,21 @@ {% endif %} {% if form.ipv6_method %} -
-
-

- -

-
+
+

+ +

-
-
+ data-bs-parent="#accordion-connections-fields"> +
{{ form.ipv6_method|bootstrap }} {{ form.ipv6_address|bootstrap }} {{ form.ipv6_prefix|bootstrap }} diff --git a/plinth/modules/networks/templates/connections_fields_pppoe.html b/plinth/modules/networks/templates/connections_fields_pppoe.html index f210d5faa..d5c7e96f3 100644 --- a/plinth/modules/networks/templates/connections_fields_pppoe.html +++ b/plinth/modules/networks/templates/connections_fields_pppoe.html @@ -5,23 +5,21 @@ {% load bootstrap %} {% load i18n %} -
-
-

- -

-
+
+

+ +

-
-
+ data-bs-parent="#accordion-connections-fields"> +
{{ form.username|bootstrap }} {{ form.password|bootstrap }} {{ form.show_password|bootstrap }} diff --git a/plinth/modules/networks/templates/connections_fields_privacy.html b/plinth/modules/networks/templates/connections_fields_privacy.html index 9e292fc08..2196fb85c 100644 --- a/plinth/modules/networks/templates/connections_fields_privacy.html +++ b/plinth/modules/networks/templates/connections_fields_privacy.html @@ -5,23 +5,21 @@ {% load bootstrap %} {% load i18n %} -
-
-

- -

-
+
+

+ +

-
-
+ data-bs-parent="#accordion-connections-fields"> +
{{ form.dns_over_tls|bootstrap }}
diff --git a/plinth/modules/networks/templates/connections_fields_wifi.html b/plinth/modules/networks/templates/connections_fields_wifi.html index cadea7b98..01fa779b5 100644 --- a/plinth/modules/networks/templates/connections_fields_wifi.html +++ b/plinth/modules/networks/templates/connections_fields_wifi.html @@ -5,23 +5,21 @@ {% load bootstrap %} {% load i18n %} -
-
-

- -

-
+
+

+ +

-
-
+ data-bs-parent="#accordion-connections-fields"> +
{{ form.ssid|bootstrap }} {{ form.mode|bootstrap }} {{ form.band|bootstrap }} diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index 37cbe4f6f..b2d7ed80f 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -975,6 +975,6 @@ img.notification-icon { margin-bottom: 1.25rem; } -.accordion .card-header h4 { +.accordion-header { margin: 0; }