Commit Graph

208 Commits

Author SHA1 Message Date
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
85e4497e16 Merge branch 'master' of git@github.com:gallery/gallery3 2009-11-06 23:07:07 -08:00
Tim Almdal
beb63a8380 Clean up the In place edit api:
1) Only allow 1 in place edit to be active at a time (gets around the issue of using an id to identify the form
2) remove the add_ prefix from some of the api methods
3) clean up inconsistent naming
2009-11-06 23:05:20 -08:00
Chad Kieffer
1eab332652 Treat radio button layout the same as checkboxes, also include type selectors for checkbox and radio buttons. 2009-11-06 23:42:17 -07:00
Tim Almdal
03408f3e39 Refactor the in place editting in tags admin out into a separate widget as part ofthe gallery module. Create the jQuery widget, form template and library to support generalized in place editting. Part of the fix for ticket #750. 2009-11-05 13:00:41 -08:00
Chad Kieffer
e9e871acfc Docblock and todo updates. 2009-11-01 23:02:09 -07:00
Chad Kieffer
f1075a6e1f Put checkboxes to the left of their labels, to the right for .rtl 2009-11-01 20:45:22 -07:00
Chad Kieffer
46b1a48a18 Use pixels to define padding for an element with a bg image instead of ems. Fix breadcrumb seperator display for RTL. 2009-11-01 19:52:41 -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
Tim Almdal
69ef76530d Re enable the submit button if the dialog processing resends the form because of an error. 2009-10-31 09:42:09 -07:00
Chad Kieffer
db35107daf Remove padding in g-message-block, child bg colors weren't filling the box. 2009-10-28 23:21:20 -06: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
27571a1467 We really only need one "back to the Gallery" link in the banner. Replace the one on the left with "you are logged in as". Added a bit of height to the admin banner to space out the admin menu from the login menu. Forced the removal of padding-left in g-inline list items. 2009-10-27 23:18:45 -06:00
Chad Kieffer
d182ba9b57 Remove debug border I forgot to remove. 2009-10-27 23:05:16 -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
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
76aa4bd1ef Move comment and recaptcha CSS to their respective modules. 2009-10-25 23:32:49 -06:00
Chad Kieffer
a1847df83b Remove unused and/or redundant admin theme styles. Correct bg's (again) in admin > maintenance tables for IE. 2009-10-25 23:07:56 -06:00
Chad Kieffer
b3059ab6d6 Move g-editable styles from admin_wind to gallery.common, they'll be useful in themes as well as admin themes. 2009-10-25 22:18:38 -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
0875ad6fd9 Rename g-unselected to g-deselected. 2009-10-25 20:55:26 -06:00
Chad Kieffer
6ba60c82de Don't make g-editable items bold by default, let the theme or module handle font-weight of editable items. 2009-10-25 20:53:10 -06:00
Chad Kieffer
85affaf23f Remove left and right padding inside list items to remove gaps between text inputs and submit buttons when a g-short-form is in error. 2009-10-23 21:56:33 -06:00
Chad Kieffer
f1f2c384cb Rename dimension and scale classes in increments of quarters and thirds. 2009-10-23 21:54:00 -06:00
Tim Almdal
cd5485ee84 Put logic into gallery.panel.js so that when the panel is submitted, the submit button is disabled and the user is no longer able to submit multiple clicks. 2009-10-23 13:25:54 -07:00
Tim Almdal
6af697686a Put logic into gallery.dialog.js so that when the form is submitted, the submit button is disabled and the user is no longer able to submit multiple clicks. This should fix tickets: #623, #790, #799 2009-10-23 13:08:10 -07:00
Chad Kieffer
267c54d438 Update white space in form layout. This removes scrolling in dialogs with forms. 2009-10-22 22:43:53 -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
412ee0e385 Use jQuery fadeIn() for message display effect, it fades bg icon and color at the same time. 2009-10-22 22:01:02 -06:00
Chad Kieffer
fbb8e92497 Added generic .g-message class to mark form validation messages. Minor form layout updates. 2009-10-20 22:35:39 -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
1dd4e4a427 Update tag error messages to use g-action-status and g-message-block. Style g-error for short forms. 2009-10-20 20:56:14 -06:00
Chad Kieffer
5f56cbf997 Wrap all admin views in g-block and g-block content. This provides the means to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's. 2009-10-18 20:22:10 -06:00
Chad Kieffer
8cd8fa2b99 Fixed add tag short form layout. 2009-10-18 10:53:18 -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
387adbbc9d Added comments, minor white-space fixes. 2009-10-17 16:02:18 -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
7a51682383 Removed final two specific clear fixes for the developer module and the admin theme's main menu. 2009-10-15 21:21:32 -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
d71a8ef5d0 D'oh! Forgot the :after pseudo selector for .g-clearfix 2009-10-07 20:06:48 -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
Chad Kieffer
0c7e4581c9 Rename permissions icons to correspond to view states, move to lib/images. Fixed references to them in the edit permissions view. 2009-10-06 22:18:31 -06:00
Chad Kieffer
225fb42f74 Added g-block-content 2009-10-05 00:36:11 -06: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