Commit Graph

109 Commits

Author SHA1 Message Date
Tim Almdal
01d00dfd86 Change the item menu to allow the watch icon to change depending on
whether the item is currently being watched.  Currently the icon is
the same as the add icon and needs to be changed.
2009-02-02 03:55:33 +00:00
Tim Almdal
38cf6ca403 The start of the notification module. At this point, the icon has been added to the item menu in the sidebar (both photo and album). There is a corresponding icon in themes/default/images that needs to be spruced up. You can add and remove notifications to albums and photos, but nothing happens under the covers for event handling. 2009-01-30 20:52:25 +00:00
Tim Almdal
bfb5c42124 Adding Recaptcha to the comment module. Recaptcha integration consists of a Form_Recaptcha class derived from Form_Input that can be added to any class that requires Recaptcha verfication. 2009-01-26 16:12:57 +00:00
Tim Almdal
a8233ed979 Undo the adding underscores to the id on forge generated forms 2009-01-25 06:28:04 +00:00
Tim Almdal
cbff78daa8 Supply a form id on all forms. This id can be used by modules other
than the originating module to provide additional functionality to the form.
2009-01-24 17:26:47 +00:00
Bharat Mediratta
eed57674f9 Add move support. Use the move icon in the quick pane. You can't
move an item into its own hierarchy, or into an album where you don't
have edit permission.
2009-01-24 05:14:44 +00:00
Chad Kieffer
c4313b718b CSS updates for form validation messages and icons. Don't show error, info, warning icons next to form fields, just messages. 2009-01-22 05:05:20 +00:00
Chad Kieffer
ce70ab3785 Comment and code format fixes 2009-01-16 07:22:30 +00:00
Chad Kieffer
e749e6cf3e Added drop target style, other minor admin dashboard style updates. 2009-01-16 06:45:25 +00:00
Chad Kieffer
c383b2fc35 Visually attach the quick edit menu to the thumbnail container. Added more edit options (move, select as album cover, delete, additional options).
Need to decide which belong in the bar and which belong in a dropdown menu under "options."
2009-01-14 06:36:47 +00:00
Chad Kieffer
73d97f6c74 Restored .understate for use to visually mute type (gray out). 2009-01-12 06:55:09 +00:00
Bharat Mediratta
70b9608275 Fix up the colors and background images for rows in gAdminMaintenance. 2009-01-11 22:56:52 +00:00
Chad Kieffer
eccf2bf83e Moved admin css that needs a home to admin theme. Removed bg texture from default theme's site menu and buttons. Leave 'em with a flat color for now. 2009-01-11 22:49:54 +00:00
Bharat Mediratta
b98f498ed6 Change admin/graphics to avoid using radio buttons. Instead, when you
hover over a toolkit it changes color and your cursor becomes a
pointer.  Clicking changes the toolkit.
2009-01-11 22:14:44 +00:00
Bharat Mediratta
0033887ba8 Rework the way we do theme selection. Show the currently active theme
and then thumbnails for all the other available themes.  If you select
one of the other available themes, it gives you a preview pane where
you can look at either the main page or the site admin page with the
new theme, then choose to activate it if you like it.
2009-01-11 00:24:39 +00:00
Chad Kieffer
aed5a4c788 2009-01-10 22:39:24 +00:00
Chad Kieffer
15c25d85ec Switch the pager to use themeroller's icon sprites. I applied jquery ui css classes to newly added span classes in the pager templates directly, will likely move these out and apply through ui.init.js later. 2009-01-10 21:50:35 +00:00
Chad Kieffer
e45bbf57e8 Deleted icons used before jquery ui 1.6rc4 update. Renamed breadcrumb seperator to just seperator. 2009-01-10 19:45:39 +00:00
Chad Kieffer
e82afcebfa Site message placement and style adjustments. 2009-01-10 19:33:01 +00:00
Chad Kieffer
7569b39802 Updated to jquery ui 1.6rc4. Lots of changes, improved widget theme css and icons. No need to fix position dialogs anymore. Included the following in the combined file + i18n files. Requires push back up to vendor branch.
UI Core
Effects Core
Draggable - Req'd by Sortable
Resizeable - Image/watermark/avatar scaling
Sortable - Rearrange
Dialog - All over :)
Datepicker - Edit albums/items
Progressbar
Highlight - Message display, comment addition
Transfer - Adding tags from available list to field


