Commit Graph

198 Commits

Author SHA1 Message Date
Bharat Mediratta
c67234974d Refactor site admin menu into a theme function and build the menus in
the various modules.  In the process, rename xxx_menu::site_navigation() to just
xxx_menu::site().  And add xxx_menu::admin().

The menus are the same as before, but I changed the HTML to be
consistent with the way that we do it in the regular site, and this
broke the superfish styles.  I don't know how to fix this.. help me
Chad!
2008-12-18 07:32:34 +00:00
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
Bharat Mediratta
fc7b78492b Separate thumbnails out into var/thumbs. This clears up some ambiguity in Item_Model and simplifies
file_proxy.  It also means we can stop munging file names in the var/resizes hierarchy.

In the process, rename "thumbnail" to "thumb" everywhere in honor of
Chad (well, ok because it's shorter)..
2008-12-17 04:45:35 +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
Tim Almdal
363548bfc4 2008-12-16 20:40:29 +00:00
Tim Almdal
931d8c6bdc Submit the form using ajaxSubmit 2008-12-16 17:26:19 +00:00
Tim Almdal
4c3c68ac10 Add Submit and Reset buttons to the dialog in order to trap the form submission so the form doesn't close. There might be a better way, but i couldn't think of it. 2008-12-16 16:29:59 +00:00
Bharat Mediratta
a0e07764c1 Make the breadcrumb a little larger 2008-12-16 11:04:47 +00:00
Bharat Mediratta
e73bd90285 Convert tabs to spaces 2008-12-15 08:35:46 +00:00
Bharat Mediratta
011fe8bc93 Get rid of windows line endings 2008-12-15 08:35:30 +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
Tim Almdal
20d5f45218 Fix the reference to jquery-ui.packed.js 2008-12-15 06:37:56 +00:00
Chad Kieffer
c68a0823b9 Should be ul, not u#gLoginLink 2008-12-15 06:17:17 +00:00
Chad Kieffer
1a5da095ae Renamed vars used in dialog init to avoid confusion and conflicts. 2008-12-15 06:11:32 +00:00
Tim Almdal
bc40b48729 revert the creation of a global gallery3 javascript variable 2008-12-15 05:08:22 +00:00
Tim Almdal
30c6ba48ea Forgot the quotes 2008-12-15 04:55:09 +00:00
Tim Almdal
e665a21038 Set up a global gallery3 javascript variable where we can put things that need to be passed into the javascript 2008-12-15 04:53:16 +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
c322f1fe4c Removed call to jquery.dimension 2008-12-14 00:15:23 +00:00
Chad Kieffer
aa81669ec5 Removed jquery.dimension. It's methods are part of jquery core. 2008-12-14 00:14:11 +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
ec5b8dabed Whoops. Missed this in the last commit. 2008-12-13 02:48:59 +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
Tim Almdal
bd992a97b2 Remove the options menus from the albums and photo pages and move to the site menu 2008-12-11 21:27:16 +00:00
Tim Almdal
bf10544e27 Destroy the popup dialog when it closes so there is nothing hanging around and we can reuse it for a different popup 2008-12-11 20:47:09 +00:00
Tim Almdal
faeb52e7f4 remove the <span class="ui-tabs-nav"> from arround the site menu. It was clashing with the superfish styling. 2008-12-11 19:22:38 +00:00
Tim Almdal
1af3b8e100 Changes to the Menu.php:
1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively.
2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added.  All elements of class gMenuDialog have the gDialogLink class added.
3) Use Superfish for the menus so they now float properly.
2008-12-11 19:01:47 +00:00
Chad Kieffer
c2ce81ba30 In progress admin dashboard prototype. 2008-12-11 06:38:26 +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
Tim Almdal
5ebd0854be Combine all the ui.jquery files into a single packed file at version (1.6rc2) copied from the the corresponding vendor branch.
Move into the application/lib directory and remove from the theme.
Remove the ui.jquery javascript from the rearrange module and use the common library.
2008-12-09 17:02:06 +00:00
Bharat Mediratta
930fb1f697 Remove tabs, fix indentation. 2008-12-09 08:29:12 +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
Tim Almdal
bd033cda8f Move form.html.php from themes/default/views to core/views 2008-12-07 23:05:00 +00:00
Tim Almdal
eaffc5e085 Changed how drawForms handles hidden fields. I make the assumption that hidden fields will never have an error or label so rather then recursing to draw the hidden fields, we just render them. Also moved the hidden fields outside the <ul>. 2008-12-07 21:52:06 +00:00
Tim Almdal
e518dafb19 1) Revert the changes to Form_Upload and Form_Textarea, so we don't have to change third party code.
2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>.  If $input->class is empty then treat as a hidden field.
2008-12-07 21:24:50 +00:00
Tim Almdal
954fcf0342 Merge gallery3/branches/menus back into gallery3/trunk 2008-12-07 19:45:46 +00:00
Bharat Mediratta
d086f31ea4 Style cleanups to make File_Structure_Test pass. 2008-12-07 07:42:02 +00:00
Chad Kieffer
ba18542527 Yay! Working item upload dialog from the album page! 2008-12-07 07:04:58 +00:00
Chad Kieffer
c65ae12032 Let dialogs be draggable for now. 2008-12-07 04:58:07 +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
dca3cd2e8d Switch the slideshow link from text to icon. 2008-12-06 17:18:55 +00:00
Chad Kieffer
89787fa8ab Make sure the pager clears the album grid. 2008-12-05 06:26:33 +00:00