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
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
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
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
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
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
Romain LE DISEZ
06d0ed57a7
Fix a typo.
2010-03-03 02:32:49 +08:00
Andy Staudacher
2dad1d7cd1
Some HTML validation fixes (don't render empty <ul> lists, empty id attributes, use & not &)
2010-02-14 07:15:57 -08:00
Andy Staudacher
be5f38adea
Minir l10n message cleanup. Avoid <br/> in messages since the server normalizes them to <br />, i.e. leading to a mismatch.
2010-01-31 14:03:32 -08:00
Bharat Mediratta
8b7ef66065
Don't show the breadcrumb if we have no item
2009-11-25 14:50:04 -08:00
Bharat Mediratta
005cf8e828
Duh. Really make the site menu invisible this time around.
2009-11-20 20:25:19 -08:00
Bharat Mediratta
abad4aae33
Hide the site menu and make it visible after the page has loaded, to minimize menu flicker
2009-11-20 20:22:08 -08:00
Tim Almdal
57adefc5ba
Revert "Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme."
...
This reverts commit 26114972c3 .
2009-11-19 11:44:01 -08:00
Tim Almdal
8ce1d18806
Merge branch 'master' into talmdal_dev
2009-11-19 07:47:04 -08:00
Chad Kieffer
a4d5269db5
Apply g-first to the sole breadcrumb when viewing the root album.
2009-11-18 23:02:15 -07:00
Chad Kieffer
e232c39fe5
Rename g-pager to g-paginator after the recent pagination update.
2009-11-18 18:51:18 -07:00
Tim Almdal
26114972c3
Create theme::get_var(), theme::set_var() methods to set the options of the active site theme. Change all refrences to theme options to use these methods. Update the version number of Gallery to 20 and move any them related options to the be stored under the active theme.
2009-11-18 15:36:13 -08:00
Bharat Mediratta
1067e68292
Redesign the way that we consider page types to create buckets of page
...
types, and a subtype for specifics. Currently the top level bucket
collection, item, other
Here are the core subtypes so far:
collection: album, search, tag
item: movie, photo
other: login, reset, comment-fragment, comment
It's legal to create new page_subtypes whenever you want. Use the
appropriate page_type to get the coarse grain behavior that you want.
2009-11-17 14:04:45 -08:00
Chad Kieffer
f4ad53d28b
Be a bit more explicit in the application of the album icon. Apply it as a class to the span to hopefully make it's purpose a bit more obvious.
2009-11-15 22:57:27 -07:00
Bharat Mediratta
29efb6ba9f
Rename "pager" to "paginator" so that we differentiate page.html.php
...
from paginator.html.php
2009-11-14 16:20:36 -08:00
Bharat Mediratta
081ce9f6ca
Normalize pagination so that pager.html.php can handle pagination for
...
both albums and movies. Kohana's paginator is not quite sufficient
for this, so create our own pagination logic in Theme_View with only
the stuff we need.
Clearly document the variables available in pager.html so that themers
know how to use it.
Fixes ticket #626 .
2009-11-14 14:25:39 -08:00
Chad Kieffer
46fda847ad
Moved movie context-menu up to just under the movie. Fixed contextual menu font size on resize and movie pages.
2009-11-08 18:13:26 -07:00
Chad Kieffer
ecadec6b84
Wrap movies in #g-movie, apply ui-helper-clearfix to the pager and g-moive to fix clear issues reported in ticket #873 .
2009-11-08 13:07:12 -07:00
Chad Kieffer
d73de4f0a2
No need to abbreviate text in CSS class names. Thx bharat!
2009-11-08 09:00:49 -07:00
Tim Almdal
b5f2dbc2c4
Create a user_menu for the top of the page. Change the login, edit profile and logout portions of the banner to be rendered by the Theme_View::user_menu callback. This fires the user_menu event. Fixes Ticket #871 .
2009-11-06 14:08:46 -08:00
Chad Kieffer
6524aa55b3
Add g-first to first li of pagers.
2009-11-01 18:01:08 -07:00
Chad Kieffer
03b4b27498
Add type attribute to rest of our script tags.
2009-10-30 00:14:57 -06:00
Tim Almdal
7ea13b3869
Normalize capitalization ticket #596
2009-10-28 12:15:52 -07:00
Chad Kieffer
fbc5517711
Initial RTL update work. Consolidated shared rtl-related css selectors in gallery.common. Applied g-right and g-left to a few banner items, including login menu and the logo.
2009-10-28 00:15:08 -06:00
Chad Kieffer
4241e03d75
Breadcrumb updates. Apply g-first and g-active consistently, use ems instead of px for nicer proportions, make font-size the same whether on the page or in a dialog.
2009-10-27 23:03:43 -06:00
Chad Kieffer
040c840b66
Make g-inline more specific, replace universal selector with an li since this class will most often be used with order and unordered lists. Apply g-inline to the the login menu and footer credits.
2009-10-23 05:41:49 -07:00
Chad Kieffer
c9ccc24618
Moved the short_form init function to gallery.common and made it jQuery plugin. Dropped gallery.form.js. Applied short forms to server_add and tag admin pages. Added tag.css to admin views. Added .g-wide {}.
2009-10-18 10:32:08 -06:00
Chad Kieffer
3387b54fe3
Add clearfix to force pager nav below dynamic g-album-grid.
2009-10-17 18:43:47 -06:00
Chad Kieffer
ad0497a8d2
Drop our g-clearfix in favor of using jQuery UI's ui-helper-clearfix.
2009-10-17 12:58:31 -06:00
Chad Kieffer
b52b200520
Restored g-buttonset class to the view menu, for now.
2009-10-15 23:38:39 -06:00
Chad Kieffer
c459482692
Remove g-toolbar, it serves no purpose for styling or JS.
2009-10-15 23:25:55 -06:00
Chad Kieffer
80bb78fa4e
Fixed resized photo float issue, added g-clearfix to g-pager on the photo view. Tightened up g-pager styles. Removed a few unecessary !importants.
2009-10-09 12:07:27 -06:00
Chad Kieffer
121fcab5c8
Replaced most clear fix hacks with generic class.
2009-10-07 00:46:02 -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