From 6d30abe4bf4a92961f103f1ae899a2ef49a6d607 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 4 Mar 2015 09:54:33 +0100 Subject: Accordionize feature settings --- view/theme/redbasic/css/style.css | 2 ++ view/tpl/settings_features.tpl | 49 +++++++++++++++++++++++---------------- 2 files changed, 31 insertions(+), 20 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 787deb6ea..87e12a9b3 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1938,6 +1938,8 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{ color: #31708f; background-color: #d9edf7; margin-bottom: 3px; + border-radius: $radiuspx; + text-align: center; } .section-content-wrapper { padding: 7px 10px; diff --git a/view/tpl/settings_features.tpl b/view/tpl/settings_features.tpl index 3ede4c76d..75eb34fb9 100755 --- a/view/tpl/settings_features.tpl +++ b/view/tpl/settings_features.tpl @@ -1,21 +1,30 @@ -
-

{{$title}}

- - -
- - -{{foreach $features as $f}} -

{{$f.0}}

- -{{foreach $f.1 as $fcat}} - {{include file="field_checkbox.tpl" field=$fcat}} -{{/foreach}} -{{/foreach}} - -
- -
- -
+
+
+

{{$title}}

+
+
+ +
+ {{foreach $features as $g => $f}} +
+ +
+
+ {{foreach $f.1 as $fcat}} + {{include file="field_checkbox.tpl" field=$fcat}} + {{/foreach}} +
+ +
+
+
+
+ {{/foreach}} +
-- cgit v1.2.3 From 4b08ccd873a02dcbcd8603f4b8681de47776e31f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 4 Mar 2015 10:11:48 +0100 Subject: clean up account settings --- view/tpl/settings_account.tpl | 44 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 26 deletions(-) (limited to 'view') diff --git a/view/tpl/settings_account.tpl b/view/tpl/settings_account.tpl index 36bb494d8..5f1f9c9b1 100755 --- a/view/tpl/settings_account.tpl +++ b/view/tpl/settings_account.tpl @@ -1,28 +1,20 @@ -
-

{{$title}}

- - - - - -{{include file="field_input.tpl" field=$email}} - - -

{{$h_pass}}

- -{{include file="field_password.tpl" field=$password1}} -{{include file="field_password.tpl" field=$password2}} - - -
- +
+
+  {{$removeme}} +

{{$title}}

+
+
+ + +
+ {{include file="field_input.tpl" field=$email}} + {{include file="field_password.tpl" field=$password1}} + {{include file="field_password.tpl" field=$password2}} +
+ +
+ {{$account_settings}} +
+
-{{$account_settings}} - - -
-- cgit v1.2.3