Commit Graph

65 Commits

Author SHA1 Message Date
Chad Kieffer
8deabcc195 Updated to jQuery 1.3.2, needs to be pushed upstream. 2009-05-01 05:11:09 +00:00
Tim Almdal
7349d49945 Add the ui.jquery selectable plugin by copying the new vendor version to trunk 2009-04-16 00:20:45 +00:00
Bharat Mediratta
db77192598 Update SWFUpload to v2.2.0.1 2009-04-06 04:08:44 +00:00
Tim Almdal
75d98701ae Guard the calling of the form closing event so its not called if there
is no form.
2009-03-26 04:09:03 +00:00
Tim Almdal
520a4b41b3 Add a "form_closing" custom event to the dialog processing. This
allows the form in the dialog todo custom processing when the form
closes.

For example, the server_add dialog (next commit) uses this callback to
determine if the upload task was cancelled and display a warning
message when the page reloads.

Usage:
$("#gServerAdd form").bind("form_closing", function(target){...});
2009-03-24 17:30:06 +00:00
Chad Kieffer
591403d794 Added rotate cc and ccw icons to themeroller theme and css to default theme, applied to quick pane rotate buttons. Hope that jQuery UI includes rotate icons eventrually so we don't have to maintain this. 2009-03-18 06:15:37 +00:00
Bharat Mediratta
489059342e Remove windows line endings 2009-03-17 18:32:02 +00:00
Bharat Mediratta
63c8bb8d76 Updated lib/swfupload to SWFUpload v2.2.0 Beta 5 2009-03-17 06:00:21 +00:00
Bharat Mediratta
0f5ccc9aa3 Switch from using SimpleUploader to using swfUpload as our flash based
uploader.  This is modeled on
http://codex.gallery2.org/Gallery3:Upload_UX but is not yet complete.

Notes:
* Changed #gProgressBar to .gProgressBar to support multiple progress
  bars on the same page
* Added a bunch of CSS to the "needs a home" section in
  themes/default/css/screen.css
2009-03-17 05:20:37 +00:00
Bharat Mediratta
2ef8e28198 Pass on_success through to ajaxify_dialog, resolving an bug created
in r20302.
2009-03-08 00:23:15 +00:00
Tim Almdal
e96e26a12f Fix for ticket #130
1) Shuffled code around to create a on_form_loaded function
2) Check for a data.reset string in the json return.  If it exists and
is a function then call. The idea being that if there is an error we
might have to reset some jquery widget initialization.
2009-03-06 22:35:05 +00:00
Tim Almdal
6a33dd2c5c Include the ui.tabs.css in the theme css file 2009-03-06 17:49:46 +00:00
Tim Almdal
1333c233aa Update jquery-ui to 1.7 and include the tab library 2009-03-06 16:41:22 +00:00
Tim Almdal
6d7fa5875a rename jquery.autocomplete.pack.js 2009-03-04 19:46:55 +00:00
Tim Almdal
ef8c71417a Move the autocomplete js and css files to lib 2009-03-04 16:10:03 +00:00
Bharat Mediratta
515c081f79 Add support MP4 movies also. Flowplayer supports them and can stream
them using the h264streaming plugin.  Everything else is a fairly
minor change.
2009-02-25 05:27:29 +00:00
Chad Kieffer
ecaf6bda32 Added fix i18n todo item for cancel link 2009-02-23 00:44:50 +00:00
Chad Kieffer
9b73213693 Add Cancel link next to submit buttons in dialogs. Apply button style to buttons in dialogs. 2009-02-22 08:05:15 +00:00
Bharat Mediratta
baff63b70b Very basic movie support. You can upload a FLV file, we use ffmpeg to
extract a thumbnail out of it and if you click through we show it
using flowplayer.
2009-02-22 05:21:44 +00:00
Chad Kieffer
c69b483e34 Added jQuery UI Accordion widget. Updated vendor branch README. 2009-02-12 01:19:03 +00:00
Chad Kieffer
fc162362de Set one of 3 dialog widths keying off of form's CSS width value: 300px, 500px, or $(window).width() -100. Tested in IE 6, 7, 8 and looks good. Also, remove titlebar from progress bar dialogs. 2009-02-10 05:48:55 +00:00
Chad Kieffer
767bf41287 Dialogs don't need to be resizeable, at least not yet. 2009-02-09 01:19:54 +00:00
Bharat Mediratta
b6b60bdc57 Copy Superfish 1.4.8 from the vendor branch 2009-02-08 23:49:43 +00:00
Bharat Mediratta
a68ac7d2ce Fix dialogs in IE7 so that they appear. The sizes are still wrong, though. 2009-02-08 23:39:25 +00:00
Chad Kieffer
aa1abbf82a Let the theme control overlay opacity for dialogs. 2009-02-08 19:35:10 +00:00
Chad Kieffer
8e3bb143c9 Removed duplicated images from vendor move. 2009-02-08 19:33:00 +00:00
Chad Kieffer
f7d226bd31 Move jQuery UI ThemeRoller css and images to lib. Should simplify future updates, keep default theme directories clean. 2009-02-08 19:17:19 +00:00
Chad Kieffer
ce826c3048 Updated jQuery UI in lib to 1.6rc6. Removed opacity settings in openDialog, refactored showLoading() a bit. 2009-02-07 21:01:52 +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
Bharat Mediratta
713c8e8ab3 Update to jquery-ui 1.6rc5 with Droppable 2009-01-28 09:47:12 +00:00
Chad Kieffer
573f787d63 Set dialog width to 200px for dialog's whose content is less than 400px wide, like the login form. 2009-01-25 20:58:15 +00:00
Felix Rabinovich
e3212b5456 Updated jquery and jeditable plugin to 1.3.1 2009-01-24 20:29: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
Chad Kieffer
20cd5df3a3 Remove jquery.listen.js, we're not using it. 2009-01-24 01:08:46 +00:00
Chad Kieffer
19811aec53 Minor formatting cleanup, removed unecessary line. 2009-01-23 01:19:46 +00:00
Bharat Mediratta
401da12adb Undo r19818, an accidental submit 2009-01-20 01:30:46 +00:00
Bharat Mediratta
aaac244124 Comment out the code that checks for form elements named "submit". It
appears not to work correctly and is getting in the way.  Commenting
it out here means that it'll get overwitten on the next update of this
library (but that's ok).
2009-01-20 01:29:33 +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
Chad Kieffer
a7b6409b74 Reverted jQuery back to 1.2.6, UI back to RC4. Need to test more thoroughly next time. Sorry. 2009-01-16 07:51:31 +00:00
Chad Kieffer
780682c04a Updated to jQuery UI 1.6rc5 (requires jQuery 1.3 now) 2009-01-16 07:39:42 +00:00
Chad Kieffer
2b0b21d76d Updated to jQuery 1.3. Change needs to be pushed to vendor branch. 2009-01-16 07:38:19 +00:00
Chad Kieffer
42e635bff0 Theme admin refinement. Make more room to show the preview by enlarging the iframe and removing the heading above it. 2009-01-12 07:57:13 +00:00
Bharat Mediratta
120ad3a2cd Pull the dialog title from the first <h1> we find, fall back to the first <fieldset> <legend> 2009-01-11 00:18:29 +00:00
Felix Rabinovich
03a5f08258 Updated jquery-ui to include tabs 2009-01-10 07:32:25 +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
b5fbee54a0 Reverted back to previous jquery-ui.js (1.6rc2). 1.6rc4 is screwing up placement of dialogs, among other things. 2009-01-09 08:14:48 +00:00
Chad Kieffer
3c31549011 Added gCommentsAdminMenu to clearfix. 2009-01-09 08:08:22 +00:00
Bharat Mediratta
b21215d2e6 use "position: fixed" to keep the dialog centered in the viewport. 2009-01-06 09:38:40 +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
Bharat Mediratta
06b4145b76 Quick edit dialogs should stay on the same page and trigger a reload. 2009-01-05 08:20:07 +00:00