Commit Graph

344 Commits

Author SHA1 Message Date
Bharat Mediratta
8b7e3e6c1a Refactor all the short form code to tighten it up, and make it such
that the form button is disabled if we're showing the placeholder
text.
2009-09-15 20:21:12 -07:00
Jan Koprowski
548bfc9455 Autopopulation text form now clear content after getting focus every time. Problem described in #630. 2009-09-15 20:02:14 -07:00
Tim Almdal
42454cad5a Update the jquery-ui.js to use the release version of Selectable 2009-09-12 08:50:19 -07:00
Tim Almdal
edb33334f1 Revert "Update the ui.selectable.js to dev r3202"
This reverts commit 3f4868aac5.
2009-09-10 10:55:21 -07:00
Tim Almdal
3f4868aac5 Update the ui.selectable.js to dev r3202 2009-09-09 22:34:08 -07:00
Bharat Mediratta
610c99cd04 Restore button text for any open panels when we open a new panel.
Fixes ticket #723.
2009-09-06 11:26:33 -07:00
Bharat Mediratta
46f1276886 Remove extraneous changes to the CSS so that it's just the ones that
we need.  They'll be documented in our vendor repo.
2009-09-03 10:39:38 -07:00
Bharat Mediratta
8972d5f05c Move the loading images into lib/images and adjust everything to point
at them, including jquery.autocomplete.css so that we don't have stuff
from lib that points into a theme directory.  They were common images
anyway.  Incidentally, rename sm/lg to small/large.
2009-09-03 10:21:38 -07:00
Chad Kieffer
640d84aba4 Noticed that loading.gif kept showing up in my logs. Probably not maintainable, but updated jquery.autocomplete css to use the default theme's equivalent. 2009-09-02 23:20:45 -06:00
Chad Kieffer
dc6167bffa Missed this in recent commit. 2009-09-01 23:35:17 -06:00
Chad Kieffer
bc147d1c6c Merged admin_screen and screen style sheets in the admin theme. Removed some unsused admin styles in the process. Fixed problem in admin header that broke the theme's layout in IE7. Moved the Gallery logo and shortcut icon to lib/images for easier reuse. 2009-09-01 23:22:06 -06:00
Chad Kieffer
9d4876b6aa Added comments, formatted CSS, added status message styles. 2009-08-30 23:20:49 -06:00
Chad Kieffer
c9d2e22266 Merge branch 'master' of git@github.com:gallery/gallery3 2009-08-29 17:34:39 -06:00
Chad Kieffer
75ee962c9e Apply hover effect to dialog buttons. 2009-08-29 17:32:34 -06:00
jhilden
ed9be09653 Merge branch 'master' of git@github.com:gallery/gallery3 2009-08-29 19:12:57 -04:00
jhilden
39559fdfd0 initial version of the the file with common CSS styles that should be reused if possible 2009-08-29 19:11:16 -04:00
Chad Kieffer
210ba966f8 Fixed issue where button classes and cancel link weren't being re-applied to forms when an open dialog is reloaded. 2009-08-28 18:20:56 -06:00
Chad Kieffer
fc1c4d5119 Button styles and event handlers weren't being applied in dialogs, fixes #669. 2009-08-28 16:37:14 -06:00
Chad Kieffer
5a2853bca1 Merge branch 'master' of git@github.com:gallery/gallery3 2009-08-28 13:48:54 -06:00
Chad Kieffer
94b5749d46 Convert tabs to spaces. 2009-08-28 13:42:45 -06:00
Tim Almdal
bfc64685e4 Allow clicking on the overlay to close the fullsize and remove some debug code 2009-08-27 15:37:18 -07:00
Tim Almdal
84b018b08d Fix ticket #644
1) remove close button
2) extend the grey overlay to the document size
3) allow any keypress to close the fullize image
4) click on the fullsize will close
2009-08-27 15:22:27 -07:00
Tim Almdal
dc67de520d Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-25 15:00:44 -07:00
Chad Kieffer
2264a80368 Merge branch 'master' of git@github.com:gallery/gallery3 2009-08-23 15:00:00 -06:00
Chad Kieffer
457708311a Cut down on jittering of the context menu on open on resize view. 2009-08-23 14:58:26 -06:00
Tim Almdal
256822a1e8 Refactor the _auto_fit method in gallery.show_full_size to a common method in gallery.common.js
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-21 03:56:38 +08:00
Tim Almdal
74d79dc819 Refactor the _auto_fit method in gallery.show_full_size to a common method in gallery.common.js 2009-08-20 12:53:20 -07:00
Tim Almdal
b989383fe6 Modified the conversion of the margin-top and margin-bottom css values. The
problem arises because $(selector).css("margin-top) does not return a string
and therefore the replace function is undefined.

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-20 07:11:13 +08:00
Tim Almdal
bfcbb60039 Modified the conversion of the margin-top and margin-bottom css values. The
problem arises because $(selector).css("margin-top) does not return a string
and therefore the replace function is undefined.
2009-08-19 16:06:36 -07:00
Tim Almdal
407ce45bc5 Correct indentation
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-19 21:16:03 +08:00
Tim Almdal
b184f995f8 Correct indentation 2009-08-19 06:12:29 -07:00
Tim Almdal
bc42df35ee Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-19 05:14:05 -07:00
Chad Kieffer
3b8323d5b4 Merge branch 'master' of git@github.com:gallery/gallery3 2009-08-18 23:08:32 -06:00
Tim Almdal
693e95e7b0 Use the jquery-ui library that contains a prerelease version of the slectable component
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-13 05:20:38 +08:00
Tim Almdal
39b37cc585 Use the jquery-ui library that contains a prerelease version of the slectable component 2009-08-12 14:13:39 -07:00
Chad Kieffer
65e97fda48 Move context menu to gallery.common 2009-08-11 00:40:14 -06:00
Chad Kieffer
a10c309c36 Replace tabs w/ spaces. 2009-08-11 00:28:38 -06:00
Chad Kieffer
3e3bbd5d2e Merge branch 'master' of git@github.com:bharat/gallery3 2009-08-11 00:15:04 -06:00
Bharat Mediratta
cbba45fffc Create the concept of an "ajax link" and use it for thumbnail rotation
and album covers in the context menu.

Notes:
- This requires context_menu() to have a CSS selector that refers to the
  <img> that we're operating on, otherwise we don't know how to find the
  thumbnail, etc.
- Create Menu_Element_Ajax_Link which has an ajax_handler attribute
  that contains a snippet of JS that we're going to run when the ajax
  call returns.
- Add $.gallery_replace_image in gallery.common.js
- Add lib/gallery.ajax.js which can be used to ajaxify any link, and have
  ui.init.js in the themes call that on all .gAjaxLink elements.
2009-08-10 23:07:50 -07:00
Chad Kieffer
e3a58b76c1 Return .each() to work with more than an individual photo. 2009-08-10 23:11:31 -06:00
Bharat Mediratta
790545ac97 Add missing semicolons. 2009-08-10 10:49:50 -07:00
Chad Kieffer
24e29b0b68 Rename fit_image to fit_photo for consistency. 2009-08-09 23:10:02 -06:00
Chad Kieffer
69b7b1803a Move hover effect to a function. 2009-08-09 23:08:18 -06:00
Chad Kieffer
a961211f56 Move the get photo filter out to it's own function for re-use. Docblock cleanup. 2009-08-09 22:51:21 -06:00
Chad Kieffer
de00a4ac39 Explicitly use gValign class rather than first child. 2009-08-09 11:40:39 -06:00
Chad Kieffer
2f4c4a3f70 Rename resizeImage gallery_fit_image to follow convention. Move the function to gallery.common.js. 2009-08-09 11:31:31 -06:00
Tim Almdal
1c5b04a2c5 Fix the problem where the login page and edit permission pages were
supersized based on ly last commit.
2009-08-08 16:26:34 -07:00
Tim Almdal
aac06342b3 Merge branch 'master' of git://github.com/gallery/gallery3 2009-08-08 16:11:28 -07:00
Tim Almdal
ae428a7e21 remove a debug statement left over from previous commit 2009-08-08 15:52:04 -07:00
Tim Almdal
cb1ae141bb Create an new option 'immediate' and if set to true then don't try to set up click events, but just show the dialog. Also remove the destroy method and put all the cleanup into the dialog close handler 2009-08-08 15:46:53 -07:00