Commit Graph

65 Commits

Author SHA1 Message Date
Chad Kieffer
c2598fe4d8 Dialog polishing. They now resize their height. Updated form styles in the context of dialog display (don't show legends, fieldset border, or submit button).
Let's make sure that all forms generated are complete and well formed and then use JS and CSS to control their display and behavior in different contexts.
2008-12-18 02:50:40 +00:00
Chad Kieffer
01f6c67eb5 Added .gLoadingLarge and .gLoadingSmall to show ajax loading indicator. Applied to modal dialogs. 2008-12-17 06:22:08 +00:00
Chad Kieffer
3c05b95620 Added JS to set/reset simple forms' input values to their corresponding labels' value. Labels should always be used with visible inputs. Use this to style and control short form input display and behavior. 2008-12-17 00:45:52 +00:00
Bharat Mediratta
a0e07764c1 Make the breadcrumb a little larger 2008-12-16 11:04:47 +00:00
Chad Kieffer
cf47b3d45c Fix that rascal IE. Added conditional HTML comment to use fix-ie.css for IE7 and earlier. Fixed bg images in album/item view buttons, IE 6/7 don't appear to handle background-position: center center :( 2008-12-15 07:08:13 +00:00
Chad Kieffer
119344d9db Switched login display from display in the header to a dialog. Validation errors don't display on first failed attempt, will fix later. Moved jquery js, images, css out to respective folders. 2008-12-15 02:45:50 +00:00
Jakob Hilden
f9906978bf added move handle icon to the sidebar blocks 2008-12-15 02:26:59 +00:00
Bharat Mediratta
2842a1a8be Argh, fix a bad rename. 2008-12-15 01:52:04 +00:00
Bharat Mediratta
1127257f63 Rename default_admin to admin_default. 2008-12-15 01:50:52 +00:00
Chad Kieffer
a56c118d44 Sidebar and comment white space and text size updates. 2008-12-13 23:38:49 +00:00
Chad Kieffer
92102c891c Layout cleanup and simplification. Move view-mode buttons into sidebar, search to header_top. Reduced borders. Started album grid improvements. Minor white space improvements. Still need to handle text/photo alignment in album grid, improve placement of search. 2008-12-13 23:02:16 +00:00
Chad Kieffer
732e43747f Apply padding-left to avoid overlap of text on message type icons. Menu updates and added Gallery Info block for admin dashboard prototype. 2008-12-12 05:09:35 +00:00
Chad Kieffer
63f6e037a7 Keep .gError and other message type classes from wallpapering bg icons on form and form child elements. 2008-12-12 01:08:25 +00:00
Chad Kieffer
53aabb7cfc Fixed message spacing, removed borders for .gMessages 2008-12-11 01:26:26 +00:00
Chad Kieffer
2eac9119f7 Added status message styles, container (.gMessages) and message types complete with icons for message types ( .gSuccess, .gError, .gWarning, .gInfo, .gHelp). 2008-12-11 01:15:48 +00:00
Chad Kieffer
2f8e3292fe fixed album view button display in IE, link text is now visually hidden 2008-12-09 07:08:17 +00:00
Chad Kieffer
2fbd4c09e6 Checked in jQuery superfish menu plugin, applied to item options menu. Updated album/item view icons. 2008-12-09 06:40:20 +00:00
Chad Kieffer
ba18542527 Yay! Working item upload dialog from the album page! 2008-12-07 07:04:58 +00:00
Chad Kieffer
36cda412f4 First go around at reusable modal dialogs. Moved jQuery UI CSS into screen.css, moved default theme JS to js folder. Named jQuery UI files to match the file names as they distribute them. Removed accordion, it's not used yet. 2008-12-07 04:49:26 +00:00
Chad Kieffer
89787fa8ab Make sure the pager clears the album grid. 2008-12-05 06:26:33 +00:00
Chad Kieffer
bfd3a21dfd Added album and item view icons (album, hybrid, slideshow, full size). Added "Options" menu placeholder to display item options (add, edit, subscribe, permissions, etc.). Renamed gAlbumHeaderMenu to gItemMenu which can be used on both album and item views. 2008-12-05 06:06:02 +00:00
Chad Kieffer
362f43169c Removed right border off of #Content container, don't need the separation between it and the Sidebar. 2008-12-05 04:24:54 +00:00
Chad Kieffer
98ea31a86d Grouped Ajax/Dom scripting related styles (gInPlaceEdit, gClose, etc.). Began gInPlaceEdit styles. 2008-12-03 03:24:45 +00:00
Chad Kieffer
26a512c352 Grouped inline form styles. No longer using gInline class in favor of specific form IDs that can be styled differently depending on which container they appear. Added gDescription class, dropped gUnderState for semantics. CSS cleanup. 2008-12-01 01:55:50 +00:00
Chad Kieffer
6c2869f822 Changed CSS organization, removed form section. Moved generic form CSS up to top of sheet and specific form styles to be adjacent to related content. This should ensure inheritance works generic down to specific. Removed #gAddTags in favor of #gTags form. 2008-11-29 21:30:30 +00:00
Bharat Mediratta
4d71975f37 Add credits theme callback, point the powered-by link at GMC 2008-11-28 09:46:29 +00:00
Bharat Mediratta
26c9ec6d4b Make header buttons, line them up nicely and float them to the right
so that they don't push the album grid down.
2008-11-27 22:08:56 +00:00
Bharat Mediratta
d909fc1070 Make tags look a little better. 2008-11-27 10:25:50 +00:00
Bharat Mediratta
92ca1ba9ab Style form#gAddTag nicely 2008-11-27 06:34:45 +00:00
Bharat Mediratta
59d71baa08 Style the tag cloud add form. 2008-11-26 10:48:22 +00:00
Bharat Mediratta
98ee16ca49 Simplify tags code some more:
1) change buckets to be 1-7 not 0-6.. zero-based indicies don't make sense in the
   real world and are liable to confuse themers.

2) Change tag API to popular_tags($count) which just returns the popular tags.  Let
   the block code massage it into the right format for the view.

3) Move alphasort into the block code, simplify it and rename it to sort_by_name so
   that it's more descriptive

4) Do the bucketing in the view; this allows the themer to override it and create their
   own bucketing algorithm to go with the theme's CSS.

5) Don't create any temporary objects.
2008-11-26 10:27:13 +00:00
Tim Almdal
03bf3a6af2 Remove the more or less links 2008-11-26 05:08:43 +00:00
Tim Almdal
1ea0382f53 Moving right along on tags. Now the threshold for which tags can be changed. The default is to show all the tags (i.e. count >= the minimum frequency) by clicking on the "See Less" link, the tag cloud will not show the minimum frequency, so the number of tags shown is smaller.
The "See More" link works the opposite way.
2008-11-25 22:38:11 +00:00
Tim Almdal
e9e589e5eb Display tag block using data from the database 2008-11-25 18:54:04 +00:00
Bharat Mediratta
7eded67708 Make the album_top and header_bottom annotated theme blocks look a little bit nicer (but not perfect) 2008-11-25 05:24:54 +00:00
Bharat Mediratta
389cf77e5a Make the annotated block titles 10% larger. 2008-11-25 04:35:50 +00:00
Bharat Mediratta
aedcba0ed2 Round the corners on the annotated titles, gently. 2008-11-25 02:24:59 +00:00
Bharat Mediratta
dcf3693b3e Add theme debugging. Activate it in the [info] tab in the
scaffolding, then browse around your Gallery3 to see where you can add
visible elements via modules.
2008-11-25 02:17:53 +00:00
Chad Kieffer
e85282b709 Make login form JS unobtrusive. Needs work. 2008-11-24 00:27:45 +00:00
Bharat Mediratta
51ada4c2e2 Move search out into its own module and have it display its link at
the header_bottom() insertion point.
2008-11-23 08:08:12 +00:00
Chad Kieffer
0ef6f4995c Fixed up the pager a bit, added missing images. Let's float items instead of using absolute positioning (slideshow link). CSS comment org and comment updates. 2008-11-23 04:34:19 +00:00
Chad Kieffer
ac9df35d8a Cleanup of header to normalize margins and white space. Improved display of user login form. Added gHide, gShowBlock, gShowInline, gClose classes to handle show and hide functions. Half-baked idea which will need refinement. 2008-11-22 20:36:46 +00:00
Chad Kieffer
1b834319f4 Restored most heading styles, still need to restore table and list styles. Removed unused CSS. CSS format updates. Applied jQuery tab styles to gSiteMenu. Removed gBlockHeader, all we need is a good old h3 element for a heading. 2008-11-21 08:35:53 +00:00
Chad Kieffer
e60ddd0bd8 Add jQuery UI, tabs, and accordion JS and CSS to build Adam Torres' hi-fi prototype. Dropped YUI Base CSS in favor of defining our own base styles in screen.css, headings will and other items may not look right until I do. Need to figure out how jQuery ThemeRoller CSS should be integrated, if at all. 2008-11-21 01:56:33 +00:00
Tim Almdal
4dfa22606f Correct the placement of the slideshow button on the photo.html page 2008-11-18 16:39:35 +00:00
Bharat Mediratta
e3be3cecf5 Second half of renaming the tags module. Change all occurrences of
gTags to gTag in the CSS.
2008-11-16 07:20:58 +00:00
Bharat Mediratta
ae7839ffaa Revise the user login code.
* Remove user registration link and popup from the theme; this
  shouldn't be done in a popup. Use ajaxform to simplify the way
  that we load the login popup.

* Create form.html.php, this is a template for Forge based forms.

* Move user validation rules into User_Model and let forms
  populate the rules into their forms as useful.

* Undo r18688's changes regarding the REST code.  We should never
  accept a null resource, this breaks the REST abstraction.

* Change login and user controllers to use Forge which lets us delete
  login.html.php and user.html.php since those now are generated by
  the theme-owned form template
2008-11-15 06:23:09 +00:00
Tim Almdal
ed90edfa96 Remove class="gInline" and set the css as suggested by thumb in -devel 2008-11-14 16:56:17 +00:00
Chad Kieffer
c9b07ff99e Only highlight text, radio, checkbox, select, and textarea elements in forms or list items with gError. Don't highlight submit, reset inputs. 2008-11-13 04:38:58 +00:00
Chad Kieffer
7db9e60bd5 It's #gLogin, not #gLoginForm. My bad... 2008-11-13 03:54:23 +00:00