omf_web 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. data/lib/omf-web/content/content_proxy.rb +18 -18
  2. data/lib/omf-web/content/file_repository.rb +6 -2
  3. data/lib/omf-web/content/git_repository.rb +4 -0
  4. data/lib/omf-web/content/repository.rb +11 -0
  5. data/lib/omf-web/data_source_proxy.rb +0 -13
  6. data/lib/omf-web/session_store.rb +8 -3
  7. data/lib/omf-web/theme/abstract_page.rb +2 -10
  8. data/{example → lib/omf-web/theme}/web_rtc/web_rtc.yaml +0 -0
  9. data/{example → lib/omf-web/theme}/web_rtc/webrtc-exp_1381786573.sq3 +0 -0
  10. data/lib/omf-web/version.rb +1 -1
  11. data/lib/omf-web/widget/data_widget.rb +2 -37
  12. data/lib/omf-web/widget/layout/one_column_layout.rb +4 -4
  13. data/lib/omf-web/widget/layout/stacked_layout.rb +6 -14
  14. data/lib/omf-web/widget/text/maruku/output/to_html.rb +4 -2
  15. data/lib/omf-web/widget/text/maruku.rb +1 -1
  16. data/lib/omf_web.rb +15 -15
  17. data/share/htdocs/graph/js/abstract_nv_chart.js +2 -2
  18. data/share/htdocs/graph/js/histogram2.js +5 -1
  19. data/share/htdocs/js/data_source3.js +2 -1
  20. data/share/htdocs/vendor/jquery-1.8.3/jquery.js +9472 -0
  21. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/animated-overlay.gif +0 -0
  22. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  23. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  24. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  25. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  26. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  27. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  28. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  29. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  30. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
  31. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  32. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
  33. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
  34. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  35. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.css +558 -0
  36. data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.min.css +7 -0
  37. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/AUTHORS.txt +260 -0
  38. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/Gruntfile.js +240 -0
  39. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/MIT-LICENSE.txt +26 -0
  40. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/README.md +96 -0
  41. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/default.html +45 -0
  42. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/index.html +14 -0
  43. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/default.html +55 -0
  44. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/index.html +14 -0
  45. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/demos.css +19 -0
  46. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/constrain-movement.html +58 -0
  47. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/cursor-style.html +42 -0
  48. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/default.html +32 -0
  49. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/delay-start.html +38 -0
  50. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/events.html +70 -0
  51. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/handle.html +41 -0
  52. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/index.html +24 -0
  53. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/revert.html +37 -0
  54. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/scroll.html +44 -0
  55. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/snap-to.html +61 -0
  56. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/sortable.html +50 -0
  57. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/visual-feedback.html +70 -0
  58. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/accepted-elements.html +53 -0
  59. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/default.html +46 -0
  60. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  61. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  62. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  63. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  64. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  65. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  66. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  67. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  68. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/index.html +20 -0
  69. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/photo-manager.html +182 -0
  70. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/propagation.html +73 -0
  71. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/revert.html +54 -0
  72. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/shopping-cart.html +94 -0
  73. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/visual-feedback.html +72 -0
  74. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/default.html +102 -0
  75. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/easing.html +102 -0
  76. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/index.html +15 -0
  77. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/default.html +95 -0
  78. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/index.html +14 -0
  79. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/calendar.gif +0 -0
  80. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  81. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on.gif +0 -0
  82. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  83. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  84. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/icon-docs-info.gif +0 -0
  85. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/pbar-ani.gif +0 -0
  86. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/index.html +29 -0
  87. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/cycler.html +107 -0
  88. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/default.html +137 -0
  89. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/earth.jpg +0 -0
  90. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/flight.jpg +0 -0
  91. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/rocket.jpg +0 -0
  92. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/index.html +15 -0
  93. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/default.html +45 -0
  94. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/index.html +14 -0
  95. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/animate.html +36 -0
  96. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/aspect-ratio.html +35 -0
  97. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/constrain-area.html +40 -0
  98. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/default.html +33 -0
  99. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/delay-start.html +45 -0
  100. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/helper.html +36 -0
  101. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/index.html +24 -0
  102. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/max-min.html +38 -0
  103. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/snap-to-grid.html +35 -0
  104. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/synchronous-resize.html +42 -0
  105. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/textarea.html +34 -0
  106. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/visual-feedback.html +36 -0
  107. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/default.html +43 -0
  108. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/display-grid.html +48 -0
  109. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/index.html +16 -0
  110. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/serialize.html +54 -0
  111. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/default.html +97 -0
  112. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/index.html +14 -0
  113. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists-through-tabs.html +72 -0
  114. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists.html +52 -0
  115. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/default.html +45 -0
  116. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/delay-start.html +61 -0
  117. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/display-grid.html +48 -0
  118. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/empty-lists.html +63 -0
  119. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/index.html +22 -0
  120. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/items.html +64 -0
  121. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/placeholder.html +50 -0
  122. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/portlets.html +115 -0
  123. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/default.html +40 -0
  124. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/index.html +14 -0
  125. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/default.html +103 -0
  126. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/index.html +14 -0
  127. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/default.html +39 -0
  128. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/index.html +14 -0
  129. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/default.html +178 -0
  130. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/index.html +14 -0
  131. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/blind-effect.html +58 -0
  132. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/bounce-effect.html +61 -0
  133. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/clip-effect.html +55 -0
  134. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/draggable.html +741 -0
  135. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/drop-effect.html +55 -0
  136. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/droppable.html +548 -0
  137. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/explode-effect.html +52 -0
  138. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fade-effect.html +43 -0
  139. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fold-effect.html +61 -0
  140. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/highlight-effect.html +52 -0
  141. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/jQuery.widget.html +611 -0
  142. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/mouse.html +216 -0
  143. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/position.html +116 -0
  144. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/puff-effect.html +52 -0
  145. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/pulsate-effect.html +52 -0
  146. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/resizable.html +685 -0
  147. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/scale-effect.html +82 -0
  148. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/selectable.html +498 -0
  149. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/shake-effect.html +66 -0
  150. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/size-effect.html +65 -0
  151. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/slide-effect.html +59 -0
  152. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/sortable.html +1450 -0
  153. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/transfer-effect.html +61 -0
  154. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.de-DE.js +81 -0
  155. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.ja-JP.js +100 -0
  156. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.js +1585 -0
  157. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jquery.mousewheel.js +101 -0
  158. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jshint.js +4835 -0
  159. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.css +244 -0
  160. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.js +2152 -0
  161. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/jquery-1.10.2.js +9789 -0
  162. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/package.json +73 -0
  163. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/animated-overlay.gif +0 -0
  164. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  165. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  166. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  167. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  168. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  169. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  170. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  171. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  172. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  173. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  174. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  175. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  176. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  177. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery-ui.css +557 -0
  178. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.all.css +12 -0
  179. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.base.css +25 -0
  180. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.core.css +93 -0
  181. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.resizable.css +76 -0
  182. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.selectable.css +13 -0
  183. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.theme.css +410 -0
  184. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
  185. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  186. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  187. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  188. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  189. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  190. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  191. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  192. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  193. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
  194. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  195. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
  196. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
  197. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  198. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery-ui.min.css +7 -0
  199. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.core.min.css +5 -0
  200. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.resizable.min.css +5 -0
  201. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.selectable.min.css +5 -0
  202. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.theme.min.css +5 -0
  203. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/animated-overlay.gif +0 -0
  204. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  205. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  206. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  207. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  208. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  209. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  210. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  211. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  212. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  213. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  214. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  215. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  216. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  217. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery-ui.css +558 -0
  218. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.all.css +12 -0
  219. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.base.css +25 -0
  220. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.core.css +93 -0
  221. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.resizable.css +76 -0
  222. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.selectable.css +13 -0
  223. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.theme.css +410 -0
  224. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/animated-overlay.gif +0 -0
  225. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  226. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  227. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  228. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  229. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  230. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  231. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  232. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  233. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_222222_256x240.png +0 -0
  234. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_2e83ff_256x240.png +0 -0
  235. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_454545_256x240.png +0 -0
  236. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_888888_256x240.png +0 -0
  237. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
  238. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery-ui.min.css +7 -0
  239. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.core.min.css +5 -0
  240. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.resizable.min.css +5 -0
  241. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.selectable.min.css +5 -0
  242. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.theme.min.css +5 -0
  243. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery-ui.custom.js +7544 -0
  244. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.core.js +320 -0
  245. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.draggable.js +958 -0
  246. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.droppable.js +389 -0
  247. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-blind.js +82 -0
  248. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-bounce.js +113 -0
  249. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-clip.js +67 -0
  250. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-drop.js +65 -0
  251. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-explode.js +97 -0
  252. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fade.js +30 -0
  253. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fold.js +76 -0
  254. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-highlight.js +50 -0
  255. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-pulsate.js +63 -0
  256. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-scale.js +318 -0
  257. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-shake.js +74 -0
  258. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-slide.js +64 -0
  259. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-transfer.js +47 -0
  260. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect.js +1289 -0
  261. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.mouse.js +169 -0
  262. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.position.js +501 -0
  263. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.resizable.js +978 -0
  264. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.selectable.js +277 -0
  265. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.sortable.js +1289 -0
  266. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.widget.js +521 -0
  267. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery-ui.custom.min.js +6 -0
  268. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
  269. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
  270. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
  271. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
  272. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
  273. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
  274. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
  275. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
  276. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
  277. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
  278. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
  279. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
  280. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
  281. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
  282. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
  283. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
  284. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
  285. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
  286. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.position.min.js +5 -0
  287. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.resizable.min.js +5 -0
  288. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.selectable.min.js +5 -0
  289. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.sortable.min.js +5 -0
  290. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
  291. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.core.jquery.json +61 -0
  292. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.draggable.jquery.json +66 -0
  293. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.droppable.jquery.json +67 -0
  294. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-blind.jquery.json +65 -0
  295. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-bounce.jquery.json +65 -0
  296. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-clip.jquery.json +65 -0
  297. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-drop.jquery.json +65 -0
  298. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-explode.jquery.json +65 -0
  299. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fade.jquery.json +65 -0
  300. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fold.jquery.json +65 -0
  301. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-highlight.jquery.json +65 -0
  302. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-pulsate.jquery.json +65 -0
  303. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-scale.jquery.json +65 -0
  304. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-shake.jquery.json +65 -0
  305. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-slide.jquery.json +65 -0
  306. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-transfer.jquery.json +63 -0
  307. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect.jquery.json +68 -0
  308. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.mouse.jquery.json +64 -0
  309. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.position.jquery.json +66 -0
  310. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.resizable.jquery.json +65 -0
  311. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.selectable.jquery.json +65 -0
  312. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.sortable.jquery.json +66 -0
  313. data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.widget.jquery.json +64 -0
  314. data/share/htdocs/vendor/jquery-ui-1.10.4/index.html +301 -0
  315. data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-1.10.2.js +9789 -0
  316. data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.js +7544 -0
  317. data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.min.js +6 -0
  318. metadata +302 -4
@@ -0,0 +1,70 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Draggable - Visual feedback</title>
6
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
+ <script src="../../jquery-1.10.2.js"></script>
8
+ <script src="../../ui/jquery.ui.core.js"></script>
9
+ <script src="../../ui/jquery.ui.widget.js"></script>
10
+ <script src="../../ui/jquery.ui.mouse.js"></script>
11
+ <script src="../../ui/jquery.ui.draggable.js"></script>
12
+ <link rel="stylesheet" href="../demos.css">
13
+ <style>
14
+ #draggable, #draggable2, #draggable3, #set div { width: 90px; height: 90px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
15
+ #draggable, #draggable2, #draggable3 { margin-bottom:20px; }
16
+ #set { clear:both; float:left; width: 368px; height: 120px; }
17
+ p { clear:both; margin:0; padding:1em 0; }
18
+ </style>
19
+ <script>
20
+ $(function() {
21
+ $( "#draggable" ).draggable({ helper: "original" });
22
+ $( "#draggable2" ).draggable({ opacity: 0.7, helper: "clone" });
23
+ $( "#draggable3" ).draggable({
24
+ cursor: "move",
25
+ cursorAt: { top: -12, left: -20 },
26
+ helper: function( event ) {
27
+ return $( "<div class='ui-widget-header'>I'm a custom helper</div>" );
28
+ }
29
+ });
30
+ $( "#set div" ).draggable({ stack: "#set div" });
31
+ });
32
+ </script>
33
+ </head>
34
+ <body>
35
+
36
+ <h3 class="docs">With helpers:</h3>
37
+
38
+ <div id="draggable" class="ui-widget-content">
39
+ <p>Original</p>
40
+ </div>
41
+
42
+ <div id="draggable2" class="ui-widget-content">
43
+ <p>Semi-transparent clone</p>
44
+ </div>
45
+
46
+ <div id="draggable3" class="ui-widget-content">
47
+ <p>Custom helper (in combination with cursorAt)</p>
48
+ </div>
49
+
50
+ <h3 class="docs">Stacked:</h3>
51
+ <div id="set">
52
+ <div class="ui-widget-content">
53
+ <p>We are draggables..</p>
54
+ </div>
55
+
56
+ <div class="ui-widget-content">
57
+ <p>..whose z-indexes are controlled automatically..</p>
58
+ </div>
59
+
60
+ <div class="ui-widget-content">
61
+ <p>..with the stack option.</p>
62
+ </div>
63
+ </div>
64
+
65
+ <div class="demo-description">
66
+ <p>Provide feedback to users as they drag an object in the form of a helper. The <code>helper</code> option accepts the values 'original' (the draggable object moves with the cursor), 'clone' (a duplicate of the draggable moves with the cursor), or a function that returns a DOM element (that element is shown near the cursor during drag). Control the helper's transparency with the <code>opacity</code> option.</p>
67
+ <p>To clarify which draggable is in play, bring the draggable in motion to front. Use the <code>zIndex</code> option to set a higher z-index for the helper, if in play, or use the <code>stack</code> option to ensure that the last item dragged will appear on top of others in the same group on drag stop.</p>
68
+ </div>
69
+ </body>
70
+ </html>
@@ -0,0 +1,53 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Droppable - Accept</title>
6
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
+ <script src="../../jquery-1.10.2.js"></script>
8
+ <script src="../../ui/jquery.ui.core.js"></script>
9
+ <script src="../../ui/jquery.ui.widget.js"></script>
10
+ <script src="../../ui/jquery.ui.mouse.js"></script>
11
+ <script src="../../ui/jquery.ui.draggable.js"></script>
12
+ <script src="../../ui/jquery.ui.droppable.js"></script>
13
+ <link rel="stylesheet" href="../demos.css">
14
+ <style>
15
+ #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
16
+ #draggable, #draggable-nonvalid { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
17
+ </style>
18
+ <script>
19
+ $(function() {
20
+ $( "#draggable, #draggable-nonvalid" ).draggable();
21
+ $( "#droppable" ).droppable({
22
+ accept: "#draggable",
23
+ activeClass: "ui-state-hover",
24
+ hoverClass: "ui-state-active",
25
+ drop: function( event, ui ) {
26
+ $( this )
27
+ .addClass( "ui-state-highlight" )
28
+ .find( "p" )
29
+ .html( "Dropped!" );
30
+ }
31
+ });
32
+ });
33
+ </script>
34
+ </head>
35
+ <body>
36
+
37
+ <div id="draggable-nonvalid" class="ui-widget-content">
38
+ <p>I'm draggable but can't be dropped</p>
39
+ </div>
40
+
41
+ <div id="draggable" class="ui-widget-content">
42
+ <p>Drag me to my target</p>
43
+ </div>
44
+
45
+ <div id="droppable" class="ui-widget-header">
46
+ <p>accept: '#draggable'</p>
47
+ </div>
48
+
49
+ <div class="demo-description">
50
+ <p>Specify using the <code>accept</code> option which element (or group of elements) is accepted by the target droppable.</p>
51
+ </div>
52
+ </body>
53
+ </html>
@@ -0,0 +1,46 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Droppable - Default functionality</title>
6
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
+ <script src="../../jquery-1.10.2.js"></script>
8
+ <script src="../../ui/jquery.ui.core.js"></script>
9
+ <script src="../../ui/jquery.ui.widget.js"></script>
10
+ <script src="../../ui/jquery.ui.mouse.js"></script>
11
+ <script src="../../ui/jquery.ui.draggable.js"></script>
12
+ <script src="../../ui/jquery.ui.droppable.js"></script>
13
+ <link rel="stylesheet" href="../demos.css">
14
+ <style>
15
+ #draggable { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
16
+ #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
17
+ </style>
18
+ <script>
19
+ $(function() {
20
+ $( "#draggable" ).draggable();
21
+ $( "#droppable" ).droppable({
22
+ drop: function( event, ui ) {
23
+ $( this )
24
+ .addClass( "ui-state-highlight" )
25
+ .find( "p" )
26
+ .html( "Dropped!" );
27
+ }
28
+ });
29
+ });
30
+ </script>
31
+ </head>
32
+ <body>
33
+
34
+ <div id="draggable" class="ui-widget-content">
35
+ <p>Drag me to my target</p>
36
+ </div>
37
+
38
+ <div id="droppable" class="ui-widget-header">
39
+ <p>Drop here</p>
40
+ </div>
41
+
42
+ <div class="demo-description">
43
+ <p>Enable any DOM element to be droppable, a target for draggable elements.</p>
44
+ </div>
45
+ </body>
46
+ </html>
@@ -0,0 +1,20 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Droppable Demos</title>
6
+ </head>
7
+ <body>
8
+
9
+ <ul>
10
+ <li><a href="default.html">Default functionality</a></li>
11
+ <li><a href="accepted-elements.html">Accepted elements</a></li>
12
+ <li><a href="propagation.html">Prevent propagation</a></li>
13
+ <li><a href="visual-feedback.html">Visual feedback</a></li>
14
+ <li><a href="revert.html">Revert draggable position</a></li>
15
+ <li><a href="shopping-cart.html">Shopping Cart</a></li>
16
+ <li><a href="photo-manager.html">Simple photo manager</a></li>
17
+ </ul>
18
+
19
+ </body>
20
+ </html>
@@ -0,0 +1,182 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Droppable - Simple photo manager</title>
6
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
+ <script src="../../jquery-1.10.2.js"></script>
8
+ <script src="../../ui/jquery.ui.position.js"></script>
9
+ <script src="../../ui/jquery.ui.core.js"></script>
10
+ <script src="../../ui/jquery.ui.widget.js"></script>
11
+ <script src="../../ui/jquery.ui.mouse.js"></script>
12
+ <script src="../../ui/jquery.ui.draggable.js"></script>
13
+ <script src="../../ui/jquery.ui.droppable.js"></script>
14
+ <script src="../../ui/jquery.ui.resizable.js"></script>
15
+ <script src="../../ui/jquery.ui.dialog.js"></script>
16
+ <link rel="stylesheet" href="../demos.css">
17
+ <style>
18
+ #gallery { float: left; width: 65%; min-height: 12em; }
19
+ .gallery.custom-state-active { background: #eee; }
20
+ .gallery li { float: left; width: 96px; padding: 0.4em; margin: 0 0.4em 0.4em 0; text-align: center; }
21
+ .gallery li h5 { margin: 0 0 0.4em; cursor: move; }
22
+ .gallery li a { float: right; }
23
+ .gallery li a.ui-icon-zoomin { float: left; }
24
+ .gallery li img { width: 100%; cursor: move; }
25
+
26
+ #trash { float: right; width: 32%; min-height: 18em; padding: 1%; }
27
+ #trash h4 { line-height: 16px; margin: 0 0 0.4em; }
28
+ #trash h4 .ui-icon { float: left; }
29
+ #trash .gallery h5 { display: none; }
30
+ </style>
31
+ <script>
32
+ $(function() {
33
+ // there's the gallery and the trash
34
+ var $gallery = $( "#gallery" ),
35
+ $trash = $( "#trash" );
36
+
37
+ // let the gallery items be draggable
38
+ $( "li", $gallery ).draggable({
39
+ cancel: "a.ui-icon", // clicking an icon won't initiate dragging
40
+ revert: "invalid", // when not dropped, the item will revert back to its initial position
41
+ containment: "document",
42
+ helper: "clone",
43
+ cursor: "move"
44
+ });
45
+
46
+ // let the trash be droppable, accepting the gallery items
47
+ $trash.droppable({
48
+ accept: "#gallery > li",
49
+ activeClass: "ui-state-highlight",
50
+ drop: function( event, ui ) {
51
+ deleteImage( ui.draggable );
52
+ }
53
+ });
54
+
55
+ // let the gallery be droppable as well, accepting items from the trash
56
+ $gallery.droppable({
57
+ accept: "#trash li",
58
+ activeClass: "custom-state-active",
59
+ drop: function( event, ui ) {
60
+ recycleImage( ui.draggable );
61
+ }
62
+ });
63
+
64
+ // image deletion function
65
+ var recycle_icon = "<a href='link/to/recycle/script/when/we/have/js/off' title='Recycle this image' class='ui-icon ui-icon-refresh'>Recycle image</a>";
66
+ function deleteImage( $item ) {
67
+ $item.fadeOut(function() {
68
+ var $list = $( "ul", $trash ).length ?
69
+ $( "ul", $trash ) :
70
+ $( "<ul class='gallery ui-helper-reset'/>" ).appendTo( $trash );
71
+
72
+ $item.find( "a.ui-icon-trash" ).remove();
73
+ $item.append( recycle_icon ).appendTo( $list ).fadeIn(function() {
74
+ $item
75
+ .animate({ width: "48px" })
76
+ .find( "img" )
77
+ .animate({ height: "36px" });
78
+ });
79
+ });
80
+ }
81
+
82
+ // image recycle function
83
+ var trash_icon = "<a href='link/to/trash/script/when/we/have/js/off' title='Delete this image' class='ui-icon ui-icon-trash'>Delete image</a>";
84
+ function recycleImage( $item ) {
85
+ $item.fadeOut(function() {
86
+ $item
87
+ .find( "a.ui-icon-refresh" )
88
+ .remove()
89
+ .end()
90
+ .css( "width", "96px")
91
+ .append( trash_icon )
92
+ .find( "img" )
93
+ .css( "height", "72px" )
94
+ .end()
95
+ .appendTo( $gallery )
96
+ .fadeIn();
97
+ });
98
+ }
99
+
100
+ // image preview function, demonstrating the ui.dialog used as a modal window
101
+ function viewLargerImage( $link ) {
102
+ var src = $link.attr( "href" ),
103
+ title = $link.siblings( "img" ).attr( "alt" ),
104
+ $modal = $( "img[src$='" + src + "']" );
105
+
106
+ if ( $modal.length ) {
107
+ $modal.dialog( "open" );
108
+ } else {
109
+ var img = $( "<img alt='" + title + "' width='384' height='288' style='display: none; padding: 8px;' />" )
110
+ .attr( "src", src ).appendTo( "body" );
111
+ setTimeout(function() {
112
+ img.dialog({
113
+ title: title,
114
+ width: 400,
115
+ modal: true
116
+ });
117
+ }, 1 );
118
+ }
119
+ }
120
+
121
+ // resolve the icons behavior with event delegation
122
+ $( "ul.gallery > li" ).click(function( event ) {
123
+ var $item = $( this ),
124
+ $target = $( event.target );
125
+
126
+ if ( $target.is( "a.ui-icon-trash" ) ) {
127
+ deleteImage( $item );
128
+ } else if ( $target.is( "a.ui-icon-zoomin" ) ) {
129
+ viewLargerImage( $target );
130
+ } else if ( $target.is( "a.ui-icon-refresh" ) ) {
131
+ recycleImage( $item );
132
+ }
133
+
134
+ return false;
135
+ });
136
+ });
137
+ </script>
138
+ </head>
139
+ <body>
140
+
141
+ <div class="ui-widget ui-helper-clearfix">
142
+
143
+ <ul id="gallery" class="gallery ui-helper-reset ui-helper-clearfix">
144
+ <li class="ui-widget-content ui-corner-tr">
145
+ <h5 class="ui-widget-header">High Tatras</h5>
146
+ <img src="images/high_tatras_min.jpg" alt="The peaks of High Tatras" width="96" height="72" />
147
+ <a href="images/high_tatras.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
148
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
149
+ </li>
150
+ <li class="ui-widget-content ui-corner-tr">
151
+ <h5 class="ui-widget-header">High Tatras 2</h5>
152
+ <img src="images/high_tatras2_min.jpg" alt="The chalet at the Green mountain lake" width="96" height="72" />
153
+ <a href="images/high_tatras2.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
154
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
155
+ </li>
156
+ <li class="ui-widget-content ui-corner-tr">
157
+ <h5 class="ui-widget-header">High Tatras 3</h5>
158
+ <img src="images/high_tatras3_min.jpg" alt="Planning the ascent" width="96" height="72" />
159
+ <a href="images/high_tatras3.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
160
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
161
+ </li>
162
+ <li class="ui-widget-content ui-corner-tr">
163
+ <h5 class="ui-widget-header">High Tatras 4</h5>
164
+ <img src="images/high_tatras4_min.jpg" alt="On top of Kozi kopka" width="96" height="72" />
165
+ <a href="images/high_tatras4.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
166
+ <a href="link/to/trash/script/when/we/have/js/off" title="Delete this image" class="ui-icon ui-icon-trash">Delete image</a>
167
+ </li>
168
+ </ul>
169
+
170
+ <div id="trash" class="ui-widget-content ui-state-default">
171
+ <h4 class="ui-widget-header"><span class="ui-icon ui-icon-trash">Trash</span> Trash</h4>
172
+ </div>
173
+
174
+ </div>
175
+
176
+ <div class="demo-description">
177
+ <p>You can delete an image either by dragging it to the Trash or by clicking the trash icon.</p>
178
+ <p>You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.</p>
179
+ <p>You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.</p>
180
+ </div>
181
+ </body>
182
+ </html>
@@ -0,0 +1,73 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Droppable - Prevent propagation</title>
6
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
+ <script src="../../jquery-1.10.2.js"></script>
8
+ <script src="../../ui/jquery.ui.core.js"></script>
9
+ <script src="../../ui/jquery.ui.widget.js"></script>
10
+ <script src="../../ui/jquery.ui.mouse.js"></script>
11
+ <script src="../../ui/jquery.ui.draggable.js"></script>
12
+ <script src="../../ui/jquery.ui.droppable.js"></script>
13
+ <link rel="stylesheet" href="../demos.css">
14
+ <style>
15
+ #draggable { width: 100px; height: 40px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
16
+ #droppable, #droppable2 { width: 230px; height: 120px; padding: 0.5em; float: left; margin: 10px; }
17
+ #droppable-inner, #droppable2-inner { width: 170px; height: 60px; padding: 0.5em; float: left; margin: 10px; }
18
+ </style>
19
+ <script>
20
+ $(function() {
21
+ $( "#draggable" ).draggable();
22
+
23
+ $( "#droppable, #droppable-inner" ).droppable({
24
+ activeClass: "ui-state-hover",
25
+ hoverClass: "ui-state-active",
26
+ drop: function( event, ui ) {
27
+ $( this )
28
+ .addClass( "ui-state-highlight" )
29
+ .find( "> p" )
30
+ .html( "Dropped!" );
31
+ return false;
32
+ }
33
+ });
34
+
35
+ $( "#droppable2, #droppable2-inner" ).droppable({
36
+ greedy: true,
37
+ activeClass: "ui-state-hover",
38
+ hoverClass: "ui-state-active",
39
+ drop: function( event, ui ) {
40
+ $( this )
41
+ .addClass( "ui-state-highlight" )
42
+ .find( "> p" )
43
+ .html( "Dropped!" );
44
+ }
45
+ });
46
+ });
47
+ </script>
48
+ </head>
49
+ <body>
50
+
51
+ <div id="draggable" class="ui-widget-content">
52
+ <p>Drag me to my target</p>
53
+ </div>
54
+
55
+ <div id="droppable" class="ui-widget-header">
56
+ <p>Outer droppable</p>
57
+ <div id="droppable-inner" class="ui-widget-header">
58
+ <p>Inner droppable (not greedy)</p>
59
+ </div>
60
+ </div>
61
+
62
+ <div id="droppable2" class="ui-widget-header">
63
+ <p>Outer droppable</p>
64
+ <div id="droppable2-inner" class="ui-widget-header">
65
+ <p>Inner droppable (greedy)</p>
66
+ </div>
67
+ </div>
68
+
69
+ <div class="demo-description">
70
+ <p>When working with nested droppables &#8212; for example, you may have an editable directory structure displayed as a tree, with folder and document nodes &#8212; the <code>greedy</code> option set to true prevents event propagation when a draggable is dropped on a child node (droppable).</p>
71
+ </div>
72
+ </body>
73
+ </html>
@@ -0,0 +1,54 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Droppable - Revert draggable position</title>
6
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
+ <script src="../../jquery-1.10.2.js"></script>
8
+ <script src="../../ui/jquery.ui.core.js"></script>
9
+ <script src="../../ui/jquery.ui.widget.js"></script>
10
+ <script src="../../ui/jquery.ui.mouse.js"></script>
11
+ <script src="../../ui/jquery.ui.draggable.js"></script>
12
+ <script src="../../ui/jquery.ui.droppable.js"></script>
13
+ <link rel="stylesheet" href="../demos.css">
14
+ <style>
15
+ #draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }
16
+ #droppable { width: 150px; height: 150px; padding: 0.5em; float: left; margin: 10px; }
17
+ </style>
18
+ <script>
19
+ $(function() {
20
+ $( "#draggable" ).draggable({ revert: "valid" });
21
+ $( "#draggable2" ).draggable({ revert: "invalid" });
22
+
23
+ $( "#droppable" ).droppable({
24
+ activeClass: "ui-state-default",
25
+ hoverClass: "ui-state-hover",
26
+ drop: function( event, ui ) {
27
+ $( this )
28
+ .addClass( "ui-state-highlight" )
29
+ .find( "p" )
30
+ .html( "Dropped!" );
31
+ }
32
+ });
33
+ });
34
+ </script>
35
+ </head>
36
+ <body>
37
+
38
+ <div id="draggable" class="ui-widget-content">
39
+ <p>I revert when I'm dropped</p>
40
+ </div>
41
+
42
+ <div id="draggable2" class="ui-widget-content">
43
+ <p>I revert when I'm not dropped</p>
44
+ </div>
45
+
46
+ <div id="droppable" class="ui-widget-header">
47
+ <p>Drop me here</p>
48
+ </div>
49
+
50
+ <div class="demo-description">
51
+ <p>Return the draggable (or it's helper) to its original location when dragging stops with the boolean <code>revert</code> option set on the draggable.</p>
52
+ </div>
53
+ </body>
54
+ </html>
@@ -0,0 +1,94 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>jQuery UI Droppable - Shopping Cart Demo</title>
6
+ <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
+ <script src="../../jquery-1.10.2.js"></script>
8
+ <script src="../../ui/jquery.ui.core.js"></script>
9
+ <script src="../../ui/jquery.ui.widget.js"></script>
10
+ <script src="../../ui/jquery.ui.mouse.js"></script>
11
+ <script src="../../ui/jquery.ui.draggable.js"></script>
12
+ <script src="../../ui/jquery.ui.droppable.js"></script>
13
+ <script src="../../ui/jquery.ui.sortable.js"></script>
14
+ <script src="../../ui/jquery.ui.accordion.js"></script>
15
+ <link rel="stylesheet" href="../demos.css">
16
+ <style>
17
+ h1 { padding: .2em; margin: 0; }
18
+ #products { float:left; width: 500px; margin-right: 2em; }
19
+ #cart { width: 200px; float: left; margin-top: 1em; }
20
+ /* style the list to maximize the droppable hitarea */
21
+ #cart ol { margin: 0; padding: 1em 0 1em 3em; }
22
+ </style>
23
+ <script>
24
+ $(function() {
25
+ $( "#catalog" ).accordion();
26
+ $( "#catalog li" ).draggable({
27
+ appendTo: "body",
28
+ helper: "clone"
29
+ });
30
+ $( "#cart ol" ).droppable({
31
+ activeClass: "ui-state-default",
32
+ hoverClass: "ui-state-hover",
33
+ accept: ":not(.ui-sortable-helper)",
34
+ drop: function( event, ui ) {
35
+ $( this ).find( ".placeholder" ).remove();
36
+ $( "<li></li>" ).text( ui.draggable.text() ).appendTo( this );
37
+ }
38
+ }).sortable({
39
+ items: "li:not(.placeholder)",
40
+ sort: function() {
41
+ // gets added unintentionally by droppable interacting with sortable
42
+ // using connectWithSortable fixes this, but doesn't allow you to customize active/hoverClass options
43
+ $( this ).removeClass( "ui-state-default" );
44
+ }
45
+ });
46
+ });
47
+ </script>
48
+ </head>
49
+ <body>
50
+
51
+ <div id="products">
52
+ <h1 class="ui-widget-header">Products</h1>
53
+ <div id="catalog">
54
+ <h2><a href="#">T-Shirts</a></h2>
55
+ <div>
56
+ <ul>
57
+ <li>Lolcat Shirt</li>
58
+ <li>Cheezeburger Shirt</li>
59
+ <li>Buckit Shirt</li>
60
+ </ul>
61
+ </div>
62
+ <h2><a href="#">Bags</a></h2>
63
+ <div>
64
+ <ul>
65
+ <li>Zebra Striped</li>
66
+ <li>Black Leather</li>
67
+ <li>Alligator Leather</li>
68
+ </ul>
69
+ </div>
70
+ <h2><a href="#">Gadgets</a></h2>
71
+ <div>
72
+ <ul>
73
+ <li>iPhone</li>
74
+ <li>iPod</li>
75
+ <li>iPad</li>
76
+ </ul>
77
+ </div>
78
+ </div>
79
+ </div>
80
+
81
+ <div id="cart">
82
+ <h1 class="ui-widget-header">Shopping Cart</h1>
83
+ <div class="ui-widget-content">
84
+ <ol>
85
+ <li class="placeholder">Add your items here</li>
86
+ </ol>
87
+ </div>
88
+ </div>
89
+
90
+ <div class="demo-description">
91
+ <p>Demonstrate how to use an accordion to structure products into a catalog and make use of drag and drop for adding them to a shopping cart, where they are sortable.</p>
92
+ </div>
93
+ </body>
94
+ </html>