summaryrefslogtreecommitdiff
path: root/themes/default
AgeCommit message (Collapse)Author
2009-01-01Applied #gPager to next/last nav, moved up above photo and moved photo title ↵Chad Kieffer
back to below the photo.
2009-01-01Update the CSS item ID and class application for items and albums in albums. ↵Chad Kieffer
Miscellaneous CSS updates.
2009-01-01For album-specific JS, key off of #gAlbumGrid rather than .gItem.Chad Kieffer
2009-01-01Change the preamble for views in two ways:Bharat Mediratta
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
2009-01-01Move debug CSS into core/css/debug.css, and enable it for admin themes alsoBharat Mediratta
2009-01-01Refactor common dialog JS code out into lib/gallery.dialog.jsBharat Mediratta
2008-12-31Simplify the next/previous logic in the theme by passing in a nullBharat Mediratta
next/prev sib if one didn't exist. (that's what we were supposed to be doing in the first place, anyway)
2008-12-31PhotoID -> PhotoId for consistencyBharat Mediratta
2008-12-31Add Item_Model::url() and use it where appropriate. Cleans up someBharat Mediratta
grotty looking stuff in themes.
2008-12-31Add sibling information on photo pages and a very simple next/previous ↵Bharat Mediratta
interface.
2008-12-31Minor refactor. Move some stuff out of $("document").ready to functions. ↵Chad Kieffer
Comment updates.
2008-12-30Add site_status to the default theme. Only admins will see messages for ↵Bharat Mediratta
now, but it's nice for them to see messages when browsing instead of just in the site admin
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-30Missed these in r19485.Chad Kieffer
2008-12-30Refactored. Simplified organization a bit by combining sections. Restored ↵Chad Kieffer
block titles to h2. Moved #gMessage to #gContent. Removed .gClearFix class in favor of specifying selectors that require a clear fix.
2008-12-29Apply button bg image to Superfish menu items. Chad Kieffer
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-27Rename pagination icons to follow convention.Chad Kieffer
2008-12-27Icon refinementChad Kieffer
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-26The close icon's a background sprite, should be prefixed with bg- not ico-.Chad Kieffer
2008-12-26Major image cleanup, removed unsued images. Combined separate background and ↵Chad Kieffer
icon state images into sprites. Fix dialog artifact in Chrome.
2008-12-25Switch gFailure back to gError. Makes more sense semantically.Chad Kieffer
2008-12-25Update message CSS: gFailure, gInfo, gSuccess, gWarning. Removed gHelp, it's ↵Chad Kieffer
not a message type.
2008-12-25Restore inline gLoginMenu items, remove extra ; from footer.Chad Kieffer
2008-12-25Message box style update. A few font-style updates.Chad Kieffer
2008-12-25Move jquery.listen.js out to libBharat Mediratta
2008-12-25jquery-ui.packed.js --> jquery-ui.jsBharat Mediratta
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-22Add messaging system for reporting actions back to the user. MakeBharat Mediratta
module install/uninstall work and tie it into the messaging system.
2008-12-22Add some admin theme callbacks and make them explicitly admin_xxx for ↵Bharat Mediratta
consistency with the callbacks in the xxx_block helpers. So in the theme we have: admin.html.php: $theme->admin_page_bottom() then in the helpers: core_block.php: function admin_page_bottom() { }
2008-12-19Add a bit more space under gHeader.Chad Kieffer
2008-12-18Refactor site admin menu into a theme function and build the menus inBharat Mediratta
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-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-17Separate thumbnails out into var/thumbs. This clears up some ambiguity in ↵Bharat Mediratta
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-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-16Make the breadcrumb a little largerBharat Mediratta
2008-12-15Convert tabs to spacesBharat Mediratta
2008-12-15Get rid of windows line endingsBharat Mediratta
2008-12-15Fix that rascal IE. Added conditional HTML comment to use fix-ie.css for IE7 ↵Chad Kieffer
and earlier. Fixed bg images in album/item view buttons, IE 6/7 don't appear to handle background-position: center center :(
2008-12-15Fix the reference to jquery-ui.packed.jsTim Almdal