omf_web 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- 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,64 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Sortable - Include / exclude items</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; zoom: 1; }
|
15
|
+
#sortable1 li, #sortable2 li { margin: 0 5px 5px 5px; padding: 3px; width: 90%; }
|
16
|
+
</style>
|
17
|
+
<script>
|
18
|
+
$(function() {
|
19
|
+
$( "#sortable1" ).sortable({
|
20
|
+
items: "li:not(.ui-state-disabled)"
|
21
|
+
});
|
22
|
+
|
23
|
+
$( "#sortable2" ).sortable({
|
24
|
+
cancel: ".ui-state-disabled"
|
25
|
+
});
|
26
|
+
|
27
|
+
$( "#sortable1 li, #sortable2 li" ).disableSelection();
|
28
|
+
});
|
29
|
+
</script>
|
30
|
+
</head>
|
31
|
+
<body>
|
32
|
+
|
33
|
+
<h3 class="docs">Specify which items are sortable:</h3>
|
34
|
+
|
35
|
+
<ul id="sortable1">
|
36
|
+
<li class="ui-state-default">Item 1</li>
|
37
|
+
<li class="ui-state-default ui-state-disabled">(I'm not sortable or a drop target)</li>
|
38
|
+
<li class="ui-state-default ui-state-disabled">(I'm not sortable or a drop target)</li>
|
39
|
+
<li class="ui-state-default">Item 4</li>
|
40
|
+
</ul>
|
41
|
+
|
42
|
+
<h3 class="docs">Cancel sorting (but keep as drop targets):</h3>
|
43
|
+
|
44
|
+
<ul id="sortable2">
|
45
|
+
<li class="ui-state-default">Item 1</li>
|
46
|
+
<li class="ui-state-default ui-state-disabled">(I'm not sortable)</li>
|
47
|
+
<li class="ui-state-default ui-state-disabled">(I'm not sortable)</li>
|
48
|
+
<li class="ui-state-default">Item 4</li>
|
49
|
+
</ul>
|
50
|
+
|
51
|
+
<div class="demo-description">
|
52
|
+
<p>
|
53
|
+
Specify which items are eligible to sort by passing a jQuery selector into
|
54
|
+
the <code>items</code> option. Items excluded from this option are not
|
55
|
+
sortable, nor are they valid targets for sortable items.
|
56
|
+
</p>
|
57
|
+
<p>
|
58
|
+
To only prevent sorting on certain items, pass a jQuery selector into the
|
59
|
+
<code>cancel</code> option. Cancelled items remain valid sort targets for
|
60
|
+
others.
|
61
|
+
</p>
|
62
|
+
</div>
|
63
|
+
</body>
|
64
|
+
</html>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Sortable - Drop placeholder</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 5px 5px 5px; padding: 5px; font-size: 1.2em; height: 1.5em; }
|
16
|
+
html>body #sortable li { height: 1.5em; line-height: 1.2em; }
|
17
|
+
.ui-state-highlight { height: 1.5em; line-height: 1.2em; }
|
18
|
+
</style>
|
19
|
+
<script>
|
20
|
+
$(function() {
|
21
|
+
$( "#sortable" ).sortable({
|
22
|
+
placeholder: "ui-state-highlight"
|
23
|
+
});
|
24
|
+
$( "#sortable" ).disableSelection();
|
25
|
+
});
|
26
|
+
</script>
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
|
30
|
+
<ul id="sortable">
|
31
|
+
<li class="ui-state-default">Item 1</li>
|
32
|
+
<li class="ui-state-default">Item 2</li>
|
33
|
+
<li class="ui-state-default">Item 3</li>
|
34
|
+
<li class="ui-state-default">Item 4</li>
|
35
|
+
<li class="ui-state-default">Item 5</li>
|
36
|
+
<li class="ui-state-default">Item 6</li>
|
37
|
+
<li class="ui-state-default">Item 7</li>
|
38
|
+
</ul>
|
39
|
+
|
40
|
+
<div class="demo-description">
|
41
|
+
<p>
|
42
|
+
When dragging a sortable item to a new location, other items will make room
|
43
|
+
for the that item by shifting to allow white space between them. Pass a
|
44
|
+
class into the <code>placeholder</code> option to style that space to
|
45
|
+
be visible. Use the boolean <code>forcePlaceholderSize</code> option
|
46
|
+
to set dimensions on the placeholder.
|
47
|
+
</p>
|
48
|
+
</div>
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1,115 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Sortable - Portlets</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
|
+
body {
|
15
|
+
min-width: 520px;
|
16
|
+
}
|
17
|
+
.column {
|
18
|
+
width: 170px;
|
19
|
+
float: left;
|
20
|
+
padding-bottom: 100px;
|
21
|
+
}
|
22
|
+
.portlet {
|
23
|
+
margin: 0 1em 1em 0;
|
24
|
+
padding: 0.3em;
|
25
|
+
}
|
26
|
+
.portlet-header {
|
27
|
+
padding: 0.2em 0.3em;
|
28
|
+
margin-bottom: 0.5em;
|
29
|
+
position: relative;
|
30
|
+
}
|
31
|
+
.portlet-toggle {
|
32
|
+
position: absolute;
|
33
|
+
top: 50%;
|
34
|
+
right: 0;
|
35
|
+
margin-top: -8px;
|
36
|
+
}
|
37
|
+
.portlet-content {
|
38
|
+
padding: 0.4em;
|
39
|
+
}
|
40
|
+
.portlet-placeholder {
|
41
|
+
border: 1px dotted black;
|
42
|
+
margin: 0 1em 1em 0;
|
43
|
+
height: 50px;
|
44
|
+
}
|
45
|
+
</style>
|
46
|
+
<script>
|
47
|
+
$(function() {
|
48
|
+
$( ".column" ).sortable({
|
49
|
+
connectWith: ".column",
|
50
|
+
handle: ".portlet-header",
|
51
|
+
cancel: ".portlet-toggle",
|
52
|
+
placeholder: "portlet-placeholder ui-corner-all"
|
53
|
+
});
|
54
|
+
|
55
|
+
$( ".portlet" )
|
56
|
+
.addClass( "ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" )
|
57
|
+
.find( ".portlet-header" )
|
58
|
+
.addClass( "ui-widget-header ui-corner-all" )
|
59
|
+
.prepend( "<span class='ui-icon ui-icon-minusthick portlet-toggle'></span>");
|
60
|
+
|
61
|
+
$( ".portlet-toggle" ).click(function() {
|
62
|
+
var icon = $( this );
|
63
|
+
icon.toggleClass( "ui-icon-minusthick ui-icon-plusthick" );
|
64
|
+
icon.closest( ".portlet" ).find( ".portlet-content" ).toggle();
|
65
|
+
});
|
66
|
+
});
|
67
|
+
</script>
|
68
|
+
</head>
|
69
|
+
<body>
|
70
|
+
|
71
|
+
<div class="column">
|
72
|
+
|
73
|
+
<div class="portlet">
|
74
|
+
<div class="portlet-header">Feeds</div>
|
75
|
+
<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
<div class="portlet">
|
79
|
+
<div class="portlet-header">News</div>
|
80
|
+
<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div class="column">
|
86
|
+
|
87
|
+
<div class="portlet">
|
88
|
+
<div class="portlet-header">Shopping</div>
|
89
|
+
<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
</div>
|
93
|
+
|
94
|
+
<div class="column">
|
95
|
+
|
96
|
+
<div class="portlet">
|
97
|
+
<div class="portlet-header">Links</div>
|
98
|
+
<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div class="portlet">
|
102
|
+
<div class="portlet-header">Images</div>
|
103
|
+
<div class="portlet-content">Lorem ipsum dolor sit amet, consectetuer adipiscing elit</div>
|
104
|
+
</div>
|
105
|
+
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<div class="demo-description">
|
109
|
+
<p>
|
110
|
+
Enable portlets (styled divs) as sortables and use the <code>connectWith</code>
|
111
|
+
option to allow sorting between columns.
|
112
|
+
</p>
|
113
|
+
</div>
|
114
|
+
</body>
|
115
|
+
</html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects - switchClass 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
|
+
<link rel="stylesheet" href="../demos.css">
|
10
|
+
<style>
|
11
|
+
.toggler { width: 500px; height: 200px; position: relative; }
|
12
|
+
#button { padding: .5em 1em; text-decoration: none; }
|
13
|
+
#effect { position: relative; }
|
14
|
+
.newClass { width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; margin: 0; }
|
15
|
+
.anotherNewClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
16
|
+
</style>
|
17
|
+
<script>
|
18
|
+
$(function() {
|
19
|
+
$( "#button" ).click(function(){
|
20
|
+
$( ".newClass" ).switchClass( "newClass", "anotherNewClass", 1000 );
|
21
|
+
$( ".anotherNewClass" ).switchClass( "anotherNewClass", "newClass", 1000 );
|
22
|
+
return false;
|
23
|
+
});
|
24
|
+
});
|
25
|
+
</script>
|
26
|
+
</head>
|
27
|
+
<body>
|
28
|
+
|
29
|
+
<div class="toggler">
|
30
|
+
<div id="effect" class="newClass ui-corner-all">
|
31
|
+
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
|
35
|
+
|
36
|
+
<div class="demo-description">
|
37
|
+
<p>Click the button above to preview the effect.</p>
|
38
|
+
</div>
|
39
|
+
</body>
|
40
|
+
</html>
|
@@ -0,0 +1,103 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects - Toggle 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 {
|
23
|
+
width: 500px;
|
24
|
+
height: 200px;
|
25
|
+
}
|
26
|
+
#button {
|
27
|
+
padding: .5em 1em;
|
28
|
+
text-decoration: none;
|
29
|
+
}
|
30
|
+
#effect {
|
31
|
+
position: relative;
|
32
|
+
width: 240px;
|
33
|
+
height: 135px;
|
34
|
+
padding: 0.4em;
|
35
|
+
}
|
36
|
+
#effect h3 {
|
37
|
+
margin: 0;
|
38
|
+
padding: 0.4em;
|
39
|
+
text-align: center;
|
40
|
+
}
|
41
|
+
</style>
|
42
|
+
<script>
|
43
|
+
$(function() {
|
44
|
+
// run the currently selected effect
|
45
|
+
function runEffect() {
|
46
|
+
// get effect type from
|
47
|
+
var selectedEffect = $( "#effectTypes" ).val();
|
48
|
+
|
49
|
+
// most effect types need no options passed by default
|
50
|
+
var options = {};
|
51
|
+
// some effects have required parameters
|
52
|
+
if ( selectedEffect === "scale" ) {
|
53
|
+
options = { percent: 0 };
|
54
|
+
} else if ( selectedEffect === "size" ) {
|
55
|
+
options = { to: { width: 200, height: 60 } };
|
56
|
+
}
|
57
|
+
|
58
|
+
// run the effect
|
59
|
+
$( "#effect" ).toggle( selectedEffect, options, 500 );
|
60
|
+
};
|
61
|
+
|
62
|
+
// set effect from select menu value
|
63
|
+
$( "#button" ).click(function() {
|
64
|
+
runEffect();
|
65
|
+
return false;
|
66
|
+
});
|
67
|
+
});
|
68
|
+
</script>
|
69
|
+
</head>
|
70
|
+
<body>
|
71
|
+
|
72
|
+
<div class="toggler">
|
73
|
+
<div id="effect" class="ui-widget-content ui-corner-all">
|
74
|
+
<h3 class="ui-widget-header ui-corner-all">Toggle</h3>
|
75
|
+
<p>
|
76
|
+
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
|
77
|
+
</p>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<select name="effects" id="effectTypes">
|
82
|
+
<option value="blind">Blind</option>
|
83
|
+
<option value="bounce">Bounce</option>
|
84
|
+
<option value="clip">Clip</option>
|
85
|
+
<option value="drop">Drop</option>
|
86
|
+
<option value="explode">Explode</option>
|
87
|
+
<option value="fold">Fold</option>
|
88
|
+
<option value="highlight">Highlight</option>
|
89
|
+
<option value="puff">Puff</option>
|
90
|
+
<option value="pulsate">Pulsate</option>
|
91
|
+
<option value="scale">Scale</option>
|
92
|
+
<option value="shake">Shake</option>
|
93
|
+
<option value="size">Size</option>
|
94
|
+
<option value="slide">Slide</option>
|
95
|
+
</select>
|
96
|
+
|
97
|
+
<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
|
98
|
+
|
99
|
+
<div class="demo-description">
|
100
|
+
<p>Click the button above to preview the effect.</p>
|
101
|
+
</div>
|
102
|
+
</body>
|
103
|
+
</html>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Effects - toggleClass 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
|
+
<link rel="stylesheet" href="../demos.css">
|
10
|
+
<style>
|
11
|
+
.toggler { width: 500px; height: 200px; position: relative; }
|
12
|
+
#button { padding: .5em 1em; text-decoration: none; }
|
13
|
+
#effect {position: relative; width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; }
|
14
|
+
.newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; }
|
15
|
+
</style>
|
16
|
+
<script>
|
17
|
+
$(function() {
|
18
|
+
$( "#button" ).click(function() {
|
19
|
+
$( "#effect" ).toggleClass( "newClass", 1000 );
|
20
|
+
return false;
|
21
|
+
});
|
22
|
+
});
|
23
|
+
</script>
|
24
|
+
</head>
|
25
|
+
<body>
|
26
|
+
|
27
|
+
<div class="toggler">
|
28
|
+
<div id="effect" class="newClass ui-corner-all">
|
29
|
+
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
|
34
|
+
|
35
|
+
<div class="demo-description">
|
36
|
+
<p>Click the button above to preview the effect.</p>
|
37
|
+
</div>
|
38
|
+
</body>
|
39
|
+
</html>
|
@@ -0,0 +1,178 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>jQuery UI Widget - 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.position.js"></script>
|
10
|
+
<script src="../../ui/jquery.ui.widget.js"></script>
|
11
|
+
<script src="../../ui/jquery.ui.button.js"></script>
|
12
|
+
<link rel="stylesheet" href="../demos.css">
|
13
|
+
<style>
|
14
|
+
.custom-colorize {
|
15
|
+
font-size: 20px;
|
16
|
+
position: relative;
|
17
|
+
width: 75px;
|
18
|
+
height: 75px;
|
19
|
+
}
|
20
|
+
.custom-colorize-changer {
|
21
|
+
font-size: 10px;
|
22
|
+
position: absolute;
|
23
|
+
right: 0;
|
24
|
+
bottom: 0;
|
25
|
+
}
|
26
|
+
</style>
|
27
|
+
<script>
|
28
|
+
$(function() {
|
29
|
+
// the widget definition, where "custom" is the namespace,
|
30
|
+
// "colorize" the widget name
|
31
|
+
$.widget( "custom.colorize", {
|
32
|
+
// default options
|
33
|
+
options: {
|
34
|
+
red: 255,
|
35
|
+
green: 0,
|
36
|
+
blue: 0,
|
37
|
+
|
38
|
+
// callbacks
|
39
|
+
change: null,
|
40
|
+
random: null
|
41
|
+
},
|
42
|
+
|
43
|
+
// the constructor
|
44
|
+
_create: function() {
|
45
|
+
this.element
|
46
|
+
// add a class for theming
|
47
|
+
.addClass( "custom-colorize" )
|
48
|
+
// prevent double click to select text
|
49
|
+
.disableSelection();
|
50
|
+
|
51
|
+
this.changer = $( "<button>", {
|
52
|
+
text: "change",
|
53
|
+
"class": "custom-colorize-changer"
|
54
|
+
})
|
55
|
+
.appendTo( this.element )
|
56
|
+
.button();
|
57
|
+
|
58
|
+
// bind click events on the changer button to the random method
|
59
|
+
this._on( this.changer, {
|
60
|
+
// _on won't call random when widget is disabled
|
61
|
+
click: "random"
|
62
|
+
});
|
63
|
+
this._refresh();
|
64
|
+
},
|
65
|
+
|
66
|
+
// called when created, and later when changing options
|
67
|
+
_refresh: function() {
|
68
|
+
this.element.css( "background-color", "rgb(" +
|
69
|
+
this.options.red +"," +
|
70
|
+
this.options.green + "," +
|
71
|
+
this.options.blue + ")"
|
72
|
+
);
|
73
|
+
|
74
|
+
// trigger a callback/event
|
75
|
+
this._trigger( "change" );
|
76
|
+
},
|
77
|
+
|
78
|
+
// a public method to change the color to a random value
|
79
|
+
// can be called directly via .colorize( "random" )
|
80
|
+
random: function( event ) {
|
81
|
+
var colors = {
|
82
|
+
red: Math.floor( Math.random() * 256 ),
|
83
|
+
green: Math.floor( Math.random() * 256 ),
|
84
|
+
blue: Math.floor( Math.random() * 256 )
|
85
|
+
};
|
86
|
+
|
87
|
+
// trigger an event, check if it's canceled
|
88
|
+
if ( this._trigger( "random", event, colors ) !== false ) {
|
89
|
+
this.option( colors );
|
90
|
+
}
|
91
|
+
},
|
92
|
+
|
93
|
+
// events bound via _on are removed automatically
|
94
|
+
// revert other modifications here
|
95
|
+
_destroy: function() {
|
96
|
+
// remove generated elements
|
97
|
+
this.changer.remove();
|
98
|
+
|
99
|
+
this.element
|
100
|
+
.removeClass( "custom-colorize" )
|
101
|
+
.enableSelection()
|
102
|
+
.css( "background-color", "transparent" );
|
103
|
+
},
|
104
|
+
|
105
|
+
// _setOptions is called with a hash of all options that are changing
|
106
|
+
// always refresh when changing options
|
107
|
+
_setOptions: function() {
|
108
|
+
// _super and _superApply handle keeping the right this-context
|
109
|
+
this._superApply( arguments );
|
110
|
+
this._refresh();
|
111
|
+
},
|
112
|
+
|
113
|
+
// _setOption is called for each individual option that is changing
|
114
|
+
_setOption: function( key, value ) {
|
115
|
+
// prevent invalid color values
|
116
|
+
if ( /red|green|blue/.test(key) && (value < 0 || value > 255) ) {
|
117
|
+
return;
|
118
|
+
}
|
119
|
+
this._super( key, value );
|
120
|
+
}
|
121
|
+
});
|
122
|
+
|
123
|
+
// initialize with default options
|
124
|
+
$( "#my-widget1" ).colorize();
|
125
|
+
|
126
|
+
// initialize with two customized options
|
127
|
+
$( "#my-widget2" ).colorize({
|
128
|
+
red: 60,
|
129
|
+
blue: 60
|
130
|
+
});
|
131
|
+
|
132
|
+
// initialize with custom green value
|
133
|
+
// and a random callback to allow only colors with enough green
|
134
|
+
$( "#my-widget3" ).colorize( {
|
135
|
+
green: 128,
|
136
|
+
random: function( event, ui ) {
|
137
|
+
return ui.green > 128;
|
138
|
+
}
|
139
|
+
});
|
140
|
+
|
141
|
+
// click to toggle enabled/disabled
|
142
|
+
$( "#disable" ).click(function() {
|
143
|
+
// use the custom selector created for each widget to find all instances
|
144
|
+
// all instances are toggled together, so we can check the state from the first
|
145
|
+
if ( $( ":custom-colorize" ).colorize( "option", "disabled" ) ) {
|
146
|
+
$( ":custom-colorize" ).colorize( "enable" );
|
147
|
+
} else {
|
148
|
+
$( ":custom-colorize" ).colorize( "disable" );
|
149
|
+
}
|
150
|
+
});
|
151
|
+
|
152
|
+
// click to set options after initialization
|
153
|
+
$( "#black" ).click( function() {
|
154
|
+
$( ":custom-colorize" ).colorize( "option", {
|
155
|
+
red: 0,
|
156
|
+
green: 0,
|
157
|
+
blue: 0
|
158
|
+
});
|
159
|
+
});
|
160
|
+
});
|
161
|
+
</script>
|
162
|
+
</head>
|
163
|
+
<body>
|
164
|
+
|
165
|
+
<div>
|
166
|
+
<div id="my-widget1">color me</div>
|
167
|
+
<div id="my-widget2">color me</div>
|
168
|
+
<div id="my-widget3">color me</div>
|
169
|
+
<button id="disable">Toggle disabled option</button>
|
170
|
+
<button id="black">Go black</button>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<div class="demo-description">
|
174
|
+
<p>This demo shows a simple custom widget built using the widget factory (jquery.ui.widget.js).</p>
|
175
|
+
<p>The three boxes are initialized in different ways. Clicking them changes their background color. View source to see how it works, its heavily commented</p>
|
176
|
+
</div>
|
177
|
+
</body>
|
178
|
+
</html>
|