Commit graph

39 commits

Author SHA1 Message Date
851c870b16 Handle server request errors (only retry on timeout) (refs: #343ba1) 2012-02-14 23:50:00 +01:00
cefe991968 Add set_message to display a permanent version of a flash message 2012-02-14 23:49:11 +01:00
98275014a5 Tweak the layout fix of pre blocks a bit more 2012-02-14 23:48:48 +01:00
90fb2057a9 Send resize updates and handle resize server events (closes: #1a4507) 2012-02-14 18:50:49 +01:00
f4bd1b9348 Make items resizable, parameters depend on the (mime) type 2012-02-14 18:49:47 +01:00
063ab8612e Fix the comments (counter) in the generated draggable HTML for now
This is necessary to give the draggable div a nice, fixed initial height.
2012-02-14 18:48:07 +01:00
e7c1bdc461 Use the message box to show/handle filedrop errors (closes: #079a63) 2012-02-14 00:25:29 +01:00
7a5caad7e1 Big dialog rework using JQuery UI dialogs
* Turn #add_dialog into a proper dialog.
* Split off the dialog form functionality into clear_add_dialog_form().
* Update {show,hide}_add_dialog.
* Fixed dialog hiding issue in delete_draggable_from_canvas.
* Chain deletion via confirm_delete_draggable, a confirm dialog to
  delete_draggable.
2012-02-13 18:07:11 +01:00
3af2bf38c0 Code cleanups 2012-02-11 23:56:40 +01:00
4c63e00e82 Handle the download button by calling the download controller; add some style 2012-02-11 12:32:36 +01:00
f6274f1002 No longer reload window after adding, just wait for the add event 2012-02-11 12:30:52 +01:00
e38da8c405 A jQuery function should return this 2012-02-11 12:30:01 +01:00
6f9a7c60d9 Fade in items that are added 2012-02-11 12:29:01 +01:00
7f6e91c44b Merge branch 'feature/dragndrop' to add drag&drop support (closes: #743b13) 2012-02-11 00:39:21 +01:00
6a120ae148 Add a poll_server method loop and handle server events by manipulating the canvas
Closes #5bc941.
2012-02-09 10:35:51 +01:00
870342ffdf Split of the code for the actual adding/deleting of draggables to/from the canvas 2012-02-09 10:28:09 +01:00
29f6b52dff Use the filedrop jQuery plugin to allow for drag & drop uploading 2012-01-18 22:18:35 +01:00
5a4ab521b3 Add the filedrop jQuery plugin 2012-01-18 22:18:35 +01:00
0b6d9c6ba0 Raise a draggable on click 2012-01-17 14:27:52 +01:00
b961536aab Modify draggable params: dragging starts from > 10px and not on audio/vido 2012-01-17 14:27:37 +01:00
bc35b23891 Remove debug statements; added missing semicolons 2012-01-16 23:45:15 +01:00
6300da2881 Fixed id attribute retrieval due to refactoring in 5b3edc5 2012-01-16 20:27:09 +01:00
5b3edc5e53 Refactored the draggable setup into the plempable jQuery plugin 2012-01-16 10:22:22 +01:00
33f5f1511e Rename dragreg.js to plemp-ui.js 2012-01-16 10:02:50 +01:00
d201cd9fa7 Show comments part of the draggable when hovering over it (no comments yet though) 2012-01-16 00:17:51 +01:00
03f6469223 Removed unused callback function 2012-01-15 23:52:08 +01:00
e09dc28a06 Keycode 16 is actually Shift, don't trigger on that! 2012-01-15 23:51:51 +01:00
98c37dba4e Add fade effect when a draggable is removed 2012-01-15 23:51:01 +01:00
1e0b8a21d8 Include and use the Jeditable jQuery plugin to update the title 2012-01-15 23:46:09 +01:00
5a1f6fe4ac Add the Jeditable jQuery plugin 2012-01-15 23:42:39 +01:00
569052a06e Delete the draggable when the "X" is clicked upon
Also apply syntax highlighting, draggabilty, and signals to the last
added draggable in the iteration, not to all.
2012-01-15 17:15:10 +01:00
2537e0ef77 Only apply syntax highlighting to code now that we know the type 2012-01-15 16:19:12 +01:00
86f518d0c7 Fix saving positions of text and code 2012-01-13 10:43:47 +01:00
f938e66614 Fix stacking of things that are not an image 2012-01-13 10:43:08 +01:00
68e38d8568 Apply source highlighting to all <pre/> blocks 2012-01-12 14:22:37 +01:00
245f97c636 Add the highlight.js library 2012-01-12 14:20:50 +01:00
9b4f70c6e9 Implement keyboard support (Plus/Escape) for showing/hiding the upload dialog 2012-01-12 13:22:52 +01:00
c630ac3beb Changed the routes to provide a more RESTful interface 2012-01-12 11:38:40 +01:00
faea9200db Reorganize public/ to have a more tradition Express-y structure 2012-01-12 11:20:33 +01:00