summaryrefslogtreecommitdiff
path: root/themes/default/js/ui.init.js
AgeCommit message (Collapse)Author
2009-02-23added additional comment link, if no comments have been made yet.Jakob Hilden
2009-02-15Hide the menu until we can superfish it so that we don't see theBharat Mediratta
unstyled list appear which causes the page layout to flicker.
2009-02-13Ticket #2. Tighten up search results UI.Chad Kieffer
2009-02-13Fixed short form button style.Chad Kieffer
2009-02-12Added a show comment form button. Add comment form is revealed when the ↵Chad Kieffer
button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.
2009-02-12Fixed gViewMenu button issues. Fixed major admin_default theme issues, ↵Chad Kieffer
content now clears the menu. Added IE-specific stylesheet to admin theme.
2009-02-09Add hover state for buttons.Chad Kieffer
2009-02-09And the JS file that belongs with the previous commit.Chad Kieffer
2009-02-08Fix spelling typoBharat Mediratta
2009-02-06jQuery-based buttons! Form updates, short form updates. Need to fix add ↵Chad Kieffer
user/group buttons and search form on search results page.
2009-02-04added inplace edit to tag admin (form still needs to be set to rename using ↵Jakob Hilden
AJAX) removed unnecessary {element: dialogLinks[i]} from dialog and panelLink handling. now uses event.currentTarget
2009-01-16Comment and code format fixesChad Kieffer
2009-01-13Fixed vertical alignment of thumbs.Chad Kieffer
2009-01-12Updated vertical alignment of thumbnails.Chad Kieffer
2009-01-10Add missing semicolonBharat Mediratta
2009-01-04Started to wire up album and photo view menus. Need photo's parent album ↵Chad Kieffer
link added. Also need add the slideshow link to the menu.
2009-01-03Added a jump to comments button with a scroll to effect.Chad Kieffer
2009-01-01For album-specific JS, key off of #gAlbumGrid rather than .gItem.Chad Kieffer
2009-01-01Refactor common dialog JS code out into lib/gallery.dialog.jsBharat Mediratta
2008-12-31PhotoID -> PhotoId for consistencyBharat Mediratta
2008-12-31Minor refactor. Move some stuff out of $("document").ready to functions. ↵Chad Kieffer
Comment updates.
2008-12-30Drop .gShortForm in favor of using specific form ids (gSearchForm, ↵Chad Kieffer
gAddTagForm). This maintains styles when forms are are reloaded into the DOM. Haven't figured out how to fire shortFormInit() when a form is reloaded into the DOM, as gAddTagForm is :(
2008-12-28Tighten up album grid display. Vertically align thumbnail/metadata in gItem ↵Chad Kieffer
container. Brought back borders. Use a neutral bg color for albums. Link item titles, not just thumbnails.
2008-12-26Comment and indent cleanup. Forgot to delete an image in a previous commit.Chad Kieffer
2008-12-26To reset a form use resetFormFelix Rabinovich
2008-12-25Big round of normalization of the way that our controllersBharat Mediratta
communicate. Almost all controllers now use JSON to speak to the theme when we're dealing with form processing. This means tht we only send the form back and forth, but we use a JSON protocol to tell the browser success/error status as well as the location of any newly created resources, or where the browser should redirect the user. Lots of small changes: 1) Admin -> Edit Profile is gone. Instead I fixed the "Modify Profile" link in the top right corner to be a modal dialog 2) We use json_encode everywhere. No more Atom/XML for now. We can bring those back later, though. For now there's a lot of code duplication but that'll be easy to clean up. 3) REST_Controller is no longer abstract. All methods its subclasses should create throw exceptions, which means that subclasses don't have to implement stubs for those methods. 4) New pattern: helper method get_add_form calls take an Item_Model, not an id since we have to load the Item_Model in the controller anyway to check permissions. 5) User/Groups REST resources are separate from User/Group in the site admin. They do different things, we should avoid confusing overlap.
2008-12-24Lots of deltas rolled up into a bigger change. Sorry for the mess.Bharat Mediratta
1) Deleted in-place-editing. We'll be replacing this with a real edit system that groups settings together and is more coherent. 2) Tweaked the way that dialog boxes work to get the ajax stuff working again. It's imperfect and does not work properly for uploading images. This is going to get redone also, but this is a good resting point. 3) Created edit forms for albums and photos. Moved _update and _create out of Items_Controller and into the individual subclasses. 4) Created access::required which is a shorthand for: if (!access::can(...)) { access::forbidden(); } 5) Added validation rules to Items_Model 6) Converted login to use the regular modal dialog approach in the theme.
2008-12-23Clean up the way that we upload via dialogs:Bharat Mediratta
1) If the create request is Ajax, then return a 201 Created response code 2) If we receive back a 201 response, then switch to the new page. 3) Display a status message when we do an upload.
2008-12-23Make the loading class a bit more reusable.Chad Kieffer
2008-12-23Added missing semicolonsChad Kieffer
2008-12-18Dialog polishing. They now resize their height. Updated form styles in the ↵Chad Kieffer
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-17Added .gLoadingLarge and .gLoadingSmall to show ajax loading indicator. ↵Chad Kieffer
Applied to modal dialogs.
2008-12-17Added JS to set/reset simple forms' input values to their corresponding ↵Chad Kieffer
labels' value. Labels should always be used with visible inputs. Use this to style and control short form input display and behavior.
2008-12-16(no commit message)Tim Almdal
2008-12-16Submit the form using ajaxSubmitTim Almdal
2008-12-16Add Submit and Reset buttons to the dialog in order to trap the form ↵Tim Almdal
submission so the form doesn't close. There might be a better way, but i couldn't think of it.
2008-12-15Should be ul, not u#gLoginLinkChad Kieffer
2008-12-15Renamed vars used in dialog init to avoid confusion and conflicts.Chad Kieffer
2008-12-15Switched login display from display in the header to a dialog. Validation ↵Chad Kieffer
errors don't display on first failed attempt, will fix later. Moved jquery js, images, css out to respective folders.
2008-12-15Argh, fix a bad rename.Bharat Mediratta
2008-12-15Rename default_admin to admin_default.Bharat Mediratta
2008-12-11Destroy the popup dialog when it closes so there is nothing hanging around ↵Tim Almdal
and we can reuse it for a different popup
2008-12-11Changes to the Menu.php:Tim Almdal
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-09Checked in jQuery superfish menu plugin, applied to item options menu. ↵Chad Kieffer
Updated album/item view icons.
2008-12-07Let dialogs be draggable for now.Chad Kieffer
2008-12-07First go around at reusable modal dialogs. Moved jQuery UI CSS into ↵Chad Kieffer
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.