From 76feae2203f2ceed02639772ba7ca1a6cf8377be Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 1 Apr 2020 19:20:18 -0400 Subject: [PATCH] Refactor connector settings page - Fix header hierarchy - [frio] Fix panel display --- view/templates/settings/connectors.tpl | 93 ++++++++++--------- .../frio/templates/settings/connectors.tpl | 22 ++--- 2 files changed, 56 insertions(+), 59 deletions(-) diff --git a/view/templates/settings/connectors.tpl b/view/templates/settings/connectors.tpl index 53b4beaad3..08452b124f 100644 --- a/view/templates/settings/connectors.tpl +++ b/view/templates/settings/connectors.tpl @@ -1,59 +1,60 @@ -

{{$title}}

{{$diasp_enabled}}
{{$ostat_enabled}}
- - -

{{$general_settings}}

- - -
+ +

+ {{$general_settings}} +

+ + +
-{{$settings_connectors nofilter}} + {{$settings_connectors nofilter}} -{{if $mail_disabled}} + {{if $mail_disabled}} -{{else}} - -

{{$h_imap}}

+ {{else}} + +

{{$h_imap}}

- + {{/if}} - diff --git a/view/theme/frio/templates/settings/connectors.tpl b/view/theme/frio/templates/settings/connectors.tpl index 92d2ed861e..2f3564c94b 100644 --- a/view/theme/frio/templates/settings/connectors.tpl +++ b/view/theme/frio/templates/settings/connectors.tpl @@ -1,25 +1,23 @@
- {{* include the title template for the settings title *}} - {{include file="section_title.tpl" title=$title}} +

{{$title}}

{{$diasp_enabled}}

{{$ostat_enabled}}

- +
-
-
- +
{{include file="field_checkbox.tpl" field=$accept_only_sharer}} {{include file="field_checkbox.tpl" field=$disable_cw}} @@ -35,11 +33,9 @@ {{include file="field_input.tpl" field=$legacy_contact}}

{{$repair_ostatus_text}}

- -
- -
-
+
+
-- 2.39.5