From 4fbadbaed42f6a5045246a13d228cbb678a9ab84 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 22 Aug 2012 08:48:38 -0400 Subject: [PATCH] Bug 8664 - Add floating toolbar with save button to system preferences editor This patch adds a copy of the "save" button in a toolbar at the top of the system preferences editor. The toolbar becomes fixed at the top of the page when you scroll down, exactly like the toolbar on addbiblio.pl. Because multiple save buttons might appear when the system prefs page displays search results, the toolbar does not appear in this case. To test, open the system preferences editor and change a setting. Try saving both with the button in the toolbar and the button at the top of the page. Test scrolling to confirm that the toolbar "sticks" to the top of the page when you scroll down. Signed-off-by: Mirko Tietgen Passed-QA-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- koha-tmpl/intranet-tmpl/prog/en/css/preferences.css | 4 ++++ koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css b/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css index 262fe11417..c58e9a5097 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css @@ -69,4 +69,8 @@ h3.collapsed { #yui-main { margin-bottom:2em; +} +#toolbar.floating { + box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.5); + border-radius: 0; } \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt index 95910038de..823a825bb9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt @@ -6,8 +6,12 @@ +