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(-) 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