Commit Graph
142 Commits
Author SHA1 Message Date
Chad Kieffer 3bce5d00ee Renamed apple_touch_url to apple_touch_icon_url. 2011-04-22 12:50:21 -04:00
Chad Kieffer 4a9b45c9c3 Created apple-touch-icon and added to wind and admin_wind themes. 2011-04-22 12:37:28 -04:00
Bharat Mediratta bda14f29ea Put external CSS before external JS, per:
http://code.google.com/speed/page-speed/docs/rtt.html#PutStylesBeforeScripts

ref:
http://gallery.menalto.com/node/100693

Thanks Serge!

Fixes #1633.
2011-03-05 15:59:52 -08:00
Bharat Mediratta 08c41f2976 Add "html_attributes" theme callback to allow modules to inject attributes into
the <html> element, including things like namespaces.   Fixes #1615.
2011-01-21 00:07:00 -08:00
Bharat Mediratta 5ac49d497f Create new APIs for allowing themers to control what CSS/JS get
combined and when.  Backwards compatible in that old themes will work,
but their CSS/JS will no longer be combined unless they make some
changes.  Fixes #1600.
2011-01-10 22:20:12 -08:00
Bharat Mediratta e760200eee Identify the case where the active sidebar blocks didn't produce any
content and print out a more informative message in that case.  Fixes
2010-12-31 22:49:57 -08:00
Bharat Mediratta dd6da5e233 Add a minified version of json2.js from https://github.com/douglascrockford/JSON-js/blob/master/json2.js
by Douglas Crockford at 8d11dc6950eafc7d01f141ce91d4f585caa29f3b.  Fixes #1351.
2010-12-29 11:59:44 -08:00
Bharat Mediratta c989981041 Use the item title wherever possible as the page title and get rid of
the "Browse Album" text which shows up way too much.  Fixes #1520.
2010-12-24 00:38:25 -08:00
Tim Almdal 3a9bdebafd Override the jQuery autocomplete loading indicator with the theme specific small loading icon. 2010-09-21 21:38:32 -07:00
Tim Almdal d52d57b617 Cleanup links to some of the image links. 2010-09-21 19:54:38 -07:00
Tim Almdal 960db6d7e5 Move the image files into the themes. Leave the favicon and logo in lib/images. 2010-09-20 22:36:34 -07:00
Tim Almdal 8b21123493 When the lib/gallery.common.css was combined, the image urls did not point to the correct location.
So lets fix that up. But first undo the reverts:
93d1a8103e "Revert 'Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php.  Most themers seem to copy the contents into their theme's screen.css anyway.'"
f14290f34f "Revert 'Clean up white space'"
ff8ee5bdfc "Revert 'Add some whitespace.'"
2010-09-19 07:53:39 -07:00
Bharat Mediratta 93d1a8103e Revert "Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway."
This reverts commit 4251704175.
2010-09-18 17:51:25 -07:00
Bharat Mediratta f14290f34f Revert "Clean up white space"
This reverts commit a1e25313e3.
2010-09-18 17:51:13 -07:00
Bharat Mediratta ff8ee5bdfc Revert "Add some whitespace."
This reverts commit 207d848989.
2010-09-18 17:50:47 -07:00
Tim Almdal 207d848989 Add some whitespace. 2010-09-17 17:47:12 -07:00
Tim Almdal a1e25313e3 Clean up white space 2010-09-15 20:12:05 -07:00
Tim Almdal 4251704175 Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway. 2010-09-15 18:20:27 -07:00
Bharat Mediratta 304dd9cb51 After replacing thumbnails, resize all .g-item boxes down to just a
bit larger than the image and then do equal_heights() on them.  This
tightens the grid back up again when appropriate after a rotation.
2010-09-10 23:13:47 -07:00
Bharat Mediratta 6e62d604a4 Resize the .g-item to contain the rotated image, and make all
.g-item's the same height and realign the photo vertically, both on
the .g-item and the hover placeholder.  Fixes ticket #1354.
2010-09-09 21:58:16 -07:00
Bharat Mediratta 6211ed69d7 Vertically realign thumbnails after rotation so that they stay
centered.  Partial fix for #1354.
2010-09-09 21:25:23 -07:00
Bharat Mediratta 32878ebfdc Replace the hook function hack I introduced in
cbba45fffc with a namespaced jQuery
custom event.  This is way more portable.
2010-09-09 21:04:18 -07:00
Bharat Mediratta c51b6ab38d Fix full size dimensions after rotating an image on the photo view page.
The photo view page caches the dimensions of the full size and then
renders it in Javascript.  But after rotation, those dimensions are no
longer valid.  Create a new function on the items controller that
returns the appropriate dimensions, then add a hook on
$.gallery_replace_image and implement the hook on the photo view page
to have it make an async call to get the new dimensions.

Fixes ticket #1317
2010-09-04 15:54:07 -07:00
Bharat Mediratta 077cf53714 Don't try to compare ORM instances; compare their ids instead.
Follow on to the fix for #1318 that caused the show= param to get
dropped in the breadcrumbs.  See http://gallery.menalto.com/node/97790
2010-09-02 22:03:16 -07:00
Bharat Mediratta d5ebcb91ad Don't put in an <img> tag for non-existent thumbnails. Fixes ticket #1211. 2010-08-30 20:49:14 -07:00
Bharat Mediratta 4c8445852d Bump gallery module to v36 and add a favicon_url variable, which we
expose in Admin > Appearance > Theme Options and defaults to
lib/images/favicon.ico.

Thix fixes ticket #1312.
2010-08-29 16:27:32 -07:00
Bharat Mediratta a08cd0db4e Add a "visible_title_length" variable that defaults to 15 and use that
as the max title length when we do title truncation in the wind theme.
Bump the gallery module to 35.
2010-08-28 21:58:28 -07:00
Bharat Mediratta b1275ab39d More clearly visually distinguish the active album in the permissions breadcrumbs. Fixes ticket #1187. 2010-08-25 22:01:12 -07:00
Tim Almdal 68b598d4fa Remove style information regarding the permission dialog from the gallery.css to the wind/screen.css. This should make it easier for themes to style the dialog. 2010-08-19 19:48:44 -07:00
Chad Kieffer 8c2ed0d681 Added text and submit classes to search form input and submit buttons, respectively. Fixed the width of the search form in IE. Button height's off in IE 8 compatbility mode. 2010-08-16 22:39:54 -06:00
Tim Almdal aa40bdd8e0 Update the wind theme thumbnail to be more reflective of the actual theme (i.e. the layout has changed since the thumbnail was created.) 2010-08-04 11:05:42 -07:00
Chad Kieffer 04c89ef7b6 Minor Wind IE tweaks. Load fix-ie.css for IE 8 too. Add padding to g-short-form submit inputs to make them same height as the text input. 2010-07-18 00:25:56 -06:00
Bharat Mediratta fe2881a22a Rename Flash_Uploader to just Uploader. Modules that want to replace
this will just replace the controller.  This makes overriding that
much easier in the future.
2010-07-15 12:37:44 -07:00
Bharat Mediratta 4c77f9ebde When limiting the length of album titles, purify after truncating so
that the truncation happens on entity boundaries.  Fixes ticket #1184.
2010-07-10 08:34:08 -07:00
Tim Almdal 3b05db2685 Move the themeroller files to the themes from gallery/lib. These are visual related and make more sense to be in the theme. Both three_nids and browny_wind* have created copies for their visual standard. So this just makes it consistent across the board. 2010-06-23 11:16:56 -07:00
mamouneyya c41bd46a74 fix the footer padding for RTL, complete the last commit 2010-06-23 23:33:13 +08:00
mamouneyya cedfd9d364 flip the padding of footer for RTL 2010-06-23 23:33:04 +08:00
mamouneyya acc9ec8180 remove the original padding 2010-06-23 23:32:53 +08:00
mamouneyya b8800c69e1 flip the padding direction for sidebar blocks contents in RTL 2010-06-23 23:32:40 +08:00
Tim Almdal a804c11513 1) revert e468ed7bd3
2) Add the padding to both the button and flash object so they always line up
3) Add some top padding to the uploadifyQueue panel  to seprate it from the button.
2010-06-21 10:11:38 -07:00
Bharat Mediratta d82863421d Rename "simple_uploader" to "flash_uploader" to make room for an HTML
uploader.
2010-06-20 21:10:22 -07:00
Bharat Mediratta e468ed7bd3 Add a margin above the "Select photos..." button. 2010-06-20 17:43:22 -07:00
Bharat Mediratta 66bea24482 Use text::limit_chars() to keep individual elements in breadcrumbs
from going over 15 chars.  Fixes ticket #1108.
2010-06-20 11:59:46 -07:00
Bharat Mediratta 1783c04692 Remove the title attribute for menus using JS since we're showing that
text anyway.  This may be turn into an accessibility issue, but it's
pretty annoying to have a tooltip show up with the text in it.
2010-06-20 11:15:53 -07:00
Tim Almdal 2bbce8dddb Fix for ticket #1117 align videos to the center. 2010-06-17 09:10:01 -07:00
Tim Almdal 6e54286ef2 Add the theme::resize_top and theme::resize_bottom to the movie view to be consistent with the photo view. 2010-06-17 09:03:39 -07:00
Bharat Mediratta 6b01022a97 Hide the admin menu and show it after it's loaded to minimize flicker.
Normalize the comment text about this interaction between admin_wind
and wind.
2010-06-13 20:44:13 -07:00
Bharat Mediratta 1240878df0 Fix-ups for d98b85f7d3
- Pass the CSS selector of the active image in as an arg to site_menu
  so that quick operations know what they're operating on.
- Change the ids from g-{photo,movie}-id to the generic g-item-id
- Initialize ajax handlers for site menu on the photo and movie page
- Drop the movie context menu, it's now in the site menu
2010-05-14 16:55:15 -07:00
ckieffer d98b85f7d3 Drop context_menu for wind's photo/resize view. Move photo edit options to the site_menu. 2010-05-14 17:14:34 -06:00
Chad Kieffer e8eb23db42 Increase specificity for .g-item width to ensure it overrides the wind theme's default width when thumbnails are something other than the default. Fixes ticket #1053. 2010-03-20 14:55:41 -06:00