From 1f4d05d280638c310483bef0f079cb4b2b2a7d54 Mon Sep 17 00:00:00 2001 From: vdigital Date: Fri, 26 Sep 2008 20:33:23 +0000 Subject: [PATCH] Bug 532 is solved: doubleSelect are jQuery resizable (based on a rub idea). git-svn-id: http://piwigo.org/svn/trunk@2600 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/default-layout.css | 2 +- admin/template/goto/double_select.tpl | 24 +++++++++++++++++++++++- admin/template/goto/theme/roma/theme.css | 3 +++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/admin/template/goto/default-layout.css b/admin/template/goto/default-layout.css index 4fe82235c..2132f657b 100644 --- a/admin/template/goto/default-layout.css +++ b/admin/template/goto/default-layout.css @@ -86,7 +86,7 @@ TABLE.doubleSelect { } TABLE.doubleSelect TD { - padding: 0 5px; + padding: 0 3px; width: 50%; } diff --git a/admin/template/goto/double_select.tpl b/admin/template/goto/double_select.tpl index ab01b9b9b..3b287120f 100644 --- a/admin/template/goto/double_select.tpl +++ b/admin/template/goto/double_select.tpl @@ -1,4 +1,7 @@ {* $Id$ *} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js" } +{known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js" } + -
@@ -17,4 +20,23 @@

\ No newline at end of file + + +{literal} + +{/literal} \ No newline at end of file diff --git a/admin/template/goto/theme/roma/theme.css b/admin/template/goto/theme/roma/theme.css index b916c92ca..af7f9814c 100644 --- a/admin/template/goto/theme/roma/theme.css +++ b/admin/template/goto/theme/roma/theme.css @@ -152,6 +152,9 @@ color: #F70; border-bottom: 1px dotted #F70;} color: #ff3363; background-color: #111; } + +.ui-resizable-handle { border-color: #f36 !important; } + /* hacks */ html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers */ *+html .bigtext { left: 65px; }