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,440 @@
|
|
1
|
+
(function($){
|
2
|
+
/**
|
3
|
+
* jqGrid extension for custom methods
|
4
|
+
* Tony Tomov tony@trirand.com
|
5
|
+
* http://trirand.com/blog/
|
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
|
+
**/
|
10
|
+
/*global jQuery, $ */
|
11
|
+
|
12
|
+
$.jgrid.extend({
|
13
|
+
getColProp : function(colname){
|
14
|
+
var ret ={}, $t = this[0];
|
15
|
+
if ( !$t.grid ) { return false; }
|
16
|
+
var cM = $t.p.colModel;
|
17
|
+
for ( var i =0;i<cM.length;i++ ) {
|
18
|
+
if ( cM[i].name == colname ) {
|
19
|
+
ret = cM[i];
|
20
|
+
break;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
return ret;
|
24
|
+
},
|
25
|
+
setColProp : function(colname, obj){
|
26
|
+
//do not set width will not work
|
27
|
+
return this.each(function(){
|
28
|
+
if ( this.grid ) {
|
29
|
+
if ( obj ) {
|
30
|
+
var cM = this.p.colModel;
|
31
|
+
for ( var i =0;i<cM.length;i++ ) {
|
32
|
+
if ( cM[i].name == colname ) {
|
33
|
+
$.extend(this.p.colModel[i],obj);
|
34
|
+
break;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
});
|
40
|
+
},
|
41
|
+
sortGrid : function(colname,reload, sor){
|
42
|
+
return this.each(function(){
|
43
|
+
var $t=this,idx=-1;
|
44
|
+
if ( !$t.grid ) { return;}
|
45
|
+
if ( !colname ) { colname = $t.p.sortname; }
|
46
|
+
for ( var i=0;i<$t.p.colModel.length;i++ ) {
|
47
|
+
if ( $t.p.colModel[i].index == colname || $t.p.colModel[i].name==colname ) {
|
48
|
+
idx = i;
|
49
|
+
break;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
if ( idx!=-1 ){
|
53
|
+
var sort = $t.p.colModel[idx].sortable;
|
54
|
+
if ( typeof sort !== 'boolean' ) { sort = true; }
|
55
|
+
if ( typeof reload !=='boolean' ) { reload = false; }
|
56
|
+
if ( sort ) { $t.sortData("jqgh_"+$t.p.id+"_"+colname, idx, reload, sor); }
|
57
|
+
}
|
58
|
+
});
|
59
|
+
},
|
60
|
+
GridDestroy : function () {
|
61
|
+
return this.each(function(){
|
62
|
+
if ( this.grid ) {
|
63
|
+
if ( this.p.pager ) { // if not part of grid
|
64
|
+
$(this.p.pager).remove();
|
65
|
+
}
|
66
|
+
var gid = this.id;
|
67
|
+
try {
|
68
|
+
$("#gbox_"+gid).remove();
|
69
|
+
} catch (_) {}
|
70
|
+
}
|
71
|
+
});
|
72
|
+
},
|
73
|
+
GridUnload : function(){
|
74
|
+
return this.each(function(){
|
75
|
+
if ( !this.grid ) {return;}
|
76
|
+
var defgrid = {id: $(this).attr('id'),cl: $(this).attr('class')};
|
77
|
+
if (this.p.pager) {
|
78
|
+
$(this.p.pager).empty().removeClass("ui-state-default ui-jqgrid-pager corner-bottom");
|
79
|
+
}
|
80
|
+
var newtable = document.createElement('table');
|
81
|
+
$(newtable).attr({id:defgrid.id});
|
82
|
+
newtable.className = defgrid.cl;
|
83
|
+
var gid = this.id;
|
84
|
+
$(newtable).removeClass("ui-jqgrid-btable");
|
85
|
+
if( $(this.p.pager).parents("#gbox_"+gid).length === 1 ) {
|
86
|
+
$(newtable).insertBefore("#gbox_"+gid).show();
|
87
|
+
$(this.p.pager).insertBefore("#gbox_"+gid);
|
88
|
+
} else {
|
89
|
+
$(newtable).insertBefore("#gbox_"+gid).show();
|
90
|
+
}
|
91
|
+
$("#gbox_"+gid).remove();
|
92
|
+
});
|
93
|
+
},
|
94
|
+
setGridState : function(state) {
|
95
|
+
return this.each(function(){
|
96
|
+
if ( !this.grid ) {return;}
|
97
|
+
var $t = this;
|
98
|
+
if(state == 'hidden'){
|
99
|
+
$(".ui-jqgrid-bdiv, .ui-jqgrid-hdiv","#gview_"+$t.p.id).slideUp("fast");
|
100
|
+
if($t.p.pager) {$($t.p.pager).slideUp("fast");}
|
101
|
+
if($t.p.toppager) {$($t.p.toppager).slideUp("fast");}
|
102
|
+
if($t.p.toolbar[0]===true) {
|
103
|
+
if( $t.p.toolbar[1]=='both') {
|
104
|
+
$($t.grid.ubDiv).slideUp("fast");
|
105
|
+
}
|
106
|
+
$($t.grid.uDiv).slideUp("fast");
|
107
|
+
}
|
108
|
+
if($t.p.footerrow) { $(".ui-jqgrid-sdiv","#gbox_"+$t.p.id).slideUp("fast"); }
|
109
|
+
$(".ui-jqgrid-titlebar-close span",$t.grid.cDiv).removeClass("ui-icon-circle-triangle-n").addClass("ui-icon-circle-triangle-s");
|
110
|
+
$t.p.gridstate = 'hidden';
|
111
|
+
} else if(state=='visible') {
|
112
|
+
$(".ui-jqgrid-hdiv, .ui-jqgrid-bdiv","#gview_"+$t.p.id).slideDown("fast");
|
113
|
+
if($t.p.pager) {$($t.p.pager).slideDown("fast");}
|
114
|
+
if($t.p.toppager) {$($t.p.toppager).slideDown("fast");}
|
115
|
+
if($t.p.toolbar[0]===true) {
|
116
|
+
if( $t.p.toolbar[1]=='both') {
|
117
|
+
$($t.grid.ubDiv).slideDown("fast");
|
118
|
+
}
|
119
|
+
$($t.grid.uDiv).slideDown("fast");
|
120
|
+
}
|
121
|
+
if($t.p.footerrow) { $(".ui-jqgrid-sdiv","#gbox_"+$t.p.id).slideDown("fast"); }
|
122
|
+
$(".ui-jqgrid-titlebar-close span",$t.grid.cDiv).removeClass("ui-icon-circle-triangle-s").addClass("ui-icon-circle-triangle-n");
|
123
|
+
$t.p.gridstate = 'visible';
|
124
|
+
}
|
125
|
+
|
126
|
+
});
|
127
|
+
},
|
128
|
+
filterToolbar : function(p){
|
129
|
+
p = $.extend({
|
130
|
+
autosearch: true,
|
131
|
+
searchOnEnter : true,
|
132
|
+
beforeSearch: null,
|
133
|
+
afterSearch: null,
|
134
|
+
beforeClear: null,
|
135
|
+
afterClear: null,
|
136
|
+
searchurl : '',
|
137
|
+
stringResult: false,
|
138
|
+
groupOp: 'AND',
|
139
|
+
defaultSearch : "bw"
|
140
|
+
},p || {});
|
141
|
+
return this.each(function(){
|
142
|
+
var $t = this;
|
143
|
+
if(this.ftoolbar) { return; }
|
144
|
+
var triggerToolbar = function() {
|
145
|
+
var sdata={}, j=0, v, nm, sopt={},so;
|
146
|
+
$.each($t.p.colModel,function(i,n){
|
147
|
+
nm = this.index || this.name;
|
148
|
+
switch (this.stype) {
|
149
|
+
case 'select' :
|
150
|
+
so = (this.searchoptions && this.searchoptions.sopt) ? this.searchoptions.sopt[0] : 'eq';
|
151
|
+
v = $("#gs_"+$.jgrid.jqID(this.name),$t.grid.hDiv).val();
|
152
|
+
if(v) {
|
153
|
+
sdata[nm] = v;
|
154
|
+
sopt[nm] = so;
|
155
|
+
j++;
|
156
|
+
} else {
|
157
|
+
try {
|
158
|
+
delete $t.p.postData[nm];
|
159
|
+
} catch (e) {}
|
160
|
+
}
|
161
|
+
break;
|
162
|
+
case 'text':
|
163
|
+
so = (this.searchoptions && this.searchoptions.sopt) ? this.searchoptions.sopt[0] : p.defaultSearch;
|
164
|
+
v = $("#gs_"+$.jgrid.jqID(this.name), $t.grid.hDiv).val();
|
165
|
+
if(v) {
|
166
|
+
sdata[nm] = v;
|
167
|
+
sopt[nm] = so;
|
168
|
+
j++;
|
169
|
+
} else {
|
170
|
+
try {
|
171
|
+
delete $t.p.postData[nm];
|
172
|
+
} catch (z) {}
|
173
|
+
}
|
174
|
+
break;
|
175
|
+
}
|
176
|
+
});
|
177
|
+
var sd = j>0 ? true : false;
|
178
|
+
if(p.stringResult === true || $t.p.datatype == "local") {
|
179
|
+
var ruleGroup = "{\"groupOp\":\"" + p.groupOp + "\",\"rules\":[";
|
180
|
+
var gi=0;
|
181
|
+
$.each(sdata,function(i,n){
|
182
|
+
if (gi > 0) {ruleGroup += ",";}
|
183
|
+
ruleGroup += "{\"field\":\"" + i + "\",";
|
184
|
+
ruleGroup += "\"op\":\"" + sopt[i] + "\",";
|
185
|
+
n+="";
|
186
|
+
ruleGroup += "\"data\":\"" + n.replace(/\\/g,'\\\\').replace(/\"/g,'\\"') + "\"}";
|
187
|
+
gi++;
|
188
|
+
});
|
189
|
+
ruleGroup += "]}";
|
190
|
+
$.extend($t.p.postData,{filters:ruleGroup});
|
191
|
+
$.each(['searchField', 'searchString', 'searchOper'], function(i, n){
|
192
|
+
if($t.p.postData.hasOwnProperty(n)) { delete $t.p.postData[n];}
|
193
|
+
});
|
194
|
+
} else {
|
195
|
+
$.extend($t.p.postData,sdata);
|
196
|
+
}
|
197
|
+
var saveurl;
|
198
|
+
if($t.p.searchurl) {
|
199
|
+
saveurl = $t.p.url;
|
200
|
+
$($t).jqGrid("setGridParam",{url:$t.p.searchurl});
|
201
|
+
}
|
202
|
+
var bsr = false;
|
203
|
+
if($.isFunction(p.beforeSearch)){bsr = p.beforeSearch.call($t);}
|
204
|
+
if(!bsr) { $($t).jqGrid("setGridParam",{search:sd}).trigger("reloadGrid",[{page:1}]); }
|
205
|
+
if(saveurl) {$($t).jqGrid("setGridParam",{url:saveurl});}
|
206
|
+
if($.isFunction(p.afterSearch)){p.afterSearch();}
|
207
|
+
};
|
208
|
+
var clearToolbar = function(trigger){
|
209
|
+
var sdata={}, v, j=0, nm;
|
210
|
+
trigger = (typeof trigger != 'boolean') ? true : trigger;
|
211
|
+
$.each($t.p.colModel,function(i,n){
|
212
|
+
v = (this.searchoptions && this.searchoptions.defaultValue) ? this.searchoptions.defaultValue : "";
|
213
|
+
nm = this.index || this.name;
|
214
|
+
switch (this.stype) {
|
215
|
+
case 'select' :
|
216
|
+
var v1;
|
217
|
+
$("#gs_"+$.jgrid.jqID(nm)+" option",$t.grid.hDiv).each(function (i){
|
218
|
+
if(i===0) { this.selected = true; }
|
219
|
+
if ($(this).text() == v) {
|
220
|
+
this.selected = true;
|
221
|
+
v1 = $(this).val();
|
222
|
+
return false;
|
223
|
+
}
|
224
|
+
});
|
225
|
+
if (v1) {
|
226
|
+
// post the key and not the text
|
227
|
+
sdata[nm] = v1;
|
228
|
+
j++;
|
229
|
+
} else {
|
230
|
+
try {
|
231
|
+
delete $t.p.postData[nm];
|
232
|
+
} catch(e) {}
|
233
|
+
}
|
234
|
+
break;
|
235
|
+
case 'text':
|
236
|
+
$("#gs_"+$.jgrid.jqID(nm),$t.grid.hDiv).val(v);
|
237
|
+
if(v) {
|
238
|
+
sdata[nm] = v;
|
239
|
+
j++;
|
240
|
+
} else {
|
241
|
+
try {
|
242
|
+
delete $t.p.postData[nm];
|
243
|
+
} catch (y){}
|
244
|
+
}
|
245
|
+
break;
|
246
|
+
}
|
247
|
+
});
|
248
|
+
var sd = j>0 ? true : false;
|
249
|
+
if(p.stringResult === true || $t.p.datatype == "local") {
|
250
|
+
var ruleGroup = "{\"groupOp\":\"" + p.groupOp + "\",\"rules\":[";
|
251
|
+
var gi=0;
|
252
|
+
$.each(sdata,function(i,n){
|
253
|
+
if (gi > 0) {ruleGroup += ",";}
|
254
|
+
ruleGroup += "{\"field\":\"" + i + "\",";
|
255
|
+
ruleGroup += "\"op\":\"" + "eq" + "\",";
|
256
|
+
n+="";
|
257
|
+
ruleGroup += "\"data\":\"" + n.replace(/\\/g,'\\\\').replace(/\"/g,'\\"') + "\"}";
|
258
|
+
gi++;
|
259
|
+
});
|
260
|
+
ruleGroup += "]}";
|
261
|
+
$.extend($t.p.postData,{filters:ruleGroup});
|
262
|
+
$.each(['searchField', 'searchString', 'searchOper'], function(i, n){
|
263
|
+
if($t.p.postData.hasOwnProperty(n)) { delete $t.p.postData[n];}
|
264
|
+
});
|
265
|
+
} else {
|
266
|
+
$.extend($t.p.postData,sdata);
|
267
|
+
}
|
268
|
+
var saveurl;
|
269
|
+
if($t.p.searchurl) {
|
270
|
+
saveurl = $t.p.url;
|
271
|
+
$($t).jqGrid("setGridParam",{url:$t.p.searchurl});
|
272
|
+
}
|
273
|
+
var bcv = false;
|
274
|
+
if($.isFunction(p.beforeClear)){bcv = p.beforeClear.call($t);}
|
275
|
+
if(!bcv) {
|
276
|
+
if(trigger) {
|
277
|
+
$($t).jqGrid("setGridParam",{search:sd}).trigger("reloadGrid",[{page:1}]);
|
278
|
+
}
|
279
|
+
}
|
280
|
+
if(saveurl) {$($t).jqGrid("setGridParam",{url:saveurl});}
|
281
|
+
if($.isFunction(p.afterClear)){p.afterClear();}
|
282
|
+
};
|
283
|
+
var toggleToolbar = function(){
|
284
|
+
var trow = $("tr.ui-search-toolbar",$t.grid.hDiv);
|
285
|
+
if(trow.css("display")=='none') { trow.show(); }
|
286
|
+
else { trow.hide(); }
|
287
|
+
};
|
288
|
+
// create the row
|
289
|
+
function bindEvents(selector, events) {
|
290
|
+
var jElem = $(selector);
|
291
|
+
if (jElem[0]) {
|
292
|
+
jQuery.each(events, function() {
|
293
|
+
if (this.data !== undefined) {
|
294
|
+
jElem.bind(this.type, this.data, this.fn);
|
295
|
+
} else {
|
296
|
+
jElem.bind(this.type, this.fn);
|
297
|
+
}
|
298
|
+
});
|
299
|
+
}
|
300
|
+
}
|
301
|
+
var tr = $("<tr class='ui-search-toolbar' role='rowheader'></tr>");
|
302
|
+
var timeoutHnd;
|
303
|
+
$.each($t.p.colModel,function(i,n){
|
304
|
+
var cm=this, thd , th, soptions,surl,self;
|
305
|
+
th = $("<th role='columnheader' class='ui-state-default ui-th-column ui-th-"+$t.p.direction+"'></th>");
|
306
|
+
thd = $("<div style='width:100%;position:relative;height:100%;padding-right:0.3em;'></div>");
|
307
|
+
if(this.hidden===true) { $(th).css("display","none");}
|
308
|
+
this.search = this.search === false ? false : true;
|
309
|
+
if(typeof this.stype == 'undefined' ) {this.stype='text';}
|
310
|
+
soptions = $.extend({},this.searchoptions || {});
|
311
|
+
if(this.search){
|
312
|
+
switch (this.stype)
|
313
|
+
{
|
314
|
+
case "select":
|
315
|
+
surl = this.surl || soptions.dataUrl;
|
316
|
+
if(surl) {
|
317
|
+
// data returned should have already constructed html select
|
318
|
+
// primitive jQuery load
|
319
|
+
self = thd;
|
320
|
+
$.ajax($.extend({
|
321
|
+
url: surl,
|
322
|
+
dataType: "html",
|
323
|
+
complete: function(res,status) {
|
324
|
+
if(soptions.buildSelect !== undefined) {
|
325
|
+
var d = soptions.buildSelect(res);
|
326
|
+
if (d) { $(self).append(d); }
|
327
|
+
} else {
|
328
|
+
$(self).append(res.responseText);
|
329
|
+
}
|
330
|
+
if(soptions.defaultValue) { $("select",self).val(soptions.defaultValue); }
|
331
|
+
$("select",self).attr({name:cm.index || cm.name, id: "gs_"+cm.name});
|
332
|
+
if(soptions.attr) {$("select",self).attr(soptions.attr);}
|
333
|
+
$("select",self).css({width: "100%"});
|
334
|
+
// preserve autoserch
|
335
|
+
if(soptions.dataInit !== undefined) { soptions.dataInit($("select",self)[0]); }
|
336
|
+
if(soptions.dataEvents !== undefined) { bindEvents($("select",self)[0],soptions.dataEvents); }
|
337
|
+
if(p.autosearch===true){
|
338
|
+
$("select",self).change(function(e){
|
339
|
+
triggerToolbar();
|
340
|
+
return false;
|
341
|
+
});
|
342
|
+
}
|
343
|
+
res=null;
|
344
|
+
}
|
345
|
+
}, $.jgrid.ajaxOptions, $t.p.ajaxSelectOptions || {} ));
|
346
|
+
} else {
|
347
|
+
var oSv;
|
348
|
+
if(cm.searchoptions && cm.searchoptions.value) {
|
349
|
+
oSv = cm.searchoptions.value;
|
350
|
+
} else if(cm.editoptions && cm.editoptions.value) {
|
351
|
+
oSv = cm.editoptions.value;
|
352
|
+
}
|
353
|
+
if (oSv) {
|
354
|
+
var elem = document.createElement("select");
|
355
|
+
elem.style.width = "100%";
|
356
|
+
$(elem).attr({name:cm.index || cm.name, id: "gs_"+cm.name});
|
357
|
+
var so, sv, ov;
|
358
|
+
if(typeof oSv === "string") {
|
359
|
+
so = oSv.split(";");
|
360
|
+
for(var k=0; k<so.length;k++){
|
361
|
+
sv = so[k].split(":");
|
362
|
+
ov = document.createElement("option");
|
363
|
+
ov.value = sv[0]; ov.innerHTML = sv[1];
|
364
|
+
elem.appendChild(ov);
|
365
|
+
}
|
366
|
+
} else if(typeof oSv === "object" ) {
|
367
|
+
for ( var key in oSv) {
|
368
|
+
if(oSv.hasOwnProperty(key)) {
|
369
|
+
ov = document.createElement("option");
|
370
|
+
ov.value = key; ov.innerHTML = oSv[key];
|
371
|
+
elem.appendChild(ov);
|
372
|
+
}
|
373
|
+
}
|
374
|
+
}
|
375
|
+
if(soptions.defaultValue) { $(elem).val(soptions.defaultValue); }
|
376
|
+
if(soptions.attr) {$(elem).attr(soptions.attr);}
|
377
|
+
if(soptions.dataInit !== undefined) { soptions.dataInit(elem); }
|
378
|
+
if(soptions.dataEvents !== undefined) { bindEvents(elem, soptions.dataEvents); }
|
379
|
+
$(thd).append(elem);
|
380
|
+
if(p.autosearch===true){
|
381
|
+
$(elem).change(function(e){
|
382
|
+
triggerToolbar();
|
383
|
+
return false;
|
384
|
+
});
|
385
|
+
}
|
386
|
+
}
|
387
|
+
}
|
388
|
+
break;
|
389
|
+
case 'text':
|
390
|
+
var df = soptions.defaultValue ? soptions.defaultValue: "";
|
391
|
+
$(thd).append("<input type='text' style='width:95%;padding:0px;' name='"+(cm.index || cm.name)+"' id='gs_"+cm.name+"' value='"+df+"'/>");
|
392
|
+
if(soptions.attr) {$("input",thd).attr(soptions.attr);}
|
393
|
+
if(soptions.dataInit !== undefined) { soptions.dataInit($("input",thd)[0]); }
|
394
|
+
if(soptions.dataEvents !== undefined) { bindEvents($("input",thd)[0], soptions.dataEvents); }
|
395
|
+
if(p.autosearch===true){
|
396
|
+
if(p.searchOnEnter) {
|
397
|
+
$("input",thd).keypress(function(e){
|
398
|
+
var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0;
|
399
|
+
if(key == 13){
|
400
|
+
triggerToolbar();
|
401
|
+
return false;
|
402
|
+
}
|
403
|
+
return this;
|
404
|
+
});
|
405
|
+
} else {
|
406
|
+
$("input",thd).keydown(function(e){
|
407
|
+
var key = e.which;
|
408
|
+
switch (key) {
|
409
|
+
case 13:
|
410
|
+
return false;
|
411
|
+
case 9 :
|
412
|
+
case 16:
|
413
|
+
case 37:
|
414
|
+
case 38:
|
415
|
+
case 39:
|
416
|
+
case 40:
|
417
|
+
case 27:
|
418
|
+
break;
|
419
|
+
default :
|
420
|
+
if(timeoutHnd) { clearTimeout(timeoutHnd); }
|
421
|
+
timeoutHnd = setTimeout(function(){triggerToolbar();},500);
|
422
|
+
}
|
423
|
+
});
|
424
|
+
}
|
425
|
+
}
|
426
|
+
break;
|
427
|
+
}
|
428
|
+
}
|
429
|
+
$(th).append(thd);
|
430
|
+
$(tr).append(th);
|
431
|
+
});
|
432
|
+
$("table thead",$t.grid.hDiv).append(tr);
|
433
|
+
this.ftoolbar = true;
|
434
|
+
this.triggerToolbar = triggerToolbar;
|
435
|
+
this.clearToolbar = clearToolbar;
|
436
|
+
this.toggleToolbar = toggleToolbar;
|
437
|
+
});
|
438
|
+
}
|
439
|
+
});
|
440
|
+
})(jQuery);
|