Commit Graph
78 Commits
Author SHA1 Message Date
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
Tim Almdal 1692ee1308 Currently Admin_Theme_Options controller assumes that all the themes will provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme. 2009-11-18 14:37:49 -08:00
Tim Almdal fc41d09134 Revert "Simplify the maintenance of the xss golden file by having each module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file."
This reverts commit 4fe5801c88.
2009-11-18 10:54:01 -08:00
Tim Almdal 4fe5801c88 Simplify the maintenance of the xss golden file by having each module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file. 2009-11-18 10:34:39 -08:00
Chad Kieffer 9d45cc040d Flip the breadcrumb separator and play slideshow button for RTL languages. 2009-11-17 22:48:10 -07: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 56c543dbe4 Removed todo, it's done :) 2009-11-08 21:41:11 -07: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 07268d5c52 Key off of g-photo, rather than g-item, when fitting resized photos inside their parent. 2009-11-08 18:07:58 -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 e300ede3d8 1) Change the name of the form and message to g-in-place-edit-form and g-in-place-edit-message.
2) Make sure the cancel button works and cleans up the dom appropriately.
2009-11-07 00:05:49 -08:00
Tim Almdal f102693966 Correct some speeling errors 2009-11-06 22:19:01 -08: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
Tim Almdal 6984737a54 Clean up problem with cancelling the inplace edit left a whole bunch of css artifacts. 2009-11-05 21:35:40 -08:00
Chad Kieffer e9e871acfc Docblock and todo updates. 2009-11-01 23:02:09 -07:00
Chad Kieffer e95c0dcf2b Rename Default to Wind and Admin Wind themes respectively in CSS docblocks. 2009-11-01 22:15:06 -07:00
Chad Kieffer 80dedf77d8 Cleanup RTL styles even further. I think this gets wind and admin_wind looking pretty good for RTL. Related to the previous commit, remove g-right from login menu, let the theme handle positioning. 2009-11-01 19:11:58 -07: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 90cedf1ed0 Move .g-message font-size to the theme from gallery.common. Let the theme set the size. 2009-10-27 22:53:52 -06:00
Chad Kieffer 927c4d10fd Group and place font-size specs at the top of the sheet to make them more accessible. 2009-10-27 22:50:57 -06:00
Chad KiefferandTim Almdal 0c6840dea2 Put margin between g-inline items. Update login menu in the admin theme. Set h1 size in all g-dialogs, rather than a few specific ones. 2009-10-27 07:37:07 -07:00
Chad Kieffer f517ef4baf Moved rotate image bg css to gallery.common. 2009-10-25 23:58:54 -06:00
Chad Kieffer 2b7a21dcbc Add clearfix to search results gallery-grid to clear the pager navigation. Other minor search results style updates. Don't display legends in short forms. 2009-10-25 23:46:09 -06:00
Chad Kieffer 6403becb3f Remove #g-welcome-message, it's not needed anymore. 2009-10-25 23:28:37 -06:00
Chad Kieffer db4379a91d Move Superfish menu width overrides to gallery.common, leave color overrides at the theme-level. 2009-10-25 21:03:33 -06:00
Chad Kieffer a249460d63 Widen Superfish submenus to avoid wrapping with current items. 2009-10-25 19:01:15 -06:00
Chad Kieffer c5faa3560e Created gallery.css file, moved simple uploader, move, and permissions CSS there. Removed relocated styles from theme css. 2009-10-25 16:53:54 -06:00
Chad Kieffer e3f90a889d Adjust order of items on server_add admin page. Restore autocomplete to the add form. Created a server_add.css file. 2009-10-23 22:24:06 -06:00
Chad Kieffer 80c6bf789b 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-22 22:28:55 -06:00
Chad Kieffer bb8ece06e2 Remove g-add-photos selectors from admin_wind, they're only needed in wind. Updated case in hex color spec., prefer lowercase. 2009-10-20 22:47:12 -06:00
Chad Kieffer 3ac9e84e20 Move basic form styles from wind themes to gallery.common.css. 2009-10-20 21:35:35 -06: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 661369b50f Remove remaining clearfix selectors from fix-ie sheets. 2009-10-17 13:01:30 -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 f2b6ec6637 Move tag css from theme to the module. Introduced generic .g-inline class for inline elements, including lists and forms. 2009-10-17 12:48:54 -06:00
Chad Kieffer 99db7e2748 Remove bg icons when an <li> in a form is tagged with g-error, etc. Minor consistency updates for form layout styles in views and dialogs. 2009-10-16 01:35:05 -06:00
Chad Kieffer eb3e36f132 Apply g-dialog-link class directly to login link markup, not via jQuery. 2009-10-16 00:56:37 -06:00