rbbt-views 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/lib/rbbt/workflow/rest/auth.rb +69 -0
- data/lib/rbbt/workflow/rest/client.rb +162 -0
- data/lib/rbbt/workflow/rest/entity.rb +77 -0
- data/lib/rbbt/workflow/rest/render.rb +209 -0
- data/lib/rbbt/workflow/rest/util.rb +329 -0
- data/lib/rbbt/workflow/rest.rb +437 -0
- data/share/views/compass/_base.sass +19 -0
- data/share/views/compass/app.sass +103 -0
- data/share/views/compass/compass.config +33 -0
- data/share/views/compass/form.sass +23 -0
- data/share/views/compass/layout.sass +0 -0
- data/share/views/compass/main.sass +161 -0
- data/share/views/compass/screen.sass +8 -0
- data/share/views/dependencies.haml +7 -0
- data/share/views/entity/Gene.haml +6 -0
- data/share/views/error.haml +2 -0
- data/share/views/files.haml +5 -0
- data/share/views/form.haml +66 -0
- data/share/views/info.haml +19 -0
- data/share/views/job_list.haml +5 -0
- data/share/views/js/app.js +221 -0
- data/share/views/layout.haml +89 -0
- data/share/views/partials/_context_control.haml +14 -0
- data/share/views/partials/_job_control.haml +17 -0
- data/share/views/partials/_result_table.haml +43 -0
- data/share/views/partials/_result_table_controls.haml +47 -0
- data/share/views/public/plugins/jqgrid/css/ellipsis-xbl.xml +13 -0
- data/share/views/public/plugins/jqgrid/css/ui.jqgrid.css +140 -0
- data/share/views/public/plugins/jqgrid/js/Changes.txt +1160 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ar.js +126 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-bg.js +132 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-bg1251.js +132 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-cat.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-cn.js +132 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-cs.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-da.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-de.js +133 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-el.js +126 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-en.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-es.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-fa.js +145 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-fi.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-fr.js +126 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-gl.js +126 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-he.js +127 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-hu.js +129 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-is.js +126 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-it.js +1 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ja.js +155 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-lt.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-mne.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-nl.js +149 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-no.js +1 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-pl.js +127 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-pt-br.js +127 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-pt.js +125 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ro.js +139 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ru.js +127 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-sk.js +127 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-sr.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-sv.js +127 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-th.js +128 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-tr.js +126 -0
- data/share/views/public/plugins/jqgrid/js/i18n/grid.locale-ua.js +127 -0
- data/share/views/public/plugins/jqgrid/js/install.txt +43 -0
- data/share/views/public/plugins/jqgrid/js/jquery-1.5.2.min.js +16 -0
- data/share/views/public/plugins/jqgrid/js/jquery.jqGrid.min.js +464 -0
- data/share/views/public/plugins/jqgrid/js/jquery.jqGrid.src.js +10977 -0
- data/share/views/public/plugins/jqgrid/plugins/grid.addons.js +704 -0
- data/share/views/public/plugins/jqgrid/plugins/grid.postext.js +64 -0
- data/share/views/public/plugins/jqgrid/plugins/grid.setcolumns.js +126 -0
- data/share/views/public/plugins/jqgrid/plugins/jquery.contextmenu.js +144 -0
- data/share/views/public/plugins/jqgrid/plugins/jquery.searchFilter.js +716 -0
- data/share/views/public/plugins/jqgrid/plugins/jquery.tablednd.js +383 -0
- data/share/views/public/plugins/jqgrid/plugins/ui.multiselect.css +30 -0
- data/share/views/public/plugins/jqgrid/plugins/ui.multiselect.js +314 -0
- data/share/views/public/plugins/jqgrid/src/JsonXml.js +338 -0
- data/share/views/public/plugins/jqgrid/src/css/ellipsis-xbl.xml +13 -0
- data/share/views/public/plugins/jqgrid/src/css/ui.jqgrid.css +140 -0
- data/share/views/public/plugins/jqgrid/src/css/ui.multiselect.css +30 -0
- data/share/views/public/plugins/jqgrid/src/grid.base.js +3279 -0
- data/share/views/public/plugins/jqgrid/src/grid.celledit.js +488 -0
- data/share/views/public/plugins/jqgrid/src/grid.common.js +668 -0
- data/share/views/public/plugins/jqgrid/src/grid.custom.js +440 -0
- data/share/views/public/plugins/jqgrid/src/grid.filter.js +713 -0
- data/share/views/public/plugins/jqgrid/src/grid.formedit.js +1964 -0
- data/share/views/public/plugins/jqgrid/src/grid.grouping.js +292 -0
- data/share/views/public/plugins/jqgrid/src/grid.import.js +201 -0
- data/share/views/public/plugins/jqgrid/src/grid.inlinedit.js +311 -0
- data/share/views/public/plugins/jqgrid/src/grid.jqueryui.js +504 -0
- data/share/views/public/plugins/jqgrid/src/grid.loader.js +50 -0
- data/share/views/public/plugins/jqgrid/src/grid.subgrid.js +292 -0
- data/share/views/public/plugins/jqgrid/src/grid.tbltogrid.js +106 -0
- data/share/views/public/plugins/jqgrid/src/grid.treegrid.js +666 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ar.js +126 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-bg.js +132 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-bg1251.js +132 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-cat.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-cn.js +132 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-cs.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-da.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-de.js +133 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-dk.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-el.js +126 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-en.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-es.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-fa.js +145 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-fi.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-fr.js +126 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-gl.js +126 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-he.js +127 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-hu.js +129 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-is.js +126 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-it.js +1 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ja.js +155 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-lt.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-mne.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-nl.js +149 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-no.js +1 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-pl.js +127 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-pt-br.js +127 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-pt.js +125 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ro.js +139 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ru.js +127 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-sk.js +127 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-sr.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-sv.js +127 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-th.js +128 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-tr.js +126 -0
- data/share/views/public/plugins/jqgrid/src/i18n/grid.locale-ua.js +127 -0
- data/share/views/public/plugins/jqgrid/src/jqDnR.js +71 -0
- data/share/views/public/plugins/jqgrid/src/jqModal.js +69 -0
- data/share/views/public/plugins/jqgrid/src/jquery.fmatter.js +583 -0
- data/share/views/public/plugins/jquery/js/jquery-1.6.2.min.js +18 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_222222_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_454545_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_888888_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/css/custom-theme/jquery-ui-1.8.14.custom.css +568 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/AUTHORS.txt +30 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/GPL-LICENSE.txt +278 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/MIT-LICENSE.txt +25 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/collapsible.html +57 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/custom-icons.html +69 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/default.html +85 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/fillspace.html +76 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/hoverintent.html +134 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/index.html +25 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/mouseover.html +57 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/no-auto-height.html +60 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/sortable.html +83 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/addClass/default.html +52 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/addClass/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/animate/default.html +61 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/animate/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/categories.html +71 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/combobox.html +174 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/custom-data.html +95 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/default.html +64 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/folding.html +62 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/index.html +27 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/london.xml +114 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/maxheight.html +79 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/multiple-remote.html +84 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/multiple.html +99 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote.html +59 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/search.php +640 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/xml.html +72 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/checkbox.html +44 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/default.html +38 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/icons.html +56 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/index.html +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/radio.html +39 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/splitbutton.html +55 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/toolbar.html +120 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/alt-field.html +36 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/animation.html +58 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/buttonbar.html +35 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/date-formats.html +47 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/date-range.html +49 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/default.html +33 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/icon-trigger.html +37 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/images/calendar.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/index.html +31 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/inline.html +33 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/localization.html +162 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/min-max.html +33 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/other-months.html +37 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/show-week.html +39 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/demos.css +334 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/animated.html +56 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/default.html +54 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/index.html +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-confirmation.html +69 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-form.html +167 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-message.html +71 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal.html +60 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/constrain-movement.html +69 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/cursor-style.html +49 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/default.html +39 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/delay-start.html +45 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/events.html +77 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/handle.html +50 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/index.html +28 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/revert.html +44 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/scroll.html +51 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/snap-to.html +68 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/sortable.html +57 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/visual-feedback.html +77 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/accepted-elements.html +60 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/default.html +53 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/index.html +24 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/photo-manager.html +184 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/propagation.html +80 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/revert.html +61 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/shopping-cart.html +101 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/visual-feedback.html +78 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/default.html +109 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/easing.html +108 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/index.html +19 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/hide/default.html +102 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/hide/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/calendar.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/index.html +321 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/cycler.html +122 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/default.html +153 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/earth.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/flight.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/index.html +19 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/animated.html +44 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/default.html +35 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/index.html +20 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/resize.html +40 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/removeClass/default.html +52 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/removeClass/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/animate.html +43 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/aspect-ratio.html +42 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/constrain-area.html +47 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/default.html +40 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/delay-start.html +52 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/helper.html +43 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/index.html +28 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/max-min.html +45 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/snap-to-grid.html +42 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/synchronous-resize.html +49 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/textarea.html +41 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/visual-feedback.html +43 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/default.html +50 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/display-grid.html +55 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/index.html +20 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/serialize.html +61 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/show/default.html +104 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/show/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/colorpicker.html +95 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/default.html +37 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/hotelrooms.html +59 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/index.html +29 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/multiple-vertical.html +77 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/range-vertical.html +51 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/range.html +52 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/rangemax.html +50 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/rangemin.html +51 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/side-scroll.html +140 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/slider-vertical.html +52 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/steps.html +51 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/tabs.html +67 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/connect-lists.html +58 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/default.html +51 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/delay-start.html +67 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/display-grid.html +54 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/empty-lists.html +69 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/index.html +26 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/items.html +70 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/placeholder.html +56 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/portlets.html +96 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/switchClass/default.html +47 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/switchClass/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content1.html +4 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content2.html +4 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content3-slow.php +7 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content4-broken.php +3 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax.html +53 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/bottom.html +60 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/collapsible.html +55 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/cookie.html +57 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/default.html +49 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/index.html +25 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/manipulation.html +124 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/mouseover.html +53 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/sortable.html +58 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/vertical.html +61 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggle/default.html +94 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggle/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggleClass/default.html +46 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggleClass/index.html +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/accordion.html +1017 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/addClass.html +109 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/animate.html +78 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/autocomplete.html +875 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/button.html +500 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/datepicker.html +2570 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/dialog.html +1698 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/draggable.html +1577 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/droppable.html +829 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/effect.html +143 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/hide.html +144 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/position.html +227 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/progressbar.html +460 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/removeClass.html +113 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/resizable.html +1201 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/selectable.html +848 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/show.html +144 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/slider.html +860 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/sortable.html +1953 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/switchClass.html +129 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/tabs.html +1549 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/toggle.html +144 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/docs/toggleClass.html +111 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.cookie.js +89 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.metadata.js +122 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/external/qunit.css +153 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/external/qunit.js +1261 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/jquery-1.5.1.js +8316 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.accordion.css +19 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.all.css +11 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.base.css +11 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.button.css +38 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.core.css +41 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.slider.css +24 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.tabs.css +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.theme.css +247 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_222222_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_2e83ff_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_454545_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_888888_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery-ui-1.8.14.custom.css +568 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.accordion.css +19 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.all.css +11 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.autocomplete.css +53 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.base.css +11 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.button.css +38 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.core.css +41 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.datepicker.css +68 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.dialog.css +21 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.progressbar.css +11 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.resizable.css +20 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.selectable.css +10 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.slider.css +24 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.tabs.css +18 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.theme.css +249 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery-ui-i18n.js +1379 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery-ui-1.8.14.custom.js +11729 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.blind.js +49 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.bounce.js +78 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.clip.js +54 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.core.js +746 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.drop.js +50 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.explode.js +79 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.fade.js +32 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.fold.js +56 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.highlight.js +50 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.pulsate.js +51 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.scale.js +178 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.shake.js +57 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.slide.js +50 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.transfer.js +45 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.accordion.js +611 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.autocomplete.js +612 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.button.js +416 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.core.js +312 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.datepicker.js +1814 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.dialog.js +878 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.draggable.js +823 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.droppable.js +296 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.mouse.js +160 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.position.js +252 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.progressbar.js +109 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.resizable.js +842 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.selectable.js +266 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.slider.js +666 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.sortable.js +1077 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.tabs.js +758 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.widget.js +262 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.blind.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.bounce.min.js +15 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.clip.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.core.min.js +30 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.drop.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.explode.min.js +15 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.fade.min.js +13 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.fold.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.highlight.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.pulsate.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.scale.min.js +20 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.shake.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.slide.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.transfer.min.js +14 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.accordion.min.js +30 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +32 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.button.min.js +27 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.datepicker.min.js +83 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.dialog.min.js +40 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.draggable.min.js +50 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.droppable.min.js +27 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.resizable.min.js +49 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.slider.min.js +33 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.tabs.min.js +35 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
- data/share/views/public/plugins/jquery-ui/development-bundle/version.txt +1 -0
- data/share/views/public/plugins/jquery-ui/index.html +367 -0
- data/share/views/public/plugins/jquery-ui/js/jquery-1.5.1.min.js +16 -0
- data/share/views/public/plugins/jquery-ui/js/jquery-ui-1.8.14.custom.min.js +789 -0
- data/share/views/result.haml +38 -0
- data/share/views/task_list.haml +7 -0
- data/share/views/wait.haml +2 -0
- data/share/views/workflow_list.haml +5 -0
- data/test/rbbt/workflow/rest/test_client.rb +29 -0
- data/test/test_helper.rb +4 -0
- metadata +686 -0
@@ -0,0 +1,504 @@
|
|
1
|
+
;(function($){
|
2
|
+
/*
|
3
|
+
**
|
4
|
+
* jqGrid addons using jQuery UI
|
5
|
+
* Author: Mark Williams
|
6
|
+
* Dual licensed under the MIT and GPL licenses:
|
7
|
+
* http://www.opensource.org/licenses/mit-license.php
|
8
|
+
* http://www.gnu.org/licenses/gpl-2.0.html
|
9
|
+
* depends on jQuery UI
|
10
|
+
**/
|
11
|
+
if ($.browser.msie && $.browser.version==8) {
|
12
|
+
$.expr[":"].hidden = function(elem) {
|
13
|
+
return elem.offsetWidth === 0 || elem.offsetHeight === 0 ||
|
14
|
+
elem.style.display == "none";
|
15
|
+
};
|
16
|
+
}
|
17
|
+
// requiere load multiselect before grid
|
18
|
+
$.jgrid._multiselect = false;
|
19
|
+
if($.ui) {
|
20
|
+
if ($.ui.multiselect ) {
|
21
|
+
if($.ui.multiselect.prototype._setSelected) {
|
22
|
+
var setSelected = $.ui.multiselect.prototype._setSelected;
|
23
|
+
$.ui.multiselect.prototype._setSelected = function(item,selected) {
|
24
|
+
var ret = setSelected.call(this,item,selected);
|
25
|
+
if (selected && this.selectedList) {
|
26
|
+
var elt = this.element;
|
27
|
+
this.selectedList.find('li').each(function() {
|
28
|
+
if ($(this).data('optionLink')) {
|
29
|
+
$(this).data('optionLink').remove().appendTo(elt);
|
30
|
+
}
|
31
|
+
});
|
32
|
+
}
|
33
|
+
return ret;
|
34
|
+
};
|
35
|
+
}
|
36
|
+
if($.ui.multiselect.prototype.destroy) {
|
37
|
+
$.ui.multiselect.prototype.destroy = function() {
|
38
|
+
this.element.show();
|
39
|
+
this.container.remove();
|
40
|
+
if ($.Widget === undefined) {
|
41
|
+
$.widget.prototype.destroy.apply(this, arguments);
|
42
|
+
} else {
|
43
|
+
$.Widget.prototype.destroy.apply(this, arguments);
|
44
|
+
}
|
45
|
+
};
|
46
|
+
}
|
47
|
+
$.jgrid._multiselect = true;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
$.jgrid.extend({
|
52
|
+
sortableColumns : function (tblrow)
|
53
|
+
{
|
54
|
+
return this.each(function (){
|
55
|
+
var ts = this, tid= ts.p.id;
|
56
|
+
function start() {ts.p.disableClick = true;}
|
57
|
+
var sortable_opts = {
|
58
|
+
"tolerance" : "pointer",
|
59
|
+
"axis" : "x",
|
60
|
+
"scrollSensitivity": "1",
|
61
|
+
"items": '>th:not(:has(#jqgh_'+tid+'_cb'+',#jqgh_'+tid+'_rn'+',#jqgh_'+tid+'_subgrid),:hidden)',
|
62
|
+
"placeholder": {
|
63
|
+
element: function(item) {
|
64
|
+
var el = $(document.createElement(item[0].nodeName))
|
65
|
+
.addClass(item[0].className+" ui-sortable-placeholder ui-state-highlight")
|
66
|
+
.removeClass("ui-sortable-helper")[0];
|
67
|
+
return el;
|
68
|
+
},
|
69
|
+
update: function(self, p) {
|
70
|
+
p.height(self.currentItem.innerHeight() - parseInt(self.currentItem.css('paddingTop')||0, 10) - parseInt(self.currentItem.css('paddingBottom')||0, 10));
|
71
|
+
p.width(self.currentItem.innerWidth() - parseInt(self.currentItem.css('paddingLeft')||0, 10) - parseInt(self.currentItem.css('paddingRight')||0, 10));
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"update": function(event, ui) {
|
75
|
+
var p = $(ui.item).parent(),
|
76
|
+
th = $(">th", p),
|
77
|
+
colModel = ts.p.colModel,
|
78
|
+
cmMap = {}, tid= ts.p.id+"_";
|
79
|
+
$.each(colModel, function(i) { cmMap[this.name]=i; });
|
80
|
+
var permutation = [];
|
81
|
+
th.each(function(i) {
|
82
|
+
var id = $(">div", this).get(0).id.replace(/^jqgh_/, "").replace(tid,"");
|
83
|
+
if (id in cmMap) {
|
84
|
+
permutation.push(cmMap[id]);
|
85
|
+
}
|
86
|
+
});
|
87
|
+
|
88
|
+
$(ts).jqGrid("remapColumns",permutation, true, true);
|
89
|
+
if ($.isFunction(ts.p.sortable.update)) {
|
90
|
+
ts.p.sortable.update(permutation);
|
91
|
+
}
|
92
|
+
setTimeout(function(){ts.p.disableClick=false;}, 50);
|
93
|
+
}
|
94
|
+
};
|
95
|
+
if (ts.p.sortable.options) {
|
96
|
+
$.extend(sortable_opts, ts.p.sortable.options);
|
97
|
+
} else if ($.isFunction(ts.p.sortable)) {
|
98
|
+
ts.p.sortable = { "update" : ts.p.sortable };
|
99
|
+
}
|
100
|
+
if (sortable_opts.start) {
|
101
|
+
var s = sortable_opts.start;
|
102
|
+
sortable_opts.start = function(e,ui) {
|
103
|
+
start();
|
104
|
+
s.call(this,e,ui);
|
105
|
+
};
|
106
|
+
} else {
|
107
|
+
sortable_opts.start = start;
|
108
|
+
}
|
109
|
+
if (ts.p.sortable.exclude) {
|
110
|
+
sortable_opts.items += ":not("+ts.p.sortable.exclude+")";
|
111
|
+
}
|
112
|
+
tblrow.sortable(sortable_opts).data("sortable").floating = true;
|
113
|
+
});
|
114
|
+
},
|
115
|
+
columnChooser : function(opts) {
|
116
|
+
var self = this;
|
117
|
+
if($("#colchooser_"+self[0].p.id).length ) { return; }
|
118
|
+
var selector = $('<div id="colchooser_'+self[0].p.id+'" style="position:relative;overflow:hidden"><div><select multiple="multiple"></select></div></div>');
|
119
|
+
var select = $('select', selector);
|
120
|
+
|
121
|
+
function insert(perm,i,v) {
|
122
|
+
if(i>=0){
|
123
|
+
var a = perm.slice();
|
124
|
+
var b = a.splice(i,Math.max(perm.length-i,i));
|
125
|
+
if(i>perm.length) { i = perm.length; }
|
126
|
+
a[i] = v;
|
127
|
+
return a.concat(b);
|
128
|
+
}
|
129
|
+
}
|
130
|
+
opts = $.extend({
|
131
|
+
"width" : 420,
|
132
|
+
"height" : 240,
|
133
|
+
"classname" : null,
|
134
|
+
"done" : function(perm) { if (perm) { self.jqGrid("remapColumns", perm, true); } },
|
135
|
+
/* msel is either the name of a ui widget class that
|
136
|
+
extends a multiselect, or a function that supports
|
137
|
+
creating a multiselect object (with no argument,
|
138
|
+
or when passed an object), and destroying it (when
|
139
|
+
passed the string "destroy"). */
|
140
|
+
"msel" : "multiselect",
|
141
|
+
/* "msel_opts" : {}, */
|
142
|
+
|
143
|
+
/* dlog is either the name of a ui widget class that
|
144
|
+
behaves in a dialog-like way, or a function, that
|
145
|
+
supports creating a dialog (when passed dlog_opts)
|
146
|
+
or destroying a dialog (when passed the string
|
147
|
+
"destroy")
|
148
|
+
*/
|
149
|
+
"dlog" : "dialog",
|
150
|
+
|
151
|
+
/* dlog_opts is either an option object to be passed
|
152
|
+
to "dlog", or (more likely) a function that creates
|
153
|
+
the options object.
|
154
|
+
The default produces a suitable options object for
|
155
|
+
ui.dialog */
|
156
|
+
"dlog_opts" : function(opts) {
|
157
|
+
var buttons = {};
|
158
|
+
buttons[opts.bSubmit] = function() {
|
159
|
+
opts.apply_perm();
|
160
|
+
opts.cleanup(false);
|
161
|
+
};
|
162
|
+
buttons[opts.bCancel] = function() {
|
163
|
+
opts.cleanup(true);
|
164
|
+
};
|
165
|
+
return {
|
166
|
+
"buttons": buttons,
|
167
|
+
"close": function() {
|
168
|
+
opts.cleanup(true);
|
169
|
+
},
|
170
|
+
"modal" : opts.modal ? opts.modal : false,
|
171
|
+
"resizable": opts.resizable ? opts.resizable : true,
|
172
|
+
"width": opts.width+20
|
173
|
+
};
|
174
|
+
},
|
175
|
+
/* Function to get the permutation array, and pass it to the
|
176
|
+
"done" function */
|
177
|
+
"apply_perm" : function() {
|
178
|
+
$('option',select).each(function(i) {
|
179
|
+
if (this.selected) {
|
180
|
+
self.jqGrid("showCol", colModel[this.value].name);
|
181
|
+
} else {
|
182
|
+
self.jqGrid("hideCol", colModel[this.value].name);
|
183
|
+
}
|
184
|
+
});
|
185
|
+
|
186
|
+
var perm = [];
|
187
|
+
//fixedCols.slice(0);
|
188
|
+
$('option[selected]',select).each(function() { perm.push(parseInt(this.value,10)); });
|
189
|
+
$.each(perm, function() { delete colMap[colModel[parseInt(this,10)].name]; });
|
190
|
+
$.each(colMap, function() {
|
191
|
+
var ti = parseInt(this,10);
|
192
|
+
perm = insert(perm,ti,ti);
|
193
|
+
});
|
194
|
+
if (opts.done) {
|
195
|
+
opts.done.call(self, perm);
|
196
|
+
}
|
197
|
+
},
|
198
|
+
/* Function to cleanup the dialog, and select. Also calls the
|
199
|
+
done function with no permutation (to indicate that the
|
200
|
+
columnChooser was aborted */
|
201
|
+
"cleanup" : function(calldone) {
|
202
|
+
call(opts.dlog, selector, 'destroy');
|
203
|
+
call(opts.msel, select, 'destroy');
|
204
|
+
selector.remove();
|
205
|
+
if (calldone && opts.done) {
|
206
|
+
opts.done.call(self);
|
207
|
+
}
|
208
|
+
},
|
209
|
+
"msel_opts" : {}
|
210
|
+
}, $.jgrid.col, opts || {});
|
211
|
+
if($.ui) {
|
212
|
+
if ($.ui.multiselect ) {
|
213
|
+
if(opts.msel == "multiselect") {
|
214
|
+
if(!$.jgrid._multiselect) {
|
215
|
+
// should be in language file
|
216
|
+
alert("Multiselect plugin loaded after jqGrid. Please load the plugin before the jqGrid!");
|
217
|
+
return;
|
218
|
+
}
|
219
|
+
opts.msel_opts = $.extend($.ui.multiselect.defaults,opts.msel_opts);
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
223
|
+
if (opts.caption) {
|
224
|
+
selector.attr("title", opts.caption);
|
225
|
+
}
|
226
|
+
if (opts.classname) {
|
227
|
+
selector.addClass(opts.classname);
|
228
|
+
select.addClass(opts.classname);
|
229
|
+
}
|
230
|
+
if (opts.width) {
|
231
|
+
$(">div",selector).css({"width": opts.width,"margin":"0 auto"});
|
232
|
+
select.css("width", opts.width);
|
233
|
+
}
|
234
|
+
if (opts.height) {
|
235
|
+
$(">div",selector).css("height", opts.height);
|
236
|
+
select.css("height", opts.height - 10);
|
237
|
+
}
|
238
|
+
var colModel = self.jqGrid("getGridParam", "colModel");
|
239
|
+
var colNames = self.jqGrid("getGridParam", "colNames");
|
240
|
+
var colMap = {}, fixedCols = [];
|
241
|
+
|
242
|
+
select.empty();
|
243
|
+
$.each(colModel, function(i) {
|
244
|
+
colMap[this.name] = i;
|
245
|
+
if (this.hidedlg) {
|
246
|
+
if (!this.hidden) {
|
247
|
+
fixedCols.push(i);
|
248
|
+
}
|
249
|
+
return;
|
250
|
+
}
|
251
|
+
|
252
|
+
select.append("<option value='"+i+"' "+
|
253
|
+
(this.hidden?"":"selected='selected'")+">"+colNames[i]+"</option>");
|
254
|
+
});
|
255
|
+
function call(fn, obj) {
|
256
|
+
if (!fn) { return; }
|
257
|
+
if (typeof fn == 'string') {
|
258
|
+
if ($.fn[fn]) {
|
259
|
+
$.fn[fn].apply(obj, $.makeArray(arguments).slice(2));
|
260
|
+
}
|
261
|
+
} else if ($.isFunction(fn)) {
|
262
|
+
fn.apply(obj, $.makeArray(arguments).slice(2));
|
263
|
+
}
|
264
|
+
}
|
265
|
+
|
266
|
+
var dopts = $.isFunction(opts.dlog_opts) ? opts.dlog_opts.call(self, opts) : opts.dlog_opts;
|
267
|
+
call(opts.dlog, selector, dopts);
|
268
|
+
var mopts = $.isFunction(opts.msel_opts) ? opts.msel_opts.call(self, opts) : opts.msel_opts;
|
269
|
+
call(opts.msel, select, mopts);
|
270
|
+
},
|
271
|
+
sortableRows : function (opts) {
|
272
|
+
// Can accept all sortable options and events
|
273
|
+
return this.each(function(){
|
274
|
+
var $t = this;
|
275
|
+
if(!$t.grid) { return; }
|
276
|
+
// Currently we disable a treeGrid sortable
|
277
|
+
if($t.p.treeGrid) { return; }
|
278
|
+
if($.fn.sortable) {
|
279
|
+
opts = $.extend({
|
280
|
+
"cursor":"move",
|
281
|
+
"axis" : "y",
|
282
|
+
"items": ".jqgrow"
|
283
|
+
},
|
284
|
+
opts || {});
|
285
|
+
if(opts.start && $.isFunction(opts.start)) {
|
286
|
+
opts._start_ = opts.start;
|
287
|
+
delete opts.start;
|
288
|
+
} else {opts._start_=false;}
|
289
|
+
if(opts.update && $.isFunction(opts.update)) {
|
290
|
+
opts._update_ = opts.update;
|
291
|
+
delete opts.update;
|
292
|
+
} else {opts._update_ = false;}
|
293
|
+
opts.start = function(ev,ui) {
|
294
|
+
$(ui.item).css("border-width","0px");
|
295
|
+
$("td",ui.item).each(function(i){
|
296
|
+
this.style.width = $t.grid.cols[i].style.width;
|
297
|
+
});
|
298
|
+
if($t.p.subGrid) {
|
299
|
+
var subgid = $(ui.item).attr("id");
|
300
|
+
try {
|
301
|
+
$($t).jqGrid('collapseSubGridRow',subgid);
|
302
|
+
} catch (e) {}
|
303
|
+
}
|
304
|
+
if(opts._start_) {
|
305
|
+
opts._start_.apply(this,[ev,ui]);
|
306
|
+
}
|
307
|
+
};
|
308
|
+
opts.update = function (ev,ui) {
|
309
|
+
$(ui.item).css("border-width","");
|
310
|
+
if($t.p.rownumbers === true) {
|
311
|
+
$("td.jqgrid-rownum",$t.rows).each(function(i){
|
312
|
+
$(this).html(i+1);
|
313
|
+
});
|
314
|
+
}
|
315
|
+
if(opts._update_) {
|
316
|
+
opts._update_.apply(this,[ev,ui]);
|
317
|
+
}
|
318
|
+
};
|
319
|
+
$("tbody:first",$t).sortable(opts);
|
320
|
+
$("tbody:first",$t).disableSelection();
|
321
|
+
}
|
322
|
+
});
|
323
|
+
},
|
324
|
+
gridDnD : function(opts) {
|
325
|
+
return this.each(function(){
|
326
|
+
var $t = this;
|
327
|
+
if(!$t.grid) { return; }
|
328
|
+
// Currently we disable a treeGrid drag and drop
|
329
|
+
if($t.p.treeGrid) { return; }
|
330
|
+
if(!$.fn.draggable || !$.fn.droppable) { return; }
|
331
|
+
function updateDnD ()
|
332
|
+
{
|
333
|
+
var datadnd = $.data($t,"dnd");
|
334
|
+
$("tr.jqgrow:not(.ui-draggable)",$t).draggable($.isFunction(datadnd.drag) ? datadnd.drag.call($($t),datadnd) : datadnd.drag);
|
335
|
+
}
|
336
|
+
var appender = "<table id='jqgrid_dnd' class='ui-jqgrid-dnd'></table>";
|
337
|
+
if($("#jqgrid_dnd").html() === null) {
|
338
|
+
$('body').append(appender);
|
339
|
+
}
|
340
|
+
|
341
|
+
if(typeof opts == 'string' && opts == 'updateDnD' && $t.p.jqgdnd===true) {
|
342
|
+
updateDnD();
|
343
|
+
return;
|
344
|
+
}
|
345
|
+
opts = $.extend({
|
346
|
+
"drag" : function (opts) {
|
347
|
+
return $.extend({
|
348
|
+
start : function (ev, ui) {
|
349
|
+
// if we are in subgrid mode try to collapse the node
|
350
|
+
if($t.p.subGrid) {
|
351
|
+
var subgid = $(ui.helper).attr("id");
|
352
|
+
try {
|
353
|
+
$($t).jqGrid('collapseSubGridRow',subgid);
|
354
|
+
} catch (e) {}
|
355
|
+
}
|
356
|
+
// hack
|
357
|
+
// drag and drop does not insert tr in table, when the table has no rows
|
358
|
+
// we try to insert new empty row on the target(s)
|
359
|
+
for (var i=0;i<$.data($t,"dnd").connectWith.length;i++){
|
360
|
+
if($($.data($t,"dnd").connectWith[i]).jqGrid('getGridParam','reccount') == "0" ){
|
361
|
+
$($.data($t,"dnd").connectWith[i]).jqGrid('addRowData','jqg_empty_row',{});
|
362
|
+
}
|
363
|
+
}
|
364
|
+
ui.helper.addClass("ui-state-highlight");
|
365
|
+
$("td",ui.helper).each(function(i) {
|
366
|
+
this.style.width = $t.grid.headers[i].width+"px";
|
367
|
+
});
|
368
|
+
if(opts.onstart && $.isFunction(opts.onstart) ) { opts.onstart.call($($t),ev,ui); }
|
369
|
+
},
|
370
|
+
stop :function(ev,ui) {
|
371
|
+
if(ui.helper.dropped) {
|
372
|
+
var ids = $(ui.helper).attr("id");
|
373
|
+
$($t).jqGrid('delRowData',ids );
|
374
|
+
}
|
375
|
+
// if we have a empty row inserted from start event try to delete it
|
376
|
+
for (var i=0;i<$.data($t,"dnd").connectWith.length;i++){
|
377
|
+
$($.data($t,"dnd").connectWith[i]).jqGrid('delRowData','jqg_empty_row');
|
378
|
+
}
|
379
|
+
if(opts.onstop && $.isFunction(opts.onstop) ) { opts.onstop.call($($t),ev,ui); }
|
380
|
+
}
|
381
|
+
},opts.drag_opts || {});
|
382
|
+
},
|
383
|
+
"drop" : function (opts) {
|
384
|
+
return $.extend({
|
385
|
+
accept: function(d) {
|
386
|
+
if (!$(d).hasClass('jqgrow')) { return d;}
|
387
|
+
var tid = $(d).closest("table.ui-jqgrid-btable");
|
388
|
+
if(tid.length > 0 && $.data(tid[0],"dnd") !== undefined) {
|
389
|
+
var cn = $.data(tid[0],"dnd").connectWith;
|
390
|
+
return $.inArray('#'+this.id,cn) != -1 ? true : false;
|
391
|
+
}
|
392
|
+
return d;
|
393
|
+
},
|
394
|
+
drop: function(ev, ui) {
|
395
|
+
if (!$(ui.draggable).hasClass('jqgrow')) { return; }
|
396
|
+
var accept = $(ui.draggable).attr("id");
|
397
|
+
var getdata = ui.draggable.parent().parent().jqGrid('getRowData',accept);
|
398
|
+
if(!opts.dropbyname) {
|
399
|
+
var j =0, tmpdata = {}, dropname;
|
400
|
+
var dropmodel = $("#"+this.id).jqGrid('getGridParam','colModel');
|
401
|
+
try {
|
402
|
+
for (var key in getdata) {
|
403
|
+
if(getdata.hasOwnProperty(key) && dropmodel[j]) {
|
404
|
+
dropname = dropmodel[j].name;
|
405
|
+
tmpdata[dropname] = getdata[key];
|
406
|
+
}
|
407
|
+
j++;
|
408
|
+
}
|
409
|
+
getdata = tmpdata;
|
410
|
+
} catch (e) {}
|
411
|
+
}
|
412
|
+
ui.helper.dropped = true;
|
413
|
+
if(opts.beforedrop && $.isFunction(opts.beforedrop) ) {
|
414
|
+
//parameters to this callback - event, element, data to be inserted, sender, reciever
|
415
|
+
// should return object which will be inserted into the reciever
|
416
|
+
var datatoinsert = opts.beforedrop.call(this,ev,ui,getdata,$('#'+$t.id),$(this));
|
417
|
+
if (typeof datatoinsert != "undefined" && datatoinsert !== null && typeof datatoinsert == "object") { getdata = datatoinsert; }
|
418
|
+
}
|
419
|
+
if(ui.helper.dropped) {
|
420
|
+
var grid;
|
421
|
+
if(opts.autoid) {
|
422
|
+
if($.isFunction(opts.autoid)) {
|
423
|
+
grid = opts.autoid.call(this,getdata);
|
424
|
+
} else {
|
425
|
+
grid = Math.ceil(Math.random()*1000);
|
426
|
+
grid = opts.autoidprefix+grid;
|
427
|
+
}
|
428
|
+
}
|
429
|
+
// NULL is interpreted as undefined while null as object
|
430
|
+
$("#"+this.id).jqGrid('addRowData',grid,getdata,opts.droppos);
|
431
|
+
}
|
432
|
+
if(opts.ondrop && $.isFunction(opts.ondrop) ) { opts.ondrop.call(this,ev,ui, getdata); }
|
433
|
+
}}, opts.drop_opts || {});
|
434
|
+
},
|
435
|
+
"onstart" : null,
|
436
|
+
"onstop" : null,
|
437
|
+
"beforedrop": null,
|
438
|
+
"ondrop" : null,
|
439
|
+
"drop_opts" : {
|
440
|
+
"activeClass": "ui-state-active",
|
441
|
+
"hoverClass": "ui-state-hover"
|
442
|
+
},
|
443
|
+
"drag_opts" : {
|
444
|
+
"revert": "invalid",
|
445
|
+
"helper": "clone",
|
446
|
+
"cursor": "move",
|
447
|
+
"appendTo" : "#jqgrid_dnd",
|
448
|
+
"zIndex": 5000
|
449
|
+
},
|
450
|
+
"dropbyname" : false,
|
451
|
+
"droppos" : "first",
|
452
|
+
"autoid" : true,
|
453
|
+
"autoidprefix" : "dnd_"
|
454
|
+
}, opts || {});
|
455
|
+
|
456
|
+
if(!opts.connectWith) { return; }
|
457
|
+
opts.connectWith = opts.connectWith.split(",");
|
458
|
+
opts.connectWith = $.map(opts.connectWith,function(n){return $.trim(n);});
|
459
|
+
$.data($t,"dnd",opts);
|
460
|
+
|
461
|
+
if($t.p.reccount != "0" && !$t.p.jqgdnd) {
|
462
|
+
updateDnD();
|
463
|
+
}
|
464
|
+
$t.p.jqgdnd = true;
|
465
|
+
for (var i=0;i<opts.connectWith.length;i++){
|
466
|
+
var cn =opts.connectWith[i];
|
467
|
+
$(cn).droppable($.isFunction(opts.drop) ? opts.drop.call($($t),opts) : opts.drop);
|
468
|
+
}
|
469
|
+
});
|
470
|
+
},
|
471
|
+
gridResize : function(opts) {
|
472
|
+
return this.each(function(){
|
473
|
+
var $t = this;
|
474
|
+
if(!$t.grid || !$.fn.resizable) { return; }
|
475
|
+
opts = $.extend({}, opts || {});
|
476
|
+
if(opts.alsoResize ) {
|
477
|
+
opts._alsoResize_ = opts.alsoResize;
|
478
|
+
delete opts.alsoResize;
|
479
|
+
} else {
|
480
|
+
opts._alsoResize_ = false;
|
481
|
+
}
|
482
|
+
if(opts.stop && $.isFunction(opts.stop)) {
|
483
|
+
opts._stop_ = opts.stop;
|
484
|
+
delete opts.stop;
|
485
|
+
} else {
|
486
|
+
opts._stop_ = false;
|
487
|
+
}
|
488
|
+
opts.stop = function (ev, ui) {
|
489
|
+
$($t).jqGrid('setGridParam',{height:$("#gview_"+$t.p.id+" .ui-jqgrid-bdiv").height()});
|
490
|
+
$($t).jqGrid('setGridWidth',ui.size.width,opts.shrinkToFit);
|
491
|
+
if(opts._stop_) { opts._stop_.call($t,ev,ui); }
|
492
|
+
};
|
493
|
+
if(opts._alsoResize_) {
|
494
|
+
var optstest = "{\'#gview_"+$t.p.id+" .ui-jqgrid-bdiv\':true,'" +opts._alsoResize_+"':true}";
|
495
|
+
opts.alsoResize = eval('('+optstest+')'); // the only way that I found to do this
|
496
|
+
} else {
|
497
|
+
opts.alsoResize = $(".ui-jqgrid-bdiv","#gview_"+$t.p.id);
|
498
|
+
}
|
499
|
+
delete opts._alsoResize_;
|
500
|
+
$("#gbox_"+$t.p.id).resizable(opts);
|
501
|
+
});
|
502
|
+
}
|
503
|
+
});
|
504
|
+
})(jQuery);
|
@@ -0,0 +1,50 @@
|
|
1
|
+
//This file should be used if you want to debug and develop
|
2
|
+
function jqGridInclude()
|
3
|
+
{
|
4
|
+
var pathtojsfiles = "js/"; // need to be ajusted
|
5
|
+
// set include to false if you do not want some modules to be included
|
6
|
+
var modules = [
|
7
|
+
{ include: true, incfile:'i18n/grid.locale-en.js'}, // jqGrid translation
|
8
|
+
{ include: true, incfile:'grid.base.js'}, // jqGrid base
|
9
|
+
{ include: true, incfile:'grid.common.js'}, // jqGrid common for editing
|
10
|
+
{ include: true, incfile:'grid.formedit.js'}, // jqGrid Form editing
|
11
|
+
{ include: true, incfile:'grid.inlinedit.js'}, // jqGrid inline editing
|
12
|
+
{ include: true, incfile:'grid.celledit.js'}, // jqGrid cell editing
|
13
|
+
{ include: true, incfile:'grid.subgrid.js'}, //jqGrid subgrid
|
14
|
+
{ include: true, incfile:'grid.treegrid.js'}, //jqGrid treegrid
|
15
|
+
{ include: true, incfile:'grid.grouping.js'}, //jqGrid grouping
|
16
|
+
{ include: true, incfile:'grid.custom.js'}, //jqGrid custom
|
17
|
+
{ include: true, incfile:'grid.tbltogrid.js'}, //jqGrid table to grid
|
18
|
+
{ include: true, incfile:'grid.import.js'}, //jqGrid import
|
19
|
+
{ include: true, incfile:'jquery.fmatter.js'}, //jqGrid formater
|
20
|
+
{ include: true, incfile:'JsonXml.js'}, //xmljson utils
|
21
|
+
{ include: true, incfile:'grid.jqueryui.js'}, //jQuery UI utils
|
22
|
+
{ include: true, incfile:'grid.filter.js'} // filter Plugin
|
23
|
+
];
|
24
|
+
var filename;
|
25
|
+
for(var i=0;i<modules.length; i++)
|
26
|
+
{
|
27
|
+
if(modules[i].include === true) {
|
28
|
+
filename = pathtojsfiles+modules[i].incfile;
|
29
|
+
if(jQuery.browser.safari) {
|
30
|
+
jQuery.ajax({url:filename,dataType:'script', async:false, cache: true});
|
31
|
+
} else {
|
32
|
+
if (jQuery.browser.msie) {
|
33
|
+
document.write('<script charset="utf-8" type="text/javascript" src="'+filename+'"></script>');
|
34
|
+
} else {
|
35
|
+
IncludeJavaScript(filename);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
function IncludeJavaScript(jsFile)
|
41
|
+
{
|
42
|
+
var oHead = document.getElementsByTagName('head')[0];
|
43
|
+
var oScript = document.createElement('script');
|
44
|
+
oScript.setAttribute('type', 'text/javascript');
|
45
|
+
oScript.setAttribute('language', 'javascript');
|
46
|
+
oScript.setAttribute('src', jsFile);
|
47
|
+
oHead.appendChild(oScript);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
jqGridInclude();
|