From 8dbf0810a1b981b2c0f82ebc1d90674ca951c791 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 10 Sep 2009 09:39:23 -0500 Subject: [PATCH] Reformat system pref sections as collapsible blocks This patch breaks the single large tables with multiple header rows into multipl e tables with separate headings for each. Clicking the heading collapses that section. The goal is to improve clarity when scanning through a large number of prefs. Signed-off-by: Jesse Weaver --- .../intranet-tmpl/prog/en/css/preferences.css | 28 ++++++++++- .../prog/en/modules/admin/preferences.tmpl | 47 +++++++++++++------ 2 files changed, 59 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css b/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css index 7a24bc7fdf..310c96ac40 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css @@ -34,4 +34,30 @@ h1 { } h2 { font-size : 134%; -} \ No newline at end of file +} + +table { + width : 100%; +} + +caption { + color : #003399; +} + +h3 { + color : #003366; + margin : .4em 0; + width : 25%; +} + +h3.expanded { + background : transparent url("../../img/collapse.gif") 0 6px no-repeat; + cursor : pointer; + padding-left : 12px; +} + +h3.collapsed { + background : transparent url("../../img/expand.gif") 0 6px no-repeat; + cursor : pointer; + padding-left : 12px; +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl index 76ffddcfa7..1e7c11662b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tmpl @@ -8,7 +8,23 @@ @@ -45,8 +61,8 @@ -

System preferences

+

System preferences

Could not find a system preference named .
@@ -62,22 +78,24 @@
" /> - - - - - - + +

+ -

- - + +
PreferenceValue
+

+ + + +

+ - +
PreferenceValue
- +
PreferenceValue
@@ -152,10 +170,9 @@
-
" class="cancel">Cancel
-- 2.39.2