Commit Graph

866 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
20ae106c22 Display a message in the "Check for Gallery upgrades" block when
there's a newer version available, even if the user has dismissed the
site status message.  #1605.
2011-01-17 21:16:43 -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
Chad Kieffer
c0f398554a Fixed path to loading-small.gif. Thanks serged! 2010-12-09 21:59:23 -07: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
5cd34160af Remove unnecessary g2_import CSS (which we were loading on every page
-- doh!) and replace it with a new "enumeration" list style in the
admin_wind CSS.  Reshuffle the page a little bit to make it look cleaner.
2010-09-08 21:34:16 -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
b49d2e6e00 Make .g-unavailable a little more legible. 2010-09-04 14:01:23 -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
bc0d5e79cb Revert "Change the theme option page to display using tabs if the site theme has an admin page."
This reverts commit d66c496fb1.

Conflicts:

	modules/gallery/helpers/theme.php
	modules/gallery/views/admin_theme_options.html.php
	themes/admin_wind/css/screen.css
2010-08-29 23:09:52 -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
c90996341a Fix for ticket #1288. Add a containing <ul> element for the footer on the admin page. Also respect the "show credits" variable setting. 2010-08-11 08:02:16 -07: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
Bharat Mediratta
6899af367b Cleanup on the Admin > Languages page.
Hide the fieldset and legend in the theme, since they don't add any value.
Change l10n_client::_server_url() to use the short style GMC urls and make the
API a little tighter.
2010-07-20 12:45:04 -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
d66c496fb1 Change the theme option page to display using tabs if the site theme has an admin page. 2010-06-25 06:45:09 -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
5494751a33 oops.. remove the padding in RTL for admin-wind, since it seems that it's zero (why the rule is duplicated with different values in the file in lines: 159, 301?) 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