76 Commits

Author SHA1 Message Date
Stian Lund
d5fe6a340c larger folder image for organize 2024-03-30 18:22:06 +01:00
Bharat Mediratta
de5b06ae74 Add an icon for the delete button so that it stands out a little bit more,
and disable the button when nothing is selected. Fixes #1592.
2011-01-09 02:19:59 -08:00
Bharat Mediratta
a495419b91 Center the image inside the outer thumb div. 2011-01-09 00:00:16 -08:00
Bharat Mediratta
4c80ed53d2 Put up a more visually pleasing placeholder for items that are
missing a thumbnail.  Fixes #1591.
2011-01-08 19:27:08 -08:00
Bharat Mediratta
89597e7e70 Add a spinner to the dialog when loading the iframe so that it's not
just a blank dialog.  Create separate CSS for dialog vs. frame.
Don't show the Loading message for the first load.
2011-01-06 23:43:26 -08:00
Bharat Mediratta
0c9dbc9663 Adjust CSS for IE compatibility while keeping the grid tight on non-IE. 2011-01-06 21:40:16 -08:00
Bharat Mediratta
7600e22433 Whitespace fix. 2011-01-06 09:58:14 -08:00
Bharat Mediratta
56c4997663 Merge branch 'organize_dev' of github.com:gallery/gallery3 into organize_dev 2011-01-06 08:12:54 -08:00
Bharat Mediratta
edf2a46b02 horizontally center thumbnails 2011-01-06 00:05:35 -08:00
Bharat Mediratta
9e6e2138df Only mask the data view on changes, it's a little less jarring. 2011-01-05 23:55:21 -08:00
Bharat Mediratta
33b8ec7a62 Add a label for the sort order 2011-01-05 23:47:14 -08:00
Bharat Mediratta
2167168f51 Get rid of the expando caret in front of empty folders 2011-01-05 22:32:33 -08:00
Bharat Mediratta
e6b3886f8f Functional improvements:
- Add support for dragging a selection box.

Visual improvements;
- The "ghost" selection now has minimized thumbnails so that
  you're dragging a smaller div around the screen.
2011-01-05 22:15:13 -08:00
Bharat Mediratta
ce70669b8f Visual tweaks for IE8 compatibility.
Set the min width and min height to what IE8 wants the thumbnail's box
to be when the inner image maxes out at 120 pixels (specified in
Organize_Controller::album_info()).

Avoid using inline-block.
2011-01-05 21:17:27 -08:00
Bharat Mediratta
28760daaef Improve IE grid compatibility by forcing a regular width/height for
thumbnails and using float: left.
2011-01-05 20:11:32 -08:00
Bharat Mediratta
372905bd13 Support moving an item before or after the target. 2011-01-05 02:00:40 -08:00
Bharat Mediratta
51d66df192 Switch to using Ext.Element.mask for a custom busy message that looks
a little cleaner.
2011-01-04 00:15:05 -08:00
Bharat Mediratta
8e21dda195 Complete rewrite of the organize module in Javascript using the Sencha
JavaScript library.  It's got all the functionality from the Flash
version except it doesn't support creating new albums or uploading
photos.

Only tested in Chrome 10.0.x so far.
2011-01-03 20:24:21 -08:00
Tim Almdal
67a8ef4277 Convert the old organize to the new flex based organize 2010-03-27 11:16:41 -07: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
94cc061e8b Correct alignment in IE7. fixes ticket #795 2010-02-05 10:25:55 -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
3d2a3bee57 Provide better formating for the album tree in rtl mode. 2010-02-04 08:42:55 -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
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
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
02b6366dd2 Switch instances of first to g-first. 2009-10-27 07:37:04 -07: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
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
Bharat Mediratta
74e204b557 Don't mark colors !important. 2009-08-30 16:17:53 -07:00
Bharat Mediratta
0dba5857fa Make comments consistent. 2009-08-30 16:16:39 -07:00
Bharat Mediratta
4593297533 Remove extra padding line 2009-08-30 16:15:54 -07:00
Bharat Mediratta
d47a4de029 Get rid of as much jitter as possible in the organize tree. 2009-08-30 16:11:28 -07:00
Bharat Mediratta
6fdb5cddf8 Make the lasso more prominent and the colors consistent. 2009-08-30 15:45:35 -07:00
Bharat Mediratta
a015078cca Change the higlight/selection behavior so that we don't use opacity to
indicate selection state.  It's too difficult to tell opacity
differences on light colored photos.  This approach models what
WinXP does.
2009-08-30 15:42:43 -07:00
Bharat Mediratta
64d40397fe Simplify over-targetted CSS. 2009-08-30 15:34:47 -07:00
Bharat Mediratta
53390ba79a CSS rename: gMicroThumbXxx -> gOrganizeMicroThumbXxx to make it clear
that this is organize only.
2009-08-30 14:58:26 -07:00
Bharat Mediratta
5cce88cd04 Rename gAlbumText to gOrganizeAlbumText for consistency since this is
an organize-only construct.
2009-08-30 14:50:53 -07:00
Bharat Mediratta
a498d37763 remove unused #gOrganizeDialog 2009-08-30 14:49:51 -07:00
Bharat Mediratta
f257cd3d69 Major refactor of organize:
* Clean up naming conventions for variables in the controller
  so that we specifically refer to albums with $album_id, etc.

* Move complexity for drawing tree out of the controller and into
  the view.

* Simplify task definitions to get rid of extraneous text

* Change __PLACEHOLDERS__ to clearly define which is the album
  and which is the item that we're moving before/after

* Remove as many CSS ids as we can from the tree view to keep
  things simple
2009-08-29 10:00:47 -07:00
Bharat Mediratta
cb2171d082 Display the sort order in the Organize dialog, and allow users to
change the sort order on the fly.
2009-08-28 14:27:37 -07:00
Tim Almdal
d758266fab Add a visual indicator of the insertion point 2009-08-13 18:58:40 -07:00
Tim Almdal
3823f65dfb Implement the first part of drag functionality. Having trouble getting visual feedback of the drop position between thumbnails, so this commit provides a checkpoint for trying various options 2009-08-12 21:55:25 -07:00
Tim Almdal
39d0098038 Enable microthumbnail selection 2009-08-09 09:00:10 -07:00