Bharat Mediratta
cbba45fffc
Create the concept of an "ajax link" and use it for thumbnail rotation
...
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-10 23:07:50 -07:00
Bharat Mediratta
e4eec71efa
Rename gallery.common.js functions to conform to our naming standards
...
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-07 11:53:40 -07:00
Tim Almdal
445a8fb1b6
Change galleryPanel and galleryDialog widgets to gallery_panel and gallery_dialog respectively
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-08-08 02:08:42 +08:00
Tim Almdal
a302a9c3fa
Refactor the gallery dialog into a jQuery widget
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-08-08 02:08:28 +08:00
Tim Almdal
6abcc06e21
Refactor the gallery.panel.js as a jQuery widget.
...
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-08-07 21:22:14 +08:00
Tim Almdal
b826182b7a
Cleanup the javascript for enabling dialog or panel links.
...
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-06 22:28:05 +08:00
Chad Kieffer
88e1f02c1a
Split out re-used JavaScript for common functions (messages, valign), panel toggle, and forms to external files.
2009-05-26 03:59:35 +00:00
Chad Kieffer
a05451ef34
Apply status message display effect to admin theme. Use double rather than single quotes in JS.
2009-05-09 17:17:17 +00:00
Tim Almdal
dff53d9e31
Fix for ticket #27
...
Change the text of the edit button to "close" if the panel is opened.
Reset the original text when the panel is closed.
2009-04-03 19:01:37 +00:00
Bharat Mediratta
7cf0313e7b
Remove the in-place tag editing code from the default theme. It
...
should be implemented in the tags module for now, and then possibly
generalized out to lib later on.
2009-03-17 20:59:24 +00:00
Chad Kieffer
cd8d1c6582
Temp fix for photostreamin admin dashboard, other miscellaneous css fixes. Apply jQuery UI button css to submit inputs in the admin theme.
2009-02-23 05:14:05 +00:00
Chad Kieffer
5dcf2794c5
Fixes to comment admin buttons.
2009-02-20 07:10:20 +00:00
Bharat Mediratta
bcea2a6228
Hide the menu until we can superfish it so that we don't see the
...
unstyled list appear which causes the page layout to flicker.
2009-02-15 22:52:01 +00:00
Chad Kieffer
d04dbadfa1
Apply buttons to comment moderation and action buttons, beginnings of a photo stream carousel block in admin dashboard.
2009-02-15 22:36:51 +00:00
Jakob Hilden
b00bad39e6
improvements on the tag admin
2009-02-11 04:38:02 +00:00
Chad Kieffer
08ae48aeaa
Add hover state for buttons.
2009-02-09 02:10:19 +00:00
Chad Kieffer
cdae043999
Clean up add user and group buttons to move the + icon to the left. The + icon doesn't appear within the button outline with buttons that aren't floated. Will have to debug later.
2009-02-08 20:45:09 +00:00
Chad Kieffer
67d551d5e3
jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page.
2009-02-06 06:34:47 +00:00
Jakob Hilden
5b17619ea8
added inplace edit to tag admin (form still needs to be set to rename using AJAX)
...
removed unnecessary {element: dialogLinks[i]} from dialog and panelLink handling. now uses event.currentTarget
2009-02-04 07:14:22 +00:00
Chad Kieffer
d656b6a3e6
Beginning of edit user panel fix. Form is displayed again. Added display of user email address to list.
2009-02-03 06:45:43 +00:00
Tim Almdal
ae254df7f7
Only toggle the loading icon off, it is actually already in place. If
...
the panel doesn't have the gLoadingLarge class then don't toggle it.
This issue only arose if there was an error on the panel submission
2009-02-03 00:14:53 +00:00
Bharat Mediratta
6091350c94
Fix lint errors
2009-01-29 03:23:46 +00:00
Chad Kieffer
24f7fcd914
Apply rounded corners to gBlocks in gAvailable, not gAvailable.
2009-01-25 21:11:57 +00:00
Chad Kieffer
ffa1fa45f6
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-25 06:55:24 +00:00
Chad Kieffer
55cd2afde5
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-24 20:06:13 +00:00
Bharat Mediratta
4cd73a81ed
Don't ajaxify the theme details form; it should just be a regular form.
2009-01-23 08:31:24 +00:00
Chad Kieffer
6941af664f
Ajaxified user edit forms. They're populated, but don't submit yet.
2009-01-23 06:19:19 +00:00
Jakob Hilden
1cc5d36657
toggling of user edit panel works now.
...
added groups to the admin_user view, so you will eventually be able to edit users, groups and memberships on one admin page.
2009-01-22 08:37:58 +00:00
Chad Kieffer
ddb995eaf6
Added new UI element, gPanel, which is a similar mechanism to gDialog. Panels are hidden inline elements that can be revealed within list items, tables cells, etc. Still need to add the toggle off and ajaxify content.
2009-01-22 06:35:55 +00:00
Bharat Mediratta
8ec0e8471f
Drag and drop in the admin dashboard now saves the location.
...
* Make block_adder a real block
* Suppress the "close" link on block_adder
* Move the drag/drop JS into the core code out of the admin theme
2009-01-18 09:06:46 +00:00
Bharat Mediratta
b13f7d7460
Fix indentation
2009-01-17 04:01:39 +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
3e5ef37ee8
Make admin dashboard blocks draggable. Updated order and position not yet saved.
2009-01-16 00:55:36 +00:00
Chad Kieffer
a1c70d4a68
Remove gDraggable, we won't be using it. jQuery UI theme will handle this.
2009-01-12 07:31:40 +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
Felix Rabinovich
705c55fb79
Submit theme values
2009-01-10 22:04:49 +00:00
Felix Rabinovich
72e9d20f3c
Display theme details
2009-01-10 19:41:43 +00:00
Felix Rabinovich
006f18dc7a
Split themes into two tabs for regular and admin themes
2009-01-10 08:00:43 +00:00
Felix Rabinovich
48e73e9081
Theme Administration cleanup initialization
2009-01-09 23:54:40 +00:00
Felix Rabinovich
b647aa0f74
Theme Administration v. 2. Doesn't distinguish between regular and admin themes yet
2009-01-09 23:31:46 +00:00
Bharat Mediratta
925720ac3d
Make any ul.gMenu into a sf-menu
2009-01-07 09:08:05 +00:00
Bharat Mediratta
6bff8959cf
Reattach event listeners to open modal dialogs.
2009-01-04 08:47:08 +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
1ce19a994d
Set the admin layout to 100% of the window. Add IE fix stylesheet for admin theme, reduce height of admin header.
2009-01-02 20:09:28 +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
Bharat Mediratta
11d2788af8
Refactor common dialog JS code out into lib/gallery.dialog.js
2009-01-01 00:06:52 +00:00
Felix Rabinovich
0bef37eb0b
To reset a form use resetForm
2008-12-26 05:36:08 +00:00
Felix Rabinovich
7f95c80e88
User Administration. Edit users. Take 3
2008-12-26 00:58:15 +00:00
Bharat Mediratta
3d42234d57
Clone dialog support over from themes/default (for now)
2008-12-25 22:29:26 +00:00