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.
- data/lib/omf-web/content/content_proxy.rb +18 -18
- data/lib/omf-web/content/file_repository.rb +6 -2
- data/lib/omf-web/content/git_repository.rb +4 -0
- data/lib/omf-web/content/repository.rb +11 -0
- data/lib/omf-web/data_source_proxy.rb +0 -13
- data/lib/omf-web/session_store.rb +8 -3
- data/lib/omf-web/theme/abstract_page.rb +2 -10
- data/{example → lib/omf-web/theme}/web_rtc/web_rtc.yaml +0 -0
- data/{example → lib/omf-web/theme}/web_rtc/webrtc-exp_1381786573.sq3 +0 -0
- data/lib/omf-web/version.rb +1 -1
- data/lib/omf-web/widget/data_widget.rb +2 -37
- data/lib/omf-web/widget/layout/one_column_layout.rb +4 -4
- data/lib/omf-web/widget/layout/stacked_layout.rb +6 -14
- data/lib/omf-web/widget/text/maruku/output/to_html.rb +4 -2
- data/lib/omf-web/widget/text/maruku.rb +1 -1
- data/lib/omf_web.rb +15 -15
- data/share/htdocs/graph/js/abstract_nv_chart.js +2 -2
- data/share/htdocs/graph/js/histogram2.js +5 -1
- data/share/htdocs/js/data_source3.js +2 -1
- data/share/htdocs/vendor/jquery-1.8.3/jquery.js +9472 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.css +558 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/css/smoothness/jquery-ui-1.10.4.custom.min.css +7 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/AUTHORS.txt +260 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/Gruntfile.js +240 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/MIT-LICENSE.txt +26 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/README.md +96 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/default.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/addClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/default.html +55 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/animate/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/demos.css +19 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/constrain-movement.html +58 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/cursor-style.html +42 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/default.html +32 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/delay-start.html +38 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/events.html +70 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/handle.html +41 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/index.html +24 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/revert.html +37 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/scroll.html +44 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/snap-to.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/sortable.html +50 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/draggable/visual-feedback.html +70 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/accepted-elements.html +53 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/default.html +46 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/index.html +20 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/photo-manager.html +182 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/propagation.html +73 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/revert.html +54 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/shopping-cart.html +94 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/droppable/visual-feedback.html +72 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/default.html +102 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/easing.html +102 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/effect/index.html +15 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/default.html +95 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/hide/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/calendar.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/index.html +29 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/cycler.html +107 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/default.html +137 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/earth.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/flight.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/position/index.html +15 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/default.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/removeClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/animate.html +36 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/aspect-ratio.html +35 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/constrain-area.html +40 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/default.html +33 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/delay-start.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/helper.html +36 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/index.html +24 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/max-min.html +38 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/snap-to-grid.html +35 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/synchronous-resize.html +42 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/textarea.html +34 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/resizable/visual-feedback.html +36 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/default.html +43 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/display-grid.html +48 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/index.html +16 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/serialize.html +54 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/default.html +97 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/show/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists-through-tabs.html +72 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/default.html +45 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/delay-start.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/display-grid.html +48 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/empty-lists.html +63 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/index.html +22 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/items.html +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/placeholder.html +50 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/portlets.html +115 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/default.html +40 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/switchClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/default.html +103 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggle/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/default.html +39 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/toggleClass/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/default.html +178 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/widget/index.html +14 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/blind-effect.html +58 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/bounce-effect.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/clip-effect.html +55 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/draggable.html +741 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/drop-effect.html +55 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/droppable.html +548 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/explode-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fade-effect.html +43 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/fold-effect.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/highlight-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/jQuery.widget.html +611 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/mouse.html +216 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/position.html +116 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/puff-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/pulsate-effect.html +52 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/resizable.html +685 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/scale-effect.html +82 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/selectable.html +498 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/shake-effect.html +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/size-effect.html +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/slide-effect.html +59 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/sortable.html +1450 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/docs/transfer-effect.html +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.de-DE.js +81 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.culture.ja-JP.js +100 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/globalize.js +1585 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jquery.mousewheel.js +101 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/jshint.js +4835 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.css +244 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/external/qunit.js +2152 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/jquery-1.10.2.js +9789 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/package.json +73 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery-ui.css +557 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.all.css +12 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.base.css +25 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.core.css +93 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.resizable.css +76 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.selectable.css +13 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/jquery.ui.theme.css +410 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- 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
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery-ui.min.css +7 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.core.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.resizable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.selectable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/base/minified/jquery.ui.theme.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery-ui.css +558 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.all.css +12 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.base.css +25 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.core.css +93 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.resizable.css +76 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.selectable.css +13 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/jquery.ui.theme.css +410 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/animated-overlay.gif +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- 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
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_222222_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_454545_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_888888_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery-ui.min.css +7 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.core.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.resizable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.selectable.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/themes/smoothness/minified/jquery.ui.theme.min.css +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery-ui.custom.js +7544 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.core.js +320 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.draggable.js +958 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.droppable.js +389 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-blind.js +82 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-bounce.js +113 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-clip.js +67 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-drop.js +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-explode.js +97 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fade.js +30 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-fold.js +76 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-highlight.js +50 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-pulsate.js +63 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-scale.js +318 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-shake.js +74 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-slide.js +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect-transfer.js +47 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.effect.js +1289 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.mouse.js +169 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.position.js +501 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.resizable.js +978 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.selectable.js +277 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.sortable.js +1289 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/jquery.ui.widget.js +521 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery-ui.custom.min.js +6 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.core.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.draggable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.droppable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-blind.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-clip.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-drop.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-explode.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fade.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-fold.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-highlight.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-pulsate.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-scale.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-shake.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-slide.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-transfer.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.mouse.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.position.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.resizable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.selectable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.sortable.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.widget.min.js +5 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.core.jquery.json +61 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.draggable.jquery.json +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.droppable.jquery.json +67 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-blind.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-bounce.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-clip.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-drop.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-explode.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fade.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-fold.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-highlight.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-pulsate.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-scale.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-shake.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-slide.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect-transfer.jquery.json +63 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.effect.jquery.json +68 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.mouse.jquery.json +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.position.jquery.json +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.resizable.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.selectable.jquery.json +65 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.sortable.jquery.json +66 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/ui.widget.jquery.json +64 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/index.html +301 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-1.10.2.js +9789 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.js +7544 -0
- data/share/htdocs/vendor/jquery-ui-1.10.4/js/jquery-ui-1.10.4.custom.min.js +6 -0
- metadata +302 -4
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Selectable - 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.selectable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
|
|
14
|
+
<style>
|
|
15
|
+
#feedback { font-size: 1.4em; }
|
|
16
|
+
#selectable .ui-selecting { background: #FECA40; }
|
|
17
|
+
#selectable .ui-selected { background: #F39814; color: white; }
|
|
18
|
+
#selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
|
|
19
|
+
#selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
|
|
20
|
+
</style>
|
|
21
|
+
<script>
|
|
22
|
+
$(function() {
|
|
23
|
+
$( "#selectable" ).selectable();
|
|
24
|
+
});
|
|
25
|
+
</script>
|
|
26
|
+
</head>
|
|
27
|
+
<body>
|
|
28
|
+
|
|
29
|
+
<ol id="selectable">
|
|
30
|
+
<li class="ui-widget-content">Item 1</li>
|
|
31
|
+
<li class="ui-widget-content">Item 2</li>
|
|
32
|
+
<li class="ui-widget-content">Item 3</li>
|
|
33
|
+
<li class="ui-widget-content">Item 4</li>
|
|
34
|
+
<li class="ui-widget-content">Item 5</li>
|
|
35
|
+
<li class="ui-widget-content">Item 6</li>
|
|
36
|
+
<li class="ui-widget-content">Item 7</li>
|
|
37
|
+
</ol>
|
|
38
|
+
|
|
39
|
+
<div class="demo-description">
|
|
40
|
+
<p>Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections. </p>
|
|
41
|
+
</div>
|
|
42
|
+
</body>
|
|
43
|
+
</html>
|
data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/selectable/display-grid.html
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Selectable - Display as grid</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.selectable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
|
|
14
|
+
<style>
|
|
15
|
+
#feedback { font-size: 1.4em; }
|
|
16
|
+
#selectable .ui-selecting { background: #FECA40; }
|
|
17
|
+
#selectable .ui-selected { background: #F39814; color: white; }
|
|
18
|
+
#selectable { list-style-type: none; margin: 0; padding: 0; width: 450px; }
|
|
19
|
+
#selectable li { margin: 3px; padding: 1px; float: left; width: 100px; height: 80px; font-size: 4em; text-align: center; }
|
|
20
|
+
</style>
|
|
21
|
+
<script>
|
|
22
|
+
$(function() {
|
|
23
|
+
$( "#selectable" ).selectable();
|
|
24
|
+
});
|
|
25
|
+
</script>
|
|
26
|
+
</head>
|
|
27
|
+
<body>
|
|
28
|
+
|
|
29
|
+
<ol id="selectable">
|
|
30
|
+
<li class="ui-state-default">1</li>
|
|
31
|
+
<li class="ui-state-default">2</li>
|
|
32
|
+
<li class="ui-state-default">3</li>
|
|
33
|
+
<li class="ui-state-default">4</li>
|
|
34
|
+
<li class="ui-state-default">5</li>
|
|
35
|
+
<li class="ui-state-default">6</li>
|
|
36
|
+
<li class="ui-state-default">7</li>
|
|
37
|
+
<li class="ui-state-default">8</li>
|
|
38
|
+
<li class="ui-state-default">9</li>
|
|
39
|
+
<li class="ui-state-default">10</li>
|
|
40
|
+
<li class="ui-state-default">11</li>
|
|
41
|
+
<li class="ui-state-default">12</li>
|
|
42
|
+
</ol>
|
|
43
|
+
|
|
44
|
+
<div class="demo-description">
|
|
45
|
+
<p>To arrange selectable items as a grid, give them identical dimensions and float them using CSS.</p>
|
|
46
|
+
</div>
|
|
47
|
+
</body>
|
|
48
|
+
</html>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Selectable Demos</title>
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
|
|
9
|
+
<ul>
|
|
10
|
+
<li><a href="default.html">Default functionality</a></li>
|
|
11
|
+
<li><a href="serialize.html">Serialize</a></li>
|
|
12
|
+
<li><a href="display-grid.html">Display as grid</a></li>
|
|
13
|
+
</ul>
|
|
14
|
+
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Selectable - Serialize</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.selectable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
|
|
14
|
+
<style>
|
|
15
|
+
#feedback { font-size: 1.4em; }
|
|
16
|
+
#selectable .ui-selecting { background: #FECA40; }
|
|
17
|
+
#selectable .ui-selected { background: #F39814; color: white; }
|
|
18
|
+
#selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
|
|
19
|
+
#selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
|
|
20
|
+
</style>
|
|
21
|
+
<script>
|
|
22
|
+
$(function() {
|
|
23
|
+
$( "#selectable" ).selectable({
|
|
24
|
+
stop: function() {
|
|
25
|
+
var result = $( "#select-result" ).empty();
|
|
26
|
+
$( ".ui-selected", this ).each(function() {
|
|
27
|
+
var index = $( "#selectable li" ).index( this );
|
|
28
|
+
result.append( " #" + ( index + 1 ) );
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
</script>
|
|
34
|
+
</head>
|
|
35
|
+
<body>
|
|
36
|
+
|
|
37
|
+
<p id="feedback">
|
|
38
|
+
<span>You've selected:</span> <span id="select-result">none</span>.
|
|
39
|
+
</p>
|
|
40
|
+
|
|
41
|
+
<ol id="selectable">
|
|
42
|
+
<li class="ui-widget-content">Item 1</li>
|
|
43
|
+
<li class="ui-widget-content">Item 2</li>
|
|
44
|
+
<li class="ui-widget-content">Item 3</li>
|
|
45
|
+
<li class="ui-widget-content">Item 4</li>
|
|
46
|
+
<li class="ui-widget-content">Item 5</li>
|
|
47
|
+
<li class="ui-widget-content">Item 6</li>
|
|
48
|
+
</ol>
|
|
49
|
+
|
|
50
|
+
<div class="demo-description">
|
|
51
|
+
<p>Write a function that fires on the <code>stop</code> event to collect the index values of selected items. Present values as feedback, or pass as a data string.</p>
|
|
52
|
+
</div>
|
|
53
|
+
</body>
|
|
54
|
+
</html>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Effects - Show 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.effect.js"></script>
|
|
9
|
+
<script src="../../ui/jquery.ui.effect-blind.js"></script>
|
|
10
|
+
<script src="../../ui/jquery.ui.effect-bounce.js"></script>
|
|
11
|
+
<script src="../../ui/jquery.ui.effect-clip.js"></script>
|
|
12
|
+
<script src="../../ui/jquery.ui.effect-drop.js"></script>
|
|
13
|
+
<script src="../../ui/jquery.ui.effect-explode.js"></script>
|
|
14
|
+
<script src="../../ui/jquery.ui.effect-fold.js"></script>
|
|
15
|
+
<script src="../../ui/jquery.ui.effect-highlight.js"></script>
|
|
16
|
+
<script src="../../ui/jquery.ui.effect-pulsate.js"></script>
|
|
17
|
+
<script src="../../ui/jquery.ui.effect-scale.js"></script>
|
|
18
|
+
<script src="../../ui/jquery.ui.effect-shake.js"></script>
|
|
19
|
+
<script src="../../ui/jquery.ui.effect-slide.js"></script>
|
|
20
|
+
<link rel="stylesheet" href="../demos.css">
|
|
21
|
+
<style>
|
|
22
|
+
.toggler { width: 500px; height: 200px; }
|
|
23
|
+
#button { padding: .5em 1em; text-decoration: none; }
|
|
24
|
+
#effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
|
|
25
|
+
#effect h3 { margin: 0; padding: 0.4em; text-align: center; }
|
|
26
|
+
</style>
|
|
27
|
+
<script>
|
|
28
|
+
$(function() {
|
|
29
|
+
// run the currently selected effect
|
|
30
|
+
function runEffect() {
|
|
31
|
+
// get effect type from
|
|
32
|
+
var selectedEffect = $( "#effectTypes" ).val();
|
|
33
|
+
|
|
34
|
+
// most effect types need no options passed by default
|
|
35
|
+
var options = {};
|
|
36
|
+
// some effects have required parameters
|
|
37
|
+
if ( selectedEffect === "scale" ) {
|
|
38
|
+
options = { percent: 100 };
|
|
39
|
+
} else if ( selectedEffect === "size" ) {
|
|
40
|
+
options = { to: { width: 280, height: 185 } };
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// run the effect
|
|
44
|
+
$( "#effect" ).show( selectedEffect, options, 500, callback );
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
//callback function to bring a hidden box back
|
|
48
|
+
function callback() {
|
|
49
|
+
setTimeout(function() {
|
|
50
|
+
$( "#effect:visible" ).removeAttr( "style" ).fadeOut();
|
|
51
|
+
}, 1000 );
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
// set effect from select menu value
|
|
55
|
+
$( "#button" ).click(function() {
|
|
56
|
+
runEffect();
|
|
57
|
+
return false;
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
$( "#effect" ).hide();
|
|
61
|
+
});
|
|
62
|
+
</script>
|
|
63
|
+
</head>
|
|
64
|
+
<body>
|
|
65
|
+
|
|
66
|
+
<div class="toggler">
|
|
67
|
+
<div id="effect" class="ui-widget-content ui-corner-all">
|
|
68
|
+
<h3 class="ui-widget-header ui-corner-all">Show</h3>
|
|
69
|
+
<p>
|
|
70
|
+
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
|
|
71
|
+
</p>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
<select name="effects" id="effectTypes">
|
|
76
|
+
<option value="blind">Blind</option>
|
|
77
|
+
<option value="bounce">Bounce</option>
|
|
78
|
+
<option value="clip">Clip</option>
|
|
79
|
+
<option value="drop">Drop</option>
|
|
80
|
+
<option value="explode">Explode</option>
|
|
81
|
+
<option value="fold">Fold</option>
|
|
82
|
+
<option value="highlight">Highlight</option>
|
|
83
|
+
<option value="puff">Puff</option>
|
|
84
|
+
<option value="pulsate">Pulsate</option>
|
|
85
|
+
<option value="scale">Scale</option>
|
|
86
|
+
<option value="shake">Shake</option>
|
|
87
|
+
<option value="size">Size</option>
|
|
88
|
+
<option value="slide">Slide</option>
|
|
89
|
+
</select>
|
|
90
|
+
|
|
91
|
+
<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
|
|
92
|
+
|
|
93
|
+
<div class="demo-description">
|
|
94
|
+
<p>Click the button above to preview the effect.</p>
|
|
95
|
+
</div>
|
|
96
|
+
</body>
|
|
97
|
+
</html>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Sortable - Connect lists with Tabs</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.sortable.js"></script>
|
|
12
|
+
<script src="../../ui/jquery.ui.droppable.js"></script>
|
|
13
|
+
<script src="../../ui/jquery.ui.tabs.js"></script>
|
|
14
|
+
<link rel="stylesheet" href="../demos.css">
|
|
15
|
+
<style>
|
|
16
|
+
#sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; }
|
|
17
|
+
</style>
|
|
18
|
+
<script>
|
|
19
|
+
$(function() {
|
|
20
|
+
$( "#sortable1, #sortable2" ).sortable().disableSelection();
|
|
21
|
+
|
|
22
|
+
var $tabs = $( "#tabs" ).tabs();
|
|
23
|
+
|
|
24
|
+
var $tab_items = $( "ul:first li", $tabs ).droppable({
|
|
25
|
+
accept: ".connectedSortable li",
|
|
26
|
+
hoverClass: "ui-state-hover",
|
|
27
|
+
drop: function( event, ui ) {
|
|
28
|
+
var $item = $( this );
|
|
29
|
+
var $list = $( $item.find( "a" ).attr( "href" ) )
|
|
30
|
+
.find( ".connectedSortable" );
|
|
31
|
+
|
|
32
|
+
ui.draggable.hide( "slow", function() {
|
|
33
|
+
$tabs.tabs( "option", "active", $tab_items.index( $item ) );
|
|
34
|
+
$( this ).appendTo( $list ).show( "slow" );
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
</script>
|
|
40
|
+
</head>
|
|
41
|
+
<body>
|
|
42
|
+
|
|
43
|
+
<div id="tabs">
|
|
44
|
+
<ul>
|
|
45
|
+
<li><a href="#tabs-1">Nunc tincidunt</a></li>
|
|
46
|
+
<li><a href="#tabs-2">Proin dolor</a></li>
|
|
47
|
+
</ul>
|
|
48
|
+
<div id="tabs-1">
|
|
49
|
+
<ul id="sortable1" class="connectedSortable ui-helper-reset">
|
|
50
|
+
<li class="ui-state-default">Item 1</li>
|
|
51
|
+
<li class="ui-state-default">Item 2</li>
|
|
52
|
+
<li class="ui-state-default">Item 3</li>
|
|
53
|
+
<li class="ui-state-default">Item 4</li>
|
|
54
|
+
<li class="ui-state-default">Item 5</li>
|
|
55
|
+
</ul>
|
|
56
|
+
</div>
|
|
57
|
+
<div id="tabs-2">
|
|
58
|
+
<ul id="sortable2" class="connectedSortable ui-helper-reset">
|
|
59
|
+
<li class="ui-state-highlight">Item 1</li>
|
|
60
|
+
<li class="ui-state-highlight">Item 2</li>
|
|
61
|
+
<li class="ui-state-highlight">Item 3</li>
|
|
62
|
+
<li class="ui-state-highlight">Item 4</li>
|
|
63
|
+
<li class="ui-state-highlight">Item 5</li>
|
|
64
|
+
</ul>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<div class="demo-description">
|
|
69
|
+
<p>Sort items from one list into another and vice versa, by dropping the list item on the appropriate tab above.</p>
|
|
70
|
+
</div>
|
|
71
|
+
</body>
|
|
72
|
+
</html>
|
data/share/htdocs/vendor/jquery-ui-1.10.4/development-bundle/demos/sortable/connect-lists.html
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Sortable - Connect lists</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.sortable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0 0 2.5em; float: left; margin-right: 10px; }
|
|
15
|
+
#sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; }
|
|
16
|
+
</style>
|
|
17
|
+
<script>
|
|
18
|
+
$(function() {
|
|
19
|
+
$( "#sortable1, #sortable2" ).sortable({
|
|
20
|
+
connectWith: ".connectedSortable"
|
|
21
|
+
}).disableSelection();
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
|
|
27
|
+
<ul id="sortable1" class="connectedSortable">
|
|
28
|
+
<li class="ui-state-default">Item 1</li>
|
|
29
|
+
<li class="ui-state-default">Item 2</li>
|
|
30
|
+
<li class="ui-state-default">Item 3</li>
|
|
31
|
+
<li class="ui-state-default">Item 4</li>
|
|
32
|
+
<li class="ui-state-default">Item 5</li>
|
|
33
|
+
</ul>
|
|
34
|
+
|
|
35
|
+
<ul id="sortable2" class="connectedSortable">
|
|
36
|
+
<li class="ui-state-highlight">Item 1</li>
|
|
37
|
+
<li class="ui-state-highlight">Item 2</li>
|
|
38
|
+
<li class="ui-state-highlight">Item 3</li>
|
|
39
|
+
<li class="ui-state-highlight">Item 4</li>
|
|
40
|
+
<li class="ui-state-highlight">Item 5</li>
|
|
41
|
+
</ul>
|
|
42
|
+
|
|
43
|
+
<div class="demo-description">
|
|
44
|
+
<p>
|
|
45
|
+
Sort items from one list into another and vice versa, by passing a selector into
|
|
46
|
+
the <code>connectWith</code> option. The simplest way to do this is to
|
|
47
|
+
group all related lists with a CSS class, and then pass that class into the
|
|
48
|
+
sortable function (i.e., <code>connectWith: '.myclass'</code>).
|
|
49
|
+
</p>
|
|
50
|
+
</div>
|
|
51
|
+
</body>
|
|
52
|
+
</html>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Sortable - 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.sortable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
|
|
15
|
+
#sortable li { margin: 0 3px 3px 3px; padding: 0.4em; padding-left: 1.5em; font-size: 1.4em; height: 18px; }
|
|
16
|
+
#sortable li span { position: absolute; margin-left: -1.3em; }
|
|
17
|
+
</style>
|
|
18
|
+
<script>
|
|
19
|
+
$(function() {
|
|
20
|
+
$( "#sortable" ).sortable();
|
|
21
|
+
$( "#sortable" ).disableSelection();
|
|
22
|
+
});
|
|
23
|
+
</script>
|
|
24
|
+
</head>
|
|
25
|
+
<body>
|
|
26
|
+
|
|
27
|
+
<ul id="sortable">
|
|
28
|
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 1</li>
|
|
29
|
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 2</li>
|
|
30
|
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 3</li>
|
|
31
|
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 4</li>
|
|
32
|
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 5</li>
|
|
33
|
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 6</li>
|
|
34
|
+
<li class="ui-state-default"><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>Item 7</li>
|
|
35
|
+
</ul>
|
|
36
|
+
|
|
37
|
+
<div class="demo-description">
|
|
38
|
+
<p>
|
|
39
|
+
Enable a group of DOM elements to be sortable. Click on and drag an
|
|
40
|
+
element to a new spot within the list, and the other items will adjust to
|
|
41
|
+
fit. By default, sortable items share <code>draggable</code> properties.
|
|
42
|
+
</p>
|
|
43
|
+
</div>
|
|
44
|
+
</body>
|
|
45
|
+
</html>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Sortable - Delay start</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.sortable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#sortable1, #sortable2 { list-style-type: none; margin: 0; padding: 0; margin-bottom: 15px;zoom: 1; }
|
|
15
|
+
#sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 95%; }
|
|
16
|
+
</style>
|
|
17
|
+
<script>
|
|
18
|
+
$(function() {
|
|
19
|
+
$( "#sortable1" ).sortable({
|
|
20
|
+
delay: 300
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
$( "#sortable2" ).sortable({
|
|
24
|
+
distance: 15
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
$( "li" ).disableSelection();
|
|
28
|
+
});
|
|
29
|
+
</script>
|
|
30
|
+
</head>
|
|
31
|
+
<body>
|
|
32
|
+
|
|
33
|
+
<h3 class="docs">Time delay of 300ms:</h3>
|
|
34
|
+
|
|
35
|
+
<ul id="sortable1">
|
|
36
|
+
<li class="ui-state-default">Item 1</li>
|
|
37
|
+
<li class="ui-state-default">Item 2</li>
|
|
38
|
+
<li class="ui-state-default">Item 3</li>
|
|
39
|
+
<li class="ui-state-default">Item 4</li>
|
|
40
|
+
</ul>
|
|
41
|
+
|
|
42
|
+
<h3 class="docs">Distance delay of 15px:</h3>
|
|
43
|
+
|
|
44
|
+
<ul id="sortable2">
|
|
45
|
+
<li class="ui-state-default">Item 1</li>
|
|
46
|
+
<li class="ui-state-default">Item 2</li>
|
|
47
|
+
<li class="ui-state-default">Item 3</li>
|
|
48
|
+
<li class="ui-state-default">Item 4</li>
|
|
49
|
+
</ul>
|
|
50
|
+
|
|
51
|
+
<div class="demo-description">
|
|
52
|
+
<p>
|
|
53
|
+
Prevent accidental sorting either by delay (time) or distance. Set a number of
|
|
54
|
+
milliseconds the element needs to be dragged before sorting starts
|
|
55
|
+
with the <code>delay</code> option. Set a distance in pixels the element
|
|
56
|
+
needs to be dragged before sorting starts with the <code>distance</code>
|
|
57
|
+
option.
|
|
58
|
+
</p>
|
|
59
|
+
</div>
|
|
60
|
+
</body>
|
|
61
|
+
</html>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Sortable - Display as grid</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.sortable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#sortable { list-style-type: none; margin: 0; padding: 0; width: 450px; }
|
|
15
|
+
#sortable li { margin: 3px 3px 3px 0; padding: 1px; float: left; width: 100px; height: 90px; font-size: 4em; text-align: center; }
|
|
16
|
+
</style>
|
|
17
|
+
<script>
|
|
18
|
+
$(function() {
|
|
19
|
+
$( "#sortable" ).sortable();
|
|
20
|
+
$( "#sortable" ).disableSelection();
|
|
21
|
+
});
|
|
22
|
+
</script>
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
|
|
26
|
+
<ul id="sortable">
|
|
27
|
+
<li class="ui-state-default">1</li>
|
|
28
|
+
<li class="ui-state-default">2</li>
|
|
29
|
+
<li class="ui-state-default">3</li>
|
|
30
|
+
<li class="ui-state-default">4</li>
|
|
31
|
+
<li class="ui-state-default">5</li>
|
|
32
|
+
<li class="ui-state-default">6</li>
|
|
33
|
+
<li class="ui-state-default">7</li>
|
|
34
|
+
<li class="ui-state-default">8</li>
|
|
35
|
+
<li class="ui-state-default">9</li>
|
|
36
|
+
<li class="ui-state-default">10</li>
|
|
37
|
+
<li class="ui-state-default">11</li>
|
|
38
|
+
<li class="ui-state-default">12</li>
|
|
39
|
+
</ul>
|
|
40
|
+
|
|
41
|
+
<div class="demo-description">
|
|
42
|
+
<p>
|
|
43
|
+
To arrange sortable items as a grid, give them identical dimensions and
|
|
44
|
+
float them using CSS.
|
|
45
|
+
</p>
|
|
46
|
+
</div>
|
|
47
|
+
</body>
|
|
48
|
+
</html>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Sortable - Handle empty lists</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.sortable.js"></script>
|
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
|
13
|
+
<style>
|
|
14
|
+
#sortable1, #sortable2, #sortable3 { list-style-type: none; margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 143px;}
|
|
15
|
+
#sortable1 li, #sortable2 li, #sortable3 li { margin: 5px; padding: 5px; font-size: 1.2em; width: 120px; }
|
|
16
|
+
</style>
|
|
17
|
+
<script>
|
|
18
|
+
$(function() {
|
|
19
|
+
$( "ul.droptrue" ).sortable({
|
|
20
|
+
connectWith: "ul"
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
$( "ul.dropfalse" ).sortable({
|
|
24
|
+
connectWith: "ul",
|
|
25
|
+
dropOnEmpty: false
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
$( "#sortable1, #sortable2, #sortable3" ).disableSelection();
|
|
29
|
+
});
|
|
30
|
+
</script>
|
|
31
|
+
</head>
|
|
32
|
+
<body>
|
|
33
|
+
|
|
34
|
+
<ul id="sortable1" class='droptrue'>
|
|
35
|
+
<li class="ui-state-default">Can be dropped..</li>
|
|
36
|
+
<li class="ui-state-default">..on an empty list</li>
|
|
37
|
+
<li class="ui-state-default">Item 3</li>
|
|
38
|
+
<li class="ui-state-default">Item 4</li>
|
|
39
|
+
<li class="ui-state-default">Item 5</li>
|
|
40
|
+
</ul>
|
|
41
|
+
|
|
42
|
+
<ul id="sortable2" class='dropfalse'>
|
|
43
|
+
<li class="ui-state-highlight">Cannot be dropped..</li>
|
|
44
|
+
<li class="ui-state-highlight">..on an empty list</li>
|
|
45
|
+
<li class="ui-state-highlight">Item 3</li>
|
|
46
|
+
<li class="ui-state-highlight">Item 4</li>
|
|
47
|
+
<li class="ui-state-highlight">Item 5</li>
|
|
48
|
+
</ul>
|
|
49
|
+
|
|
50
|
+
<ul id="sortable3" class='droptrue'>
|
|
51
|
+
</ul>
|
|
52
|
+
|
|
53
|
+
<br style="clear:both">
|
|
54
|
+
|
|
55
|
+
<div class="demo-description">
|
|
56
|
+
<p>
|
|
57
|
+
Prevent all items in a list from being dropped into a separate, empty list
|
|
58
|
+
using the <code>dropOnEmpty</code> option set to <code>false</code>. By default,
|
|
59
|
+
sortable items can be dropped on empty lists.
|
|
60
|
+
</p>
|
|
61
|
+
</div>
|
|
62
|
+
</body>
|
|
63
|
+
</html>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>jQuery UI Sortable Demos</title>
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
|
|
9
|
+
<ul>
|
|
10
|
+
<li><a href="default.html">Default functionality</a></li>
|
|
11
|
+
<li><a href="placeholder.html">Drop placeholder</a></li>
|
|
12
|
+
<li><a href="connect-lists.html">Connect lists</a></li>
|
|
13
|
+
<li><a href="connect-lists-through-tabs.html">Connect lists through tabs</a></li>
|
|
14
|
+
<li><a href="empty-lists.html">Handle empty lists</a></li>
|
|
15
|
+
<li><a href="items.html">Include / exclude items</a></li>
|
|
16
|
+
<li><a href="delay-start.html">Delay start</a></li>
|
|
17
|
+
<li><a href="display-grid.html">Display as grid</a></li>
|
|
18
|
+
<li><a href="portlets.html">Portlets</a></li>
|
|
19
|
+
</ul>
|
|
20
|
+
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|