Commit Graph
211 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
Felix Rabinovich a91492bc29 added missing png file to admin theme 2008-12-15 02:42:30 +00:00
Jakob Hilden f9906978bf added move handle icon to the sidebar blocks 2008-12-15 02:26:59 +00:00
Bharat Mediratta 2812f34732 Rename default_admin to admin_default. 2008-12-15 01:55:07 +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
Bharat Mediratta ac8bb530c2 Add proper preamble 2008-12-15 01:49:15 +00:00
Bharat Mediratta c02d2554cf Refactor admin dashboard.
o Copy all the assets from default to default_admin so that they're
  totally separate
o Get rid of $item_theme
o Rename list_users.html.php to users.html.php
o use __call in admin controller to allow us to load any admin page
2008-12-15 01:48:34 +00:00
Felix Rabinovich c46bd97407 load admin subpages AJAXy way 2008-12-14 21:50:10 +00:00
Felix Rabinovich 7fa014ae61 refactored admin views and added 'List User' 2008-12-14 07:59:24 +00:00
Felix Rabinovich 8b81731846 clean the links and require authorization before showing admin pages 2008-12-14 04:39:22 +00:00
Felix Rabinovich cb92d1a70d 1. fix up the <link> and <script> elements in the dashboard <head>.
2. made the images work properly
2008-12-14 04:16:38 +00:00
Felix Rabinovich 34c9aa52b8 Fixed tabs and line endings 2008-12-14 02:45:07 +00:00
Felix Rabinovich 13ad40ab5c Created admin controller and made admin obey admin theme settings 2008-12-14 02:23:37 +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 cc9aa9e72c Admin menu now similar to Wordpress admin menu. 2008-12-13 01:48:35 +00:00
Chad Kieffer 6ef284ac40 Dashboard protoype updates: Added welcome/general info block, logo, login menu, link to view gallery, close links for blocks, changed Logs to Statistics, and upped the font size. 2008-12-12 07:47:25 +00:00
Chad Kieffer 987814cac2 Missed this on the last commit. (Menu updates and added Gallery Info block for admin dashboard prototype.) 2008-12-12 05:12:11 +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