Tim Almdal
e2e637064a
The adjustment for before or after based on whether the locales rtl or not is now done in the browser.
2010-02-07 14:25:05 -08:00
Tim Almdal
6340d8caf2
100% was just to wide, so scale the width back to 90% for organize album tree branches.
2010-02-06 16:43:55 -08:00
Tim Almdal
81b595743f
Force each branch of a tree onto a new line.
2010-02-06 16:30:25 -08:00
Tim Almdal
0f9d23d074
Cleanup the position of the drop marker.
2010-02-06 10:36:29 -08:00
Tim Almdal
15e2207655
correct layout of html for readability
2010-02-06 10:12:53 -08:00
Tim Almdal
83f61ff5cf
Insure that the 'Ascending'/'Descending' string are translated on the organize dialog.
2010-02-06 09:47:56 -08:00
Tim Almdal
73527fba61
1) Manually added the .selectee class on subsequent downloads. fixes ticket #970
...
2) Reworked the calculated of the drop target marker to account for scrolling.
2010-02-05 23:38:06 -08:00
Tim Almdal
f5391b8424
Merge branch 'master' into talmdal_dev
2010-02-05 15:51:02 -08:00
Tim Almdal
64c37aed07
continuing cleaninup organize javascript especially the drag and drop functionality.
2010-02-05 14:38:24 -08:00
Tim Almdal
bc14f33ae1
Fix an issue where the dragged item was always inserted after the target image.
2010-02-05 11:15:28 -08:00
Tim Almdal
94cc061e8b
Correct alignment in IE7. fixes ticket #795
2010-02-05 10:25:55 -08:00
Tim Almdal
8518fb2674
Add busy animation when doing the drop.
2010-02-05 08:53:38 -08:00
Tim Almdal
a8d30dcecf
Improve the handling of the drop target marker when dragging items within the
...
grid. Originally the borders disappeared not they don't. A single element is
used to contain the drop target marker. This element contains all the position
information for the drop handler to determine where the item should be
positioned.
In addition, the drop target marker is removed when the drag extends outside
the grid and is re shown, when the cursor re-enters the thumbnail grid.
2010-02-05 08:08:12 -08:00
Tim Almdal
eff7de3852
If the locale is rtl then change 'after' to 'before' or vice-versa. Fixes ticket #939 .
2010-02-04 08:51:15 -08:00
Tim Almdal
3d2a3bee57
Provide better formating for the album tree in rtl mode.
2010-02-04 08:42:55 -08:00
Tim Almdal
c820613917
Don't change the current album when items are dragged to a different album in the album tree. Fixes ticket #959 .
2010-02-04 08:24:02 -08:00
Tim Almdal
48efd21556
Provide visual feedback when over tree branches.
2010-02-04 08:24:01 -08:00
Tim Almdal
95b26db82c
1) Simplify the layout of the organize dialog content.
...
2) Use CSS to layout the thmbnail grid to the full dialog size. Fixes ticker #848 .
3) Separate css that can be themed into organize_theme.css. This isolates the themed components into a separate file for easy of overriding by a theme.
2010-02-04 08:23:02 -08:00
Tim Almdal
aa4ed45473
Differentiate between selected and non selected items.
2010-02-04 07:46:41 -08:00
Bharat Mediratta
cfbbf9ef60
Convert __toString() to use (string) cast instead.
2010-01-27 21:58:06 -08:00
Tim Almdal
0a482127b2
Merge branch 'master' into talmdal_dev
...
Conflicts:
modules/organize/js/organize.js
2009-12-27 08:35:19 -08:00
Bharat Mediratta
55f9408d50
Fix the scrollbar in the organize panel by restricting drag-to-select to #g-organize-microthumb-grid.
2009-12-26 15:08:14 -08:00
Tim Almdal
3060a6f662
Merge branch 'master' into talmdal_dev
...
Conflicts:
modules/gallery/controllers/albums.php
modules/gallery/controllers/movies.php
modules/gallery/controllers/photos.php
2009-12-26 11:24:50 -08:00
Bharat Mediratta
da7ee6ab30
Fix over-targetting in CSS
2009-12-25 13:24:47 -08:00
Bharat Mediratta
07a9ef2276
Convert some database calls
2009-12-25 13:24:38 -08:00
Bharat Mediratta
8b9a02084a
Updates for the latest version of Kohana 2.4:
...
1) Controller::$input is gone -- use Input::instance() now
2) Handle new 'database.<default>.connection.params' parameter
3) Handle new 'cache.<default>.prefix' parameter
2009-12-21 21:27:43 -08:00
Bharat Mediratta
a3d904bcba
ORM::find_all() now uses null as the default value for offset.
2009-11-26 19:36:57 -08:00
Bharat Mediratta
e8fb773b68
Update all portable where clauses to the new Kohana 2.4 format.
2009-11-26 19:33:03 -08:00
Tim Almdal
a1fbc8b1e1
Correct the reference so selections are handled properly when dragging the lasso
2009-11-20 12:15:05 -08:00
Tim Almdal
aa880c2b10
Use ui-state-highlight to display selected images.
2009-11-20 11:37:09 -08:00
Tim Almdal
72deeb1119
Remove all style from the organize.css file and make use of the themeroller styles as much as possible.
2009-11-20 10:26:11 -08:00
Chad Kieffer
33d2a2481e
MInor message-block padding fixes in general and specifically for organize.
2009-11-15 23:27:37 -07:00
Chad Kieffer
fb2c365d8f
Fix outstanding issues in the organize dialog. Tighten up the layout a bit so that more microthumbs will display.
2009-11-15 22:55:09 -07:00
Chad Kieffer
de3bfac2ec
Fixed indenting.
2009-11-15 18:02:20 -07:00
Chad Kieffer
66e1e32f34
Removed YUI grids. Added g- prefix to selected class. Layout almost completely restored, still need to fix action-status message box
2009-10-28 23:34:53 -06:00
Chad Kieffer
e72d3532f7
Amazing what a two character change can do. It should be g-first now, not first.
2009-10-28 22:57:36 -06:00
Chad Kieffer
b118d56e9a
Added type attribute to script tag.
2009-10-28 22:52:17 -06:00
Chad Kieffer and Tim Almdal
02b6366dd2
Switch instances of first to g-first.
2009-10-27 07:37:04 -07:00
Chad Kieffer
02ecf5749c
Make menu label adhere to our capitalization standard.
2009-10-25 18:34:36 -06:00
Chad Kieffer
859f8dc558
Consolidated the rest of the base message styles into lib/gallery.common.css and applied updates to views. Moved over draggable/droppable styles. Use g-target consistently for drag/drop interactions. Minor re-ordering of selectors in gallery.common.css. Updates to css comments.
2009-10-07 00:21:23 -06:00
Chad Kieffer
d581bbbd1e
Renamed more CSS selectors from gName to g-name.
2009-10-04 15:53:00 -06:00
Chad Kieffer
3e6ba7acc3
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-04 00:27:22 -06:00
Chad Kieffer
e1e8904e4a
Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's and classes in the login/reset password dialog.
2009-09-30 22:49:36 -06:00
Chad Kieffer
72672bda39
Replaced gButtonLink with g-button.
2009-09-30 08:04:49 -06:00
Andy Staudacher
7608870537
Controller auth / CSRF fixes
2009-09-15 22:51:49 -07:00
Tim Almdal
5f343ab8a0
Change the variable to to resolve ticket #769
2009-09-14 08:11:12 -07:00
Tim Almdal
6c0732e16f
Set the AlbumTreeContainer instead of the height. This fixes ticket #755
2009-09-13 16:24:03 -07:00
Tim Almdal
1d40c77c4c
Update the organize module to use the release version of jquery Selectable. Unfortunately this does not have the functionality to select additional thumbnails using the ctrl or alt-keys, it is preferable to forking the Selectable component. This functionality should arrive with ui.jquery 1.8.x
2009-09-12 08:53:24 -07:00
Tim Almdal
25ea6085b7
Reset the margins when the mouse is over a thumbnail when dragging. When the border is displayed then adjust the margin to account for the border. Just hidding the border causes things to move.
2009-09-10 21:26:07 -07:00
Bharat Mediratta
752c857116
Rename ORM_MPTT::is_descendant() to ORM_MPTT::contains() to make the
...
API a little clearer. Write a test for it, too.
2009-09-10 10:28:43 -07:00