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,666 @@
|
|
1
|
+
/**
|
2
|
+
* jqGrid extension - Tree Grid
|
3
|
+
* Tony Tomov tony@trirand.com
|
4
|
+
* http://trirand.com/blog/
|
5
|
+
* Dual licensed under the MIT and GPL licenses:
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
* http://www.gnu.org/licenses/gpl.html
|
8
|
+
**/
|
9
|
+
|
10
|
+
/*global document, jQuery, $ */
|
11
|
+
(function($) {
|
12
|
+
$.jgrid.extend({
|
13
|
+
setTreeNode : function(i, len){
|
14
|
+
return this.each(function(){
|
15
|
+
var $t = this;
|
16
|
+
if( !$t.grid || !$t.p.treeGrid ) {return;}
|
17
|
+
var expCol = $t.p.expColInd,
|
18
|
+
expanded = $t.p.treeReader.expanded_field,
|
19
|
+
isLeaf = $t.p.treeReader.leaf_field,
|
20
|
+
level = $t.p.treeReader.level_field,
|
21
|
+
icon = $t.p.treeReader.icon_field,
|
22
|
+
loaded = $t.p.treeReader.loaded, lft, rgt, curLevel, ident,lftpos, twrap,
|
23
|
+
ldat, lf;
|
24
|
+
while(i<len) {
|
25
|
+
var ind = $t.rows[i].id, dind = $t.p._index[ind], expan;
|
26
|
+
ldat = $t.p.data[dind];
|
27
|
+
//$t.rows[i].level = ldat[level];
|
28
|
+
if($t.p.treeGridModel == 'nested') {
|
29
|
+
if(!ldat[isLeaf]) {
|
30
|
+
lft = parseInt(ldat[$t.p.treeReader.left_field],10);
|
31
|
+
rgt = parseInt(ldat[$t.p.treeReader.right_field],10);
|
32
|
+
// NS Model
|
33
|
+
ldat[isLeaf] = (rgt === lft+1) ? 'true' : 'false';
|
34
|
+
$t.rows[i].cells[$t.p._treeleafpos].innerHTML = ldat[isLeaf];
|
35
|
+
}
|
36
|
+
}
|
37
|
+
//else {
|
38
|
+
//row.parent_id = rd[$t.p.treeReader.parent_id_field];
|
39
|
+
//}
|
40
|
+
curLevel = parseInt(ldat[level],10);
|
41
|
+
if($t.p.tree_root_level === 0) {
|
42
|
+
ident = curLevel+1;
|
43
|
+
lftpos = curLevel;
|
44
|
+
} else {
|
45
|
+
ident = curLevel;
|
46
|
+
lftpos = curLevel -1;
|
47
|
+
}
|
48
|
+
twrap = "<div class='tree-wrap tree-wrap-"+$t.p.direction+"' style='width:"+(ident*18)+"px;'>";
|
49
|
+
twrap += "<div style='"+($t.p.direction=="rtl" ? "right:" : "left:")+(lftpos*18)+"px;' class='ui-icon ";
|
50
|
+
|
51
|
+
|
52
|
+
if(ldat[loaded] !== undefined) {
|
53
|
+
if(ldat[loaded]=="true" || ldat[loaded]===true) {
|
54
|
+
ldat[loaded] = true;
|
55
|
+
} else {
|
56
|
+
ldat[loaded] = false;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
if(ldat[isLeaf] == "true" || ldat[isLeaf] === true) {
|
60
|
+
twrap += ((ldat[icon] !== undefined && ldat[icon] !== "") ? ldat[icon] : $t.p.treeIcons.leaf)+" tree-leaf treeclick'";
|
61
|
+
ldat[isLeaf] = true;
|
62
|
+
lf="leaf";
|
63
|
+
} else {
|
64
|
+
ldat[isLeaf] = false;
|
65
|
+
lf="";
|
66
|
+
}
|
67
|
+
ldat[expanded] = ((ldat[expanded] == "true" || ldat[expanded] === true) ? true : false) && ldat[loaded];
|
68
|
+
if(ldat[expanded] === true) {
|
69
|
+
twrap += $t.p.treeIcons.minus+" tree-minus treeclick'";
|
70
|
+
} else {
|
71
|
+
twrap += $t.p.treeIcons.plus+" tree-plus treeclick'";
|
72
|
+
}
|
73
|
+
|
74
|
+
twrap += "</div></div>";
|
75
|
+
$($t.rows[i].cells[expCol]).wrapInner("<span class='cell-wrapper"+lf+"'></span>").prepend(twrap);
|
76
|
+
|
77
|
+
if(curLevel !== parseInt($t.p.tree_root_level,10)) {
|
78
|
+
var pn = $($t).jqGrid('getNodeParent',ldat);
|
79
|
+
expan = pn && pn.hasOwnProperty(expanded) ? pn[expanded] : true;
|
80
|
+
if( !expan ){
|
81
|
+
$($t.rows[i]).css("display","none");
|
82
|
+
}
|
83
|
+
}
|
84
|
+
$($t.rows[i].cells[expCol])
|
85
|
+
.find("div.treeclick")
|
86
|
+
.bind("click",function(e){
|
87
|
+
var target = e.target || e.srcElement,
|
88
|
+
ind2 =$(target,$t.rows).closest("tr.jqgrow")[0].id,
|
89
|
+
pos = $t.p._index[ind2];
|
90
|
+
if(!$t.p.data[pos][isLeaf]){
|
91
|
+
if($t.p.data[pos][expanded]){
|
92
|
+
$($t).jqGrid("collapseRow",$t.p.data[pos]);
|
93
|
+
$($t).jqGrid("collapseNode",$t.p.data[pos]);
|
94
|
+
} else {
|
95
|
+
$($t).jqGrid("expandRow",$t.p.data[pos]);
|
96
|
+
$($t).jqGrid("expandNode",$t.p.data[pos]);
|
97
|
+
}
|
98
|
+
}
|
99
|
+
return false;
|
100
|
+
});
|
101
|
+
if($t.p.ExpandColClick === true) {
|
102
|
+
$($t.rows[i].cells[expCol])
|
103
|
+
.find("span.cell-wrapper")
|
104
|
+
.css("cursor","pointer")
|
105
|
+
.bind("click",function(e) {
|
106
|
+
var target = e.target || e.srcElement,
|
107
|
+
ind2 =$(target,$t.rows).closest("tr.jqgrow")[0].id,
|
108
|
+
pos = $t.p._index[ind2];
|
109
|
+
if(!$t.p.data[pos][isLeaf]){
|
110
|
+
if($t.p.data[pos][expanded]){
|
111
|
+
$($t).jqGrid("collapseRow",$t.p.data[pos]);
|
112
|
+
$($t).jqGrid("collapseNode",$t.p.data[pos]);
|
113
|
+
} else {
|
114
|
+
$($t).jqGrid("expandRow",$t.p.data[pos]);
|
115
|
+
$($t).jqGrid("expandNode",$t.p.data[pos]);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
$($t).jqGrid("setSelection",ind2);
|
119
|
+
return false;
|
120
|
+
});
|
121
|
+
}
|
122
|
+
i++;
|
123
|
+
}
|
124
|
+
|
125
|
+
});
|
126
|
+
},
|
127
|
+
setTreeGrid : function() {
|
128
|
+
return this.each(function (){
|
129
|
+
var $t = this, i=0, pico, ecol = false, nm, key, dupcols=[];
|
130
|
+
if(!$t.p.treeGrid) {return;}
|
131
|
+
if(!$t.p.treedatatype ) {$.extend($t.p,{treedatatype: $t.p.datatype});}
|
132
|
+
$t.p.subGrid = false;$t.p.altRows =false;
|
133
|
+
$t.p.pgbuttons = false;$t.p.pginput = false;
|
134
|
+
$t.p.gridview = true;
|
135
|
+
$t.p.multiselect = false;$t.p.rowList = [];
|
136
|
+
$t.p.expColInd = 0;
|
137
|
+
pico = 'ui-icon-triangle-1-' + ($t.p.direction=="rtl" ? 'w' : 'e');
|
138
|
+
$t.p.treeIcons = $.extend({plus:pico,minus:'ui-icon-triangle-1-s',leaf:'ui-icon-radio-off'},$t.p.treeIcons || {});
|
139
|
+
if($t.p.treeGridModel == 'nested') {
|
140
|
+
$t.p.treeReader = $.extend({
|
141
|
+
level_field: "level",
|
142
|
+
left_field:"lft",
|
143
|
+
right_field: "rgt",
|
144
|
+
leaf_field: "isLeaf",
|
145
|
+
expanded_field: "expanded",
|
146
|
+
loaded: "loaded",
|
147
|
+
icon_field: "icon"
|
148
|
+
},$t.p.treeReader);
|
149
|
+
} else if($t.p.treeGridModel == 'adjacency') {
|
150
|
+
$t.p.treeReader = $.extend({
|
151
|
+
level_field: "level",
|
152
|
+
parent_id_field: "parent",
|
153
|
+
leaf_field: "isLeaf",
|
154
|
+
expanded_field: "expanded",
|
155
|
+
loaded: "loaded",
|
156
|
+
icon_field: "icon"
|
157
|
+
},$t.p.treeReader );
|
158
|
+
}
|
159
|
+
for ( key in $t.p.colModel){
|
160
|
+
if($t.p.colModel.hasOwnProperty(key)) {
|
161
|
+
nm = $t.p.colModel[key].name;
|
162
|
+
if( nm == $t.p.ExpandColumn && !ecol ) {
|
163
|
+
ecol = true;
|
164
|
+
$t.p.expColInd = i;
|
165
|
+
}
|
166
|
+
i++;
|
167
|
+
//
|
168
|
+
for(var tkey in $t.p.treeReader) {
|
169
|
+
if($t.p.treeReader[tkey] == nm)
|
170
|
+
dupcols.push(nm);
|
171
|
+
}
|
172
|
+
|
173
|
+
}
|
174
|
+
}
|
175
|
+
$.each($t.p.treeReader,function(j,n){
|
176
|
+
if(n && $.inArray(n, dupcols) === -1){
|
177
|
+
if(j==='leaf_field') { $t.p._treeleafpos= i; }
|
178
|
+
i++;
|
179
|
+
$t.p.colNames.push(n);
|
180
|
+
$t.p.colModel.push({name:n,width:1,hidden:true,sortable:false,resizable:false,hidedlg:true,editable:true,search:false});
|
181
|
+
}
|
182
|
+
});
|
183
|
+
});
|
184
|
+
},
|
185
|
+
expandRow: function (record){
|
186
|
+
this.each(function(){
|
187
|
+
var $t = this;
|
188
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
189
|
+
var childern = $($t).jqGrid("getNodeChildren",record),
|
190
|
+
//if ($($t).jqGrid("isVisibleNode",record)) {
|
191
|
+
expanded = $t.p.treeReader.expanded_field;
|
192
|
+
$(childern).each(function(i){
|
193
|
+
var id = $.jgrid.getAccessor(this,$t.p.localReader.id);
|
194
|
+
$("#"+id,$t.grid.bDiv).css("display","");
|
195
|
+
if(this[expanded]) {
|
196
|
+
$($t).jqGrid("expandRow",this);
|
197
|
+
}
|
198
|
+
});
|
199
|
+
//}
|
200
|
+
});
|
201
|
+
},
|
202
|
+
collapseRow : function (record) {
|
203
|
+
this.each(function(){
|
204
|
+
var $t = this;
|
205
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
206
|
+
var childern = $($t).jqGrid("getNodeChildren",record),
|
207
|
+
expanded = $t.p.treeReader.expanded_field;
|
208
|
+
$(childern).each(function(i){
|
209
|
+
var id = $.jgrid.getAccessor(this,$t.p.localReader.id);
|
210
|
+
$("#"+id,$t.grid.bDiv).css("display","none");
|
211
|
+
if(this[expanded]){
|
212
|
+
$($t).jqGrid("collapseRow",this);
|
213
|
+
}
|
214
|
+
});
|
215
|
+
});
|
216
|
+
},
|
217
|
+
// NS ,adjacency models
|
218
|
+
getRootNodes : function() {
|
219
|
+
var result = [];
|
220
|
+
this.each(function(){
|
221
|
+
var $t = this;
|
222
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
223
|
+
switch ($t.p.treeGridModel) {
|
224
|
+
case 'nested' :
|
225
|
+
var level = $t.p.treeReader.level_field;
|
226
|
+
$($t.p.data).each(function(i){
|
227
|
+
if(parseInt(this[level],10) === parseInt($t.p.tree_root_level,10)) {
|
228
|
+
result.push(this);
|
229
|
+
}
|
230
|
+
});
|
231
|
+
break;
|
232
|
+
case 'adjacency' :
|
233
|
+
var parent_id = $t.p.treeReader.parent_id_field;
|
234
|
+
$($t.p.data).each(function(i){
|
235
|
+
if(this[parent_id] === null || String(this[parent_id]).toLowerCase() == "null") {
|
236
|
+
result.push(this);
|
237
|
+
}
|
238
|
+
});
|
239
|
+
break;
|
240
|
+
}
|
241
|
+
});
|
242
|
+
return result;
|
243
|
+
},
|
244
|
+
getNodeDepth : function(rc) {
|
245
|
+
var ret = null;
|
246
|
+
this.each(function(){
|
247
|
+
if(!this.grid || !this.p.treeGrid) {return;}
|
248
|
+
var $t = this;
|
249
|
+
switch ($t.p.treeGridModel) {
|
250
|
+
case 'nested' :
|
251
|
+
var level = $t.p.treeReader.level_field;
|
252
|
+
ret = parseInt(rc[level],10) - parseInt($t.p.tree_root_level,10);
|
253
|
+
break;
|
254
|
+
case 'adjacency' :
|
255
|
+
ret = $($t).jqGrid("getNodeAncestors",rc).length;
|
256
|
+
break;
|
257
|
+
}
|
258
|
+
});
|
259
|
+
return ret;
|
260
|
+
},
|
261
|
+
getNodeParent : function(rc) {
|
262
|
+
var result = null;
|
263
|
+
this.each(function(){
|
264
|
+
var $t = this;
|
265
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
266
|
+
switch ($t.p.treeGridModel) {
|
267
|
+
case 'nested' :
|
268
|
+
var lftc = $t.p.treeReader.left_field,
|
269
|
+
rgtc = $t.p.treeReader.right_field,
|
270
|
+
levelc = $t.p.treeReader.level_field,
|
271
|
+
lft = parseInt(rc[lftc],10), rgt = parseInt(rc[rgtc],10), level = parseInt(rc[levelc],10);
|
272
|
+
$(this.p.data).each(function(){
|
273
|
+
if(parseInt(this[levelc],10) === level-1 && parseInt(this[lftc],10) < lft && parseInt(this[rgtc],10) > rgt) {
|
274
|
+
result = this;
|
275
|
+
return false;
|
276
|
+
}
|
277
|
+
});
|
278
|
+
break;
|
279
|
+
case 'adjacency' :
|
280
|
+
var parent_id = $t.p.treeReader.parent_id_field,
|
281
|
+
dtid = $t.p.localReader.id;
|
282
|
+
$(this.p.data).each(function(i,val){
|
283
|
+
if(this[dtid] == rc[parent_id] ) {
|
284
|
+
result = this;
|
285
|
+
return false;
|
286
|
+
}
|
287
|
+
});
|
288
|
+
break;
|
289
|
+
}
|
290
|
+
});
|
291
|
+
return result;
|
292
|
+
},
|
293
|
+
getNodeChildren : function(rc) {
|
294
|
+
var result = [];
|
295
|
+
this.each(function(){
|
296
|
+
var $t = this;
|
297
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
298
|
+
switch ($t.p.treeGridModel) {
|
299
|
+
case 'nested' :
|
300
|
+
var lftc = $t.p.treeReader.left_field,
|
301
|
+
rgtc = $t.p.treeReader.right_field,
|
302
|
+
levelc = $t.p.treeReader.level_field,
|
303
|
+
lft = parseInt(rc[lftc],10), rgt = parseInt(rc[rgtc],10), level = parseInt(rc[levelc],10);
|
304
|
+
$(this.p.data).each(function(i){
|
305
|
+
if(parseInt(this[levelc],10) === level+1 && parseInt(this[lftc],10) > lft && parseInt(this[rgtc],10) < rgt) {
|
306
|
+
result.push(this);
|
307
|
+
}
|
308
|
+
});
|
309
|
+
break;
|
310
|
+
case 'adjacency' :
|
311
|
+
var parent_id = $t.p.treeReader.parent_id_field,
|
312
|
+
dtid = $t.p.localReader.id;
|
313
|
+
$(this.p.data).each(function(i,val){
|
314
|
+
if(this[parent_id] == rc[dtid]) {
|
315
|
+
result.push(this);
|
316
|
+
}
|
317
|
+
});
|
318
|
+
break;
|
319
|
+
}
|
320
|
+
});
|
321
|
+
return result;
|
322
|
+
},
|
323
|
+
getFullTreeNode : function(rc) {
|
324
|
+
var result = [];
|
325
|
+
this.each(function(){
|
326
|
+
var $t = this, len;
|
327
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
328
|
+
switch ($t.p.treeGridModel) {
|
329
|
+
case 'nested' :
|
330
|
+
var lftc = $t.p.treeReader.left_field,
|
331
|
+
rgtc = $t.p.treeReader.right_field,
|
332
|
+
levelc = $t.p.treeReader.level_field,
|
333
|
+
lft = parseInt(rc[lftc],10), rgt = parseInt(rc[rgtc],10), level = parseInt(rc[levelc],10);
|
334
|
+
$(this.p.data).each(function(i){
|
335
|
+
if(parseInt(this[levelc],10) >= level && parseInt(this[lftc],10) >= lft && parseInt(this[lftc],10) <= rgt) {
|
336
|
+
result.push(this);
|
337
|
+
}
|
338
|
+
});
|
339
|
+
break;
|
340
|
+
case 'adjacency' :
|
341
|
+
if(rc) {
|
342
|
+
result.push(rc);
|
343
|
+
var parent_id = $t.p.treeReader.parent_id_field,
|
344
|
+
dtid = $t.p.localReader.id;
|
345
|
+
$(this.p.data).each(function(i){
|
346
|
+
len = result.length;
|
347
|
+
for (i = 0; i < len; i++) {
|
348
|
+
if (result[i][dtid] == this[parent_id]) {
|
349
|
+
result.push(this);
|
350
|
+
break;
|
351
|
+
}
|
352
|
+
}
|
353
|
+
});
|
354
|
+
}
|
355
|
+
break;
|
356
|
+
}
|
357
|
+
});
|
358
|
+
return result;
|
359
|
+
},
|
360
|
+
// End NS, adjacency Model
|
361
|
+
getNodeAncestors : function(rc) {
|
362
|
+
var ancestors = [];
|
363
|
+
this.each(function(){
|
364
|
+
if(!this.grid || !this.p.treeGrid) {return;}
|
365
|
+
var parent = $(this).jqGrid("getNodeParent",rc);
|
366
|
+
while (parent) {
|
367
|
+
ancestors.push(parent);
|
368
|
+
parent = $(this).jqGrid("getNodeParent",parent);
|
369
|
+
}
|
370
|
+
});
|
371
|
+
return ancestors;
|
372
|
+
},
|
373
|
+
isVisibleNode : function(rc) {
|
374
|
+
var result = true;
|
375
|
+
this.each(function(){
|
376
|
+
var $t = this;
|
377
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
378
|
+
var ancestors = $($t).jqGrid("getNodeAncestors",rc),
|
379
|
+
expanded = $t.p.treeReader.expanded_field;
|
380
|
+
$(ancestors).each(function(){
|
381
|
+
result = result && this[expanded];
|
382
|
+
if(!result) {return false;}
|
383
|
+
});
|
384
|
+
});
|
385
|
+
return result;
|
386
|
+
},
|
387
|
+
isNodeLoaded : function(rc) {
|
388
|
+
var result;
|
389
|
+
this.each(function(){
|
390
|
+
var $t = this;
|
391
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
392
|
+
var isLeaf = $t.p.treeReader.leaf_field;
|
393
|
+
if(rc !== undefined ) {
|
394
|
+
if(rc.loaded !== undefined) {
|
395
|
+
result = rc.loaded;
|
396
|
+
} else if( rc[isLeaf] || $($t).jqGrid("getNodeChildren",rc).length > 0){
|
397
|
+
result = true;
|
398
|
+
} else {
|
399
|
+
result = false;
|
400
|
+
}
|
401
|
+
} else {
|
402
|
+
result = false;
|
403
|
+
}
|
404
|
+
});
|
405
|
+
return result;
|
406
|
+
},
|
407
|
+
expandNode : function(rc) {
|
408
|
+
return this.each(function(){
|
409
|
+
if(!this.grid || !this.p.treeGrid) {return;}
|
410
|
+
var expanded = this.p.treeReader.expanded_field,
|
411
|
+
parent = this.p.treeReader.parent_id_field,
|
412
|
+
loaded = this.p.treeReader.loaded,
|
413
|
+
level = this.p.treeReader.level_field,
|
414
|
+
lft = this.p.treeReader.left_field,
|
415
|
+
rgt = this.p.treeReader.right_field;
|
416
|
+
|
417
|
+
if(!rc[expanded]) {
|
418
|
+
var id = $.jgrid.getAccessor(rc,this.p.localReader.id);
|
419
|
+
var rc1 = $("#"+id,this.grid.bDiv)[0];
|
420
|
+
var position = this.p._index[id];
|
421
|
+
if( $(this).jqGrid("isNodeLoaded",this.p.data[position]) ) {
|
422
|
+
rc[expanded] = true;
|
423
|
+
$("div.treeclick",rc1).removeClass(this.p.treeIcons.plus+" tree-plus").addClass(this.p.treeIcons.minus+" tree-minus");
|
424
|
+
} else {
|
425
|
+
rc[expanded] = true;
|
426
|
+
$("div.treeclick",rc1).removeClass(this.p.treeIcons.plus+" tree-plus").addClass(this.p.treeIcons.minus+" tree-minus");
|
427
|
+
this.p.treeANode = rc1.rowIndex;
|
428
|
+
this.p.datatype = this.p.treedatatype;
|
429
|
+
if(this.p.treeGridModel == 'nested') {
|
430
|
+
$(this).jqGrid("setGridParam",{postData:{nodeid:id,n_left:rc[lft],n_right:rc[rgt],n_level:rc[level]}});
|
431
|
+
} else {
|
432
|
+
$(this).jqGrid("setGridParam",{postData:{nodeid:id,parentid:rc[parent],n_level:rc[level]}} );
|
433
|
+
}
|
434
|
+
$(this).trigger("reloadGrid");
|
435
|
+
rc[loaded] = true;
|
436
|
+
if(this.p.treeGridModel == 'nested') {
|
437
|
+
$(this).jqGrid("setGridParam",{postData:{nodeid:'',n_left:'',n_right:'',n_level:''}});
|
438
|
+
} else {
|
439
|
+
$(this).jqGrid("setGridParam",{postData:{nodeid:'',parentid:'',n_level:''}});
|
440
|
+
}
|
441
|
+
}
|
442
|
+
}
|
443
|
+
});
|
444
|
+
},
|
445
|
+
collapseNode : function(rc) {
|
446
|
+
return this.each(function(){
|
447
|
+
if(!this.grid || !this.p.treeGrid) {return;}
|
448
|
+
if(rc.expanded) {
|
449
|
+
rc.expanded = false;
|
450
|
+
var id = $.jgrid.getAccessor(rc,this.p.localReader.id);
|
451
|
+
var rc1 = $("#"+id,this.grid.bDiv)[0];
|
452
|
+
$("div.treeclick",rc1).removeClass(this.p.treeIcons.minus+" tree-minus").addClass(this.p.treeIcons.plus+" tree-plus");
|
453
|
+
}
|
454
|
+
});
|
455
|
+
},
|
456
|
+
SortTree : function( sortname, newDir, st, datefmt) {
|
457
|
+
return this.each(function(){
|
458
|
+
if(!this.grid || !this.p.treeGrid) {return;}
|
459
|
+
var i, len,
|
460
|
+
rec, records = [], $t = this, query, roots,
|
461
|
+
rt = $(this).jqGrid("getRootNodes");
|
462
|
+
// Sorting roots
|
463
|
+
query = $.jgrid.from(rt);
|
464
|
+
query.orderBy(sortname,newDir,st, datefmt);
|
465
|
+
roots = query.select();
|
466
|
+
|
467
|
+
// Sorting children
|
468
|
+
for (i = 0, len = roots.length; i < len; i++) {
|
469
|
+
rec = roots[i];
|
470
|
+
records.push(rec);
|
471
|
+
$(this).jqGrid("collectChildrenSortTree",records, rec, sortname, newDir,st, datefmt);
|
472
|
+
}
|
473
|
+
$.each(records, function(index, row) {
|
474
|
+
var id = $.jgrid.getAccessor(this,$t.p.localReader.id);
|
475
|
+
$('#'+$t.p.id+ ' tbody tr:eq('+index+')').after($('tr#'+id,$t.grid.bDiv));
|
476
|
+
});
|
477
|
+
query = null;roots=null;records=null;
|
478
|
+
});
|
479
|
+
},
|
480
|
+
collectChildrenSortTree : function(records, rec, sortname, newDir,st, datefmt) {
|
481
|
+
return this.each(function(){
|
482
|
+
if(!this.grid || !this.p.treeGrid) {return;}
|
483
|
+
var i, len,
|
484
|
+
child, ch, query, children;
|
485
|
+
ch = $(this).jqGrid("getNodeChildren",rec);
|
486
|
+
query = $.jgrid.from(ch);
|
487
|
+
query.orderBy(sortname, newDir, st, datefmt);
|
488
|
+
children = query.select();
|
489
|
+
for (i = 0, len = children.length; i < len; i++) {
|
490
|
+
child = children[i];
|
491
|
+
records.push(child);
|
492
|
+
$(this).jqGrid("collectChildrenSortTree",records, child, sortname, newDir, st, datefmt);
|
493
|
+
}
|
494
|
+
});
|
495
|
+
},
|
496
|
+
// experimental
|
497
|
+
setTreeRow : function(rowid, data) {
|
498
|
+
var success=false;
|
499
|
+
this.each(function(){
|
500
|
+
var t = this;
|
501
|
+
if(!t.grid || !t.p.treeGrid) {return;}
|
502
|
+
success = $(t).jqGrid("setRowData",rowid,data);
|
503
|
+
});
|
504
|
+
return success;
|
505
|
+
},
|
506
|
+
delTreeNode : function (rowid) {
|
507
|
+
return this.each(function () {
|
508
|
+
var $t = this, rid = $t.p.localReader.id,
|
509
|
+
left = $t.p.treeReader.left_field,
|
510
|
+
right = $t.p.treeReader.right_field, myright, width, res, key;
|
511
|
+
if(!$t.grid || !$t.p.treeGrid) {return;}
|
512
|
+
var rc = $t.p._index[rowid];
|
513
|
+
if (rc !== undefined) {
|
514
|
+
// nested
|
515
|
+
myright = parseInt($t.p.data[rc][right],10);
|
516
|
+
width = myright - parseInt($t.p.data[rc][left],10) + 1;
|
517
|
+
var dr = $($t).jqGrid("getFullTreeNode",$t.p.data[rc]);
|
518
|
+
if(dr.length>0){
|
519
|
+
for (var i=0;i<dr.length;i++){
|
520
|
+
$($t).jqGrid("delRowData",dr[i][rid]);
|
521
|
+
}
|
522
|
+
}
|
523
|
+
if( $t.p.treeGridModel === "nested") {
|
524
|
+
// ToDo - update grid data
|
525
|
+
res = $.jgrid.from($t.p.data)
|
526
|
+
.greater(left,myright,{stype:'integer'})
|
527
|
+
.select();
|
528
|
+
if(res.length) {
|
529
|
+
for( key in res) {
|
530
|
+
res[key][left] = parseInt(res[key][left],10) - width ;
|
531
|
+
}
|
532
|
+
}
|
533
|
+
res = $.jgrid.from($t.p.data)
|
534
|
+
.greater(right,myright,{stype:'integer'})
|
535
|
+
.select();
|
536
|
+
if(res.length) {
|
537
|
+
for( key in res) {
|
538
|
+
res[key][right] = parseInt(res[key][right],10) - width ;
|
539
|
+
}
|
540
|
+
}
|
541
|
+
}
|
542
|
+
}
|
543
|
+
});
|
544
|
+
},
|
545
|
+
addChildNode : function( nodeid, parentid, data ) {
|
546
|
+
//return this.each(function(){
|
547
|
+
var $t = this[0];
|
548
|
+
if(data) {
|
549
|
+
// we suppose tha the id is autoincremet and
|
550
|
+
var expanded = $t.p.treeReader.expanded_field,
|
551
|
+
isLeaf = $t.p.treeReader.leaf_field,
|
552
|
+
level = $t.p.treeReader.level_field,
|
553
|
+
icon = $t.p.treeReader.icon_field,
|
554
|
+
parent = $t.p.treeReader.parent_id_field,
|
555
|
+
left = $t.p.treeReader.left_field,
|
556
|
+
right = $t.p.treeReader.right_field,
|
557
|
+
loaded = $t.p.treeReader.loaded,
|
558
|
+
method, parentindex, parentdata, parentlevel, i, len, max=0, rowind = parentid, leaf, maxright;
|
559
|
+
|
560
|
+
if ( !nodeid ) {
|
561
|
+
i = $t.p.data.length-1;
|
562
|
+
if( i>= 0 ) {
|
563
|
+
while(i>=0){max = Math.max(max, parseInt($t.p.data[i][$t.p.localReader.id],10)); i--;}
|
564
|
+
}
|
565
|
+
nodeid = max+1;
|
566
|
+
}
|
567
|
+
var prow = $($t).jqGrid('getInd', parentid);
|
568
|
+
leaf = false;
|
569
|
+
// if not a parent we assume root
|
570
|
+
if ( parentid === undefined || parentid === null || parentid==="") {
|
571
|
+
parentid = null;
|
572
|
+
rowind = null;
|
573
|
+
method = 'last';
|
574
|
+
parentlevel = $t.p.tree_root_level;
|
575
|
+
i = $t.p.data.length+1;
|
576
|
+
} else {
|
577
|
+
method = 'after';
|
578
|
+
parentindex = $t.p._index[parentid];
|
579
|
+
parentdata = $t.p.data[parentindex];
|
580
|
+
parentid = parentdata[$t.p.localReader.id];
|
581
|
+
parentlevel = parseInt(parentdata[level],10)+1;
|
582
|
+
var childs = $($t).jqGrid('getFullTreeNode', parentdata);
|
583
|
+
// if there are child nodes get the last index of it
|
584
|
+
if(childs.length) {
|
585
|
+
i = childs[childs.length-1][$t.p.localReader.id];
|
586
|
+
rowind = i;
|
587
|
+
i = $($t).jqGrid('getInd',rowind)+1;
|
588
|
+
} else {
|
589
|
+
i = $($t).jqGrid('getInd', parentid)+1;
|
590
|
+
}
|
591
|
+
// if the node is leaf
|
592
|
+
if(parentdata[isLeaf]) {
|
593
|
+
leaf = true;
|
594
|
+
parentdata[expanded] = true;
|
595
|
+
//var prow = $($t).jqGrid('getInd', parentid);
|
596
|
+
$($t.rows[prow])
|
597
|
+
.find("span.cell-wrapperleaf").removeClass("cell-wrapperleaf").addClass("cell-wrapper")
|
598
|
+
.end()
|
599
|
+
.find("div.tree-leaf").removeClass($t.p.treeIcons.leaf+" tree-leaf").addClass($t.p.treeIcons.minus+" tree-minus");
|
600
|
+
$t.p.data[parentindex][isLeaf] = false;
|
601
|
+
parentdata[loaded] = true;
|
602
|
+
}
|
603
|
+
}
|
604
|
+
len = i+1;
|
605
|
+
|
606
|
+
data[expanded] = false;
|
607
|
+
data[loaded] = true;
|
608
|
+
data[level] = parentlevel;
|
609
|
+
data[isLeaf] = true;
|
610
|
+
if( $t.p.treeGridModel === "adjacency") {
|
611
|
+
data[parent] = parentid;
|
612
|
+
}
|
613
|
+
if( $t.p.treeGridModel === "nested") {
|
614
|
+
// this method requiere more attention
|
615
|
+
var query, res, key;
|
616
|
+
//maxright = parseInt(maxright,10);
|
617
|
+
// ToDo - update grid data
|
618
|
+
if(parentid !== null) {
|
619
|
+
maxright = parseInt(parentdata[right],10);
|
620
|
+
query = $.jgrid.from($t.p.data);
|
621
|
+
query = query.greaterOrEquals(right,maxright,{stype:'integer'});
|
622
|
+
res = query.select();
|
623
|
+
if(res.length) {
|
624
|
+
for( key in res) {
|
625
|
+
res[key][left] = res[key][left] > maxright ? parseInt(res[key][left],10) +2 : res[key][left];
|
626
|
+
res[key][right] = res[key][right] >= maxright ? parseInt(res[key][right],10) +2 : res[key][right];
|
627
|
+
}
|
628
|
+
}
|
629
|
+
data[left] = maxright;
|
630
|
+
data[right]= maxright+1;
|
631
|
+
} else {
|
632
|
+
maxright = parseInt( $($t).jqGrid('getCol', right, false, 'max'), 10);
|
633
|
+
res = $.jgrid.from($t.p.data)
|
634
|
+
.greater(left,maxright,{stype:'integer'})
|
635
|
+
.select();
|
636
|
+
if(res.length) {
|
637
|
+
for( key in res) {
|
638
|
+
res[key][left] = parseInt(res[key][left],10) +2 ;
|
639
|
+
}
|
640
|
+
}
|
641
|
+
res = $.jgrid.from($t.p.data)
|
642
|
+
.greater(right,maxright,{stype:'integer'})
|
643
|
+
.select();
|
644
|
+
if(res.length) {
|
645
|
+
for( key in res) {
|
646
|
+
res[key][right] = parseInt(res[key][right],10) +2 ;
|
647
|
+
}
|
648
|
+
}
|
649
|
+
data[left] = maxright+1;
|
650
|
+
data[right] = maxright + 2;
|
651
|
+
}
|
652
|
+
}
|
653
|
+
if( parentid === null || $($t).jqGrid("isNodeLoaded",parentdata) || leaf ) {
|
654
|
+
$($t).jqGrid('addRowData', nodeid, data, method, rowind);
|
655
|
+
$($t).jqGrid('setTreeNode', i, len);
|
656
|
+
}
|
657
|
+
if(parentdata && !parentdata[expanded]) {
|
658
|
+
$($t.rows[prow])
|
659
|
+
.find("div.treeclick")
|
660
|
+
.click();
|
661
|
+
}
|
662
|
+
}
|
663
|
+
//});
|
664
|
+
}
|
665
|
+
});
|
666
|
+
})(jQuery);
|