Not fully integrated into the default theme yet.
2009-01-10 06:25:44 +00:00
Chad Kieffer
f97d7da720 Reformated comment admin table layout. Added bulk action checkboxes and menu, reply link, and edit link, all of which need to be wired up. 2009-01-09 07:33:22 +00:00
Chad Kieffer
7bd5105f33 Updated todos 2009-01-08 01:09:18 +00:00
Bharat Mediratta
ba052c0cc9 Extract the Akismet driver from the Spam_Filter module into a module
in its own right.  Clean up the tests, streamline the code and improve
the admin interaction.  Add a working stats page.
2009-01-07 07:36:48 +00:00
Bharat Mediratta
a63502b3c6 Refactor the way that dialogs work:
1) Get rid of the resizing behavior; create the dialog in the right
   place and then show it.

2) Grab the fieldset legend and put it into the title of the dialog,
   so that we don't have to use title="" params in anchors.

3) Stop using fixed buttons and let the form define its own buttons.

4) Stop suppressing all form buttons.
2009-01-06 08:33:39 +00:00
Chad Kieffer
bdff96bd54 Added a jump to comments button with a scroll to effect. 2009-01-03 19:09:32 +00:00
Chad Kieffer
62fe5f0bd6 Inject the drag and drop handle style via jQuery. Restore background color bars behind admin block titles. 2009-01-03 01:26:22 +00:00
Chad Kieffer
a57ede2f96 Added default user avatar. Comment thread updates, including display of avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css. 2009-01-03 01:11:20 +00:00
Chad Kieffer
d6e2614802 Added basic table styles. Fixed width issue on gContent in the admin theme. Only display background colors on gInfo, gError, gWarning, etc. if they appear in gSiteStatus or gMessage. Miscellaneous form style updates. 2009-01-02 21:21:54 +00:00
Chad Kieffer
5321c8d59d Switched admin menu from navbar back to plain menu, plain dropdowns are more usable. Minor text formatting updates. 2009-01-02 07:09:25 +00:00
Chad Kieffer
7452a18938 Update the CSS item ID and class application for items and albums in albums. Miscellaneous CSS updates. 2009-01-01 22:54:35 +00:00
Bharat Mediratta
7c82691e00 Move debug CSS into core/css/debug.css, and enable it for admin themes also 2009-01-01 00:16:08 +00:00
Chad Kieffer
27009ad852 Drop .gShortForm in favor of using specific form ids (gSearchForm, 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-30 02:50:52 +00:00
Chad Kieffer
96fce2dd3b Refactored. Simplified organization a bit by combining sections. Restored block titles to h2. Moved #gMessage to #gContent. Removed .gClearFix class in favor of specifying selectors that require a clear fix. 2008-12-30 00:50:23 +00:00
Chad Kieffer
62cd05fb16 Apply button bg image to Superfish menu items. 2008-12-29 06:12:00 +00:00
Chad Kieffer
aff2af5e1f Tighten up album grid display. Vertically align thumbnail/metadata in gItem container. Brought back borders. Use a neutral bg color for albums. Link item titles, not just thumbnails. 2008-12-28 07:33:09 +00:00
Chad Kieffer
dc62e4167e Rename pagination icons to follow convention. 2008-12-27 17:16:21 +00:00
Chad Kieffer
2d40715f44 The close icon's a background sprite, should be prefixed with bg- not ico-. 2008-12-26 05:15:57 +00:00
Chad Kieffer
b20b56d762 Major image cleanup, removed unsued images. Combined separate background and icon state images into sprites. Fix dialog artifact in Chrome. 2008-12-26 04:27:39 +00:00
Chad Kieffer
847d42682d Switch gFailure back to gError. Makes more sense semantically. 2008-12-25 23:31:41 +00:00
Chad Kieffer
caaa521927 Update message CSS: gFailure, gInfo, gSuccess, gWarning. Removed gHelp, it's not a message type. 2008-12-25 23:22:38 +00:00
Chad Kieffer
9ebced112b Restore inline gLoginMenu items, remove extra ; from footer. 2008-12-25 20:12:00 +00:00
Chad Kieffer
2c978cb37a Message box style update. A few font-style updates. 2008-12-25 19:59:15 +00:00
Bharat Mediratta
672eca5337 Lots of deltas rolled up into a bigger change. Sorry for the mess.
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-24 00:20:26 +00:00
Chad Kieffer
12e9c136f2 Add a bit more space under gHeader. 2008-12-19 06:10:45 +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
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
Bharat Mediratta
a0e07764c1 Make the breadcrumb a little larger 2008-12-16 11:04:47 +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
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