summaryrefslogtreecommitdiff
path: root/themes
AgeCommit message (Collapse)Author
2009-08-11Move context menu to gallery.common, forgot to include in prior commitChad Kieffer
2009-08-11Make each context menu button clickable from side-to-sideChad Kieffer
2009-08-10Create the concept of an "ajax link" and use it for thumbnail rotationBharat Mediratta
and album covers in the context menu. Notes: - This requires context_menu() to have a CSS selector that refers to the <img> that we're operating on, otherwise we don't know how to find the thumbnail, etc. - Create Menu_Element_Ajax_Link which has an ajax_handler attribute that contains a snippet of JS that we're going to run when the ajax call returns. - Add $.gallery_replace_image in gallery.common.js - Add lib/gallery.ajax.js which can be used to ajaxify any link, and have ui.init.js in the themes call that on all .gAjaxLink elements.
2009-08-09Forgot to commit the css for the resize photo view context menu.Chad Kieffer
2009-08-09First stab at context menu for resize. It's quirky and needs work.Chad Kieffer
2009-08-09Keep image placement from shifting on hover, set gHoverItem height properly.Chad Kieffer
2009-08-09Rename resizeImage gallery_fit_image to follow convention. Move the function ↵Chad Kieffer
to gallery.common.js.
2009-08-09Merge branch 'master' of git@github.com:bharat/gallery3Chad Kieffer
2009-08-08Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branchBharat Mediratta
Conflicts: modules/gallery/js/quick.js
2009-08-08Fixed typo. Dialog links still broken. Now, wiht more speling!Chad Kieffer
2009-08-08Use the same pager layout as we do in photo.html.php.Bharat Mediratta
2009-08-08Cleanup context menu styles a bitChad Kieffer
2009-08-08Handle icon markup and styles in content menu before applying album grid ↵Chad Kieffer
hover affect. Dialog link's in context menu are broken currently
2009-08-08Merge branch 'master' of git@github.com:bharat/gallery3Chad Kieffer
2009-08-08Added basic context menu affects and styles. Simplified some of the action ↵Chad Kieffer
labels in the menu.
2009-08-07Remove stray js-breaking "#" symbol that I accidentally added in 63ddac5dBharat Mediratta
2009-08-07Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_branchBharat Mediratta
Conflicts: themes/default/js/ui.init.js
2009-08-07Rename gallery.common.js functions to conform to our naming standardsBharat Mediratta
and have some basic namespacing: showMessage --> gallery_show_message vAlign --> gallery_valign showLoading --> gallery_show_loading Convert gallery.show_full_size.js to be a jQuery function and give it a namespace: show_full_size --> gallery_show_full_size
2009-08-08Change galleryPanel and galleryDialog widgets to gallery_panel and ↵Tim Almdal
gallery_dialog respectively Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-08-08Refactor the gallery dialog into a jQuery widgetTim Almdal
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-08-07Refactor the gallery.panel.js as a jQuery widget.Tim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-06Merge branch 'master' of git@github.com:bharat/gallery3 into bharat_branchBharat Mediratta
2009-08-06Cleanup the javascript for enabling dialog or panel links.Tim Almdal
1) We don't need to loop over the elements to bind the event handler. 2) Just include gallery.panel.js for all the admin pages. Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-08-05Revert "Allow a theme to override the page refresh mechanism. Create a new"Tim Almdal
This reverts commit 1f014aae6c16bbda62d8f5937180f11ccb0eb1b1.
2009-08-04White space fixes.Chad Kieffer
2009-08-03Add the context menu to the photo/movie pages also.Bharat Mediratta
2009-08-03Combine the quick menu and the thumb menu into a single menu calledBharat Mediratta
the "context" menu. This new context menu is generated using the typical event processing system, like our other menus. The specialized quick CSS and JS is now gone, replaced by our generic menu handling code. It's all rolled together currently using the thumb_menu UI for easy packaging. All the CSS and JS is updated. NOTE: the non-dialog links (rotate, album_cover) have a broken UI because they return JSON which the quick.js code handled specially, but we don't handle properly now. I need to fix this.
2009-07-27Allow a theme to override the page refresh mechanism. Create a newTim Almdal
javascript lib (gallery.reload.js) which defines the functions gallery_reload() and gallery_location(new_location). They just do a window.location.reload() and window.location = new_location. This change breaks the assumption that all themes will handle page reloads the same and allows the theme to customize the page refresh.
2009-07-26Missed committing the gBanner addition to the view template.Chad Kieffer
2009-07-26Update to how gSiteMenu is positioned. Required addition of a new container, ↵Chad Kieffer
gBanner. This will ensure proper positioning across most browsers and simplifies gBreadcrumbs styles. Removed inaffective IE opacity style.
2009-07-25Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-23Add in more images referenced by CSS that I forgot to copy over from the ↵Bharat Mediratta
default theme when I combined the CSS
2009-07-22Use the Kohana cascading filesystem to locate resources loaded by theBharat Mediratta
theme. Because the theme comes first, this means that themes can override any module resources, at the cost that we no longer have namespacing for JS and CSS files. The only file getting used outside of this model is themes/default/screen.css which is used in the admin theme. I fixed that by copying screen.css into admin_default and renaming its screen.css to admin_screen.css. I also copied over all the images that it was referencing. Fixes tickets #48 and #539. Theme API changes: - theme_script(), theme_url() and theme_css() are no longer needed - script(), url() and css() now refer to the first matching asset in the module load path, where gallery3/lib is at the end of the path
2009-07-21Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-21Fix the bug that the quick menu fires for the wrong photo. This stemsBharat Mediratta
from using a single gQuickPane <div> that we move around. A race condition happens when you mouse over two thumbnails quickly. Whichever server response loses the race gets displayed, and sometimes it's the one that you're no longer hovering over. Fix it by changing gQuickPane to be a class and creating a <div> per thumbnail. Fixes ticket #290.
2009-07-21Escape bare & symbols so that we use valid entities. Fixes ticket #577.Bharat Mediratta
2009-07-20Fire vAlign after gQuick ajax load is complete.Chad Kieffer
2009-07-19Fire .vAlign() when gItem's changed, ex. rotated. Fix for #304.Chad Kieffer
2009-07-13Add quotes around all values that contain spaces in them, and add aBharat Mediratta
test to make sure that we continue to do so. This makes sure that we don't have problems with 5.3 which treats the literal "on" as a boolean.
2009-07-12Minor style tweaks.Chad Kieffer
2009-07-11Get the thumbnail menu working.Bharat Mediratta
1) Stop changing the menu classes in JS, instead allow us to specify it in the Menu class itself and then set it to be gThumbMenu in Theme_View 2) Move the gThumbMenu init code to the bottom of the $(document).ready() block; something in there was interfering with it.
2009-07-12Second attempt at showing and hiding the thumb menu. Renamed gThumbMenu to ↵Chad Kieffer
gPhotoMenu for use on both album and photo pages, eventually.
2009-07-12First attempt at animating gThumbMenu. Doesn't work.Chad Kieffer
2009-07-11Get rid of the form from server_add, we're not using it.Bharat Mediratta
Turn the cancel link into a themed close button which triggers a page reload. Add some padding to the left of the tree.
2009-07-11Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-07-11Styled thumb menu, still needs script to set up interraction.Chad Kieffer
2009-07-11Merge branch 'master' of git@github.com:/gallery/gallery3Bharat Mediratta
2009-07-11Further simplify server_add (and bump it to version 3).Bharat Mediratta
Now we don't have checkboxes, but instead we restrict you to selecting directories and albums from only one level in the hierarchy. This makes it easier for us to make sure that we properly create the hierarchy that you want and avoid confusion about what's going to wind up where. Modify Server_Add_File_Model to have a parent_id and item_id and then modify them as we go so that we can build up a tree structure there *before* we create any items. This makes it much easier to figure out where a new item is going to go and get rid of a bunch of probably buggy code in the main task.
2009-07-11Position gItem and gPhoto relative, then position quick and thumb menus as ↵Chad Kieffer
absolute within them. Moved css from quick.js to quick.css.
2009-07-05Add task logging functionality. When a task runs, it creates a log that isTim Almdal
stored in the persistant cache for 30 days. On the admin_maintenance page there is a new link for completed tasks "browse log". Clicking this will open a dialog box that has the the contents of the log displayed. The user can then view the log and close the dialog, or press the save button to download the log to their local machine.