rbbt-rest 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +20 -0
- data/Rakefile +55 -0
- data/config.ru +99 -0
- data/lib/rbbt/rest/client.rb +298 -0
- data/lib/rbbt/rest/common/cache.rb +115 -0
- data/lib/rbbt/rest/common/forms.rb +97 -0
- data/lib/rbbt/rest/common/locate.rb +75 -0
- data/lib/rbbt/rest/common/misc.rb +164 -0
- data/lib/rbbt/rest/common/render.rb +150 -0
- data/lib/rbbt/rest/common/resources.rb +80 -0
- data/lib/rbbt/rest/common/table.rb +169 -0
- data/lib/rbbt/rest/common/users.rb +68 -0
- data/lib/rbbt/rest/entity.rb +362 -0
- data/lib/rbbt/rest/entity/action_card.rb +22 -0
- data/lib/rbbt/rest/entity/action_controller.rb +38 -0
- data/lib/rbbt/rest/entity/entity_card.rb +26 -0
- data/lib/rbbt/rest/entity/entity_list_card.rb +26 -0
- data/lib/rbbt/rest/entity/favourites.rb +97 -0
- data/lib/rbbt/rest/entity/finder.rb +30 -0
- data/lib/rbbt/rest/entity/helpers.rb +130 -0
- data/lib/rbbt/rest/entity/list.rb +92 -0
- data/lib/rbbt/rest/entity/list_container.rb +22 -0
- data/lib/rbbt/rest/entity/locate.rb +281 -0
- data/lib/rbbt/rest/entity/render.rb +76 -0
- data/lib/rbbt/rest/entity/rest.rb +181 -0
- data/lib/rbbt/rest/file_server.rb +64 -0
- data/lib/rbbt/rest/helpers.rb +44 -0
- data/lib/rbbt/rest/main.rb +100 -0
- data/lib/rbbt/rest/workflow.rb +198 -0
- data/lib/rbbt/rest/workflow/jobs.rb +154 -0
- data/lib/rbbt/rest/workflow/locate.rb +41 -0
- data/lib/rbbt/rest/workflow/render.rb +33 -0
- data/share/views/compass/_foundation_setup.sass +79 -0
- data/share/views/compass/actions.sass +43 -0
- data/share/views/compass/app.sass +39 -0
- data/share/views/compass/colors.sass +224 -0
- data/share/views/compass/dom.sass +42 -0
- data/share/views/compass/entity_card.sass +100 -0
- data/share/views/compass/favourites.sass +33 -0
- data/share/views/compass/footer.sass +4 -0
- data/share/views/compass/form.sass +28 -0
- data/share/views/compass/fragment.sass +8 -0
- data/share/views/compass/list_container.sass +32 -0
- data/share/views/compass/lists.sass +33 -0
- data/share/views/compass/offcanvas.sass +66 -0
- data/share/views/compass/style.sass +100 -0
- data/share/views/compass/style_mixins.sass +12 -0
- data/share/views/compass/table.sass +44 -0
- data/share/views/compass/tabs.sass +41 -0
- data/share/views/compass/theme.sass +58 -0
- data/share/views/compass/topbar.sass +19 -0
- data/share/views/compass/web-fonts.sass +77 -0
- data/share/views/compass/workflow.sass +33 -0
- data/share/views/entity/Default.haml +20 -0
- data/share/views/entity_list/Default.haml +7 -0
- data/share/views/entity_list/Default/edit.haml +9 -0
- data/share/views/entity_list/Default/new.haml +9 -0
- data/share/views/entity_partials/action_card.haml +38 -0
- data/share/views/entity_partials/action_controller.haml +31 -0
- data/share/views/entity_partials/entity_card.haml +55 -0
- data/share/views/entity_partials/entity_list.haml +8 -0
- data/share/views/entity_partials/entity_list_card.haml +75 -0
- data/share/views/entity_partials/list_container.haml +30 -0
- data/share/views/error.haml +12 -0
- data/share/views/form.haml +11 -0
- data/share/views/job_info.haml +1 -0
- data/share/views/job_result.haml +23 -0
- data/share/views/job_result/annotations.haml +3 -0
- data/share/views/job_result/array.haml +4 -0
- data/share/views/job_result/binary.haml +1 -0
- data/share/views/job_result/boolea.haml +1 -0
- data/share/views/job_result/boolean.haml +1 -0
- data/share/views/job_result/job_control.haml +18 -0
- data/share/views/job_result/string.haml +1 -0
- data/share/views/job_result/tsv.haml +7 -0
- data/share/views/job_result/yaml.haml +1 -0
- data/share/views/layout.haml +89 -0
- data/share/views/layout/favourites.haml +36 -0
- data/share/views/layout/header.haml +40 -0
- data/share/views/main.haml +2 -0
- data/share/views/partials/form.haml +26 -0
- data/share/views/partials/table.haml +93 -0
- data/share/views/public/favicon.gif +0 -0
- data/share/views/public/js/_ajax_replace.js +130 -0
- data/share/views/public/js/_dom_update.js +28 -0
- data/share/views/public/js/_ellipsis.js +62 -0
- data/share/views/public/js/_fix_tablesorter_science.js +25 -0
- data/share/views/public/js/_foundation.js +42 -0
- data/share/views/public/js/_md5.js +379 -0
- data/share/views/public/js/actions.js +102 -0
- data/share/views/public/js/app.js +2 -0
- data/share/views/public/js/base.js +110 -0
- data/share/views/public/js/deffer.js +14 -0
- data/share/views/public/js/entities.js +75 -0
- data/share/views/public/js/favourites.js +210 -0
- data/share/views/public/js/helpers.js +57 -0
- data/share/views/public/js/lists.js +103 -0
- data/share/views/public/js/offcanvas.js +33 -0
- data/share/views/public/js/tables.js +193 -0
- data/share/views/public/js/tabs.js +7 -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.html +53 -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/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/public/plugins/jquery.scrollTo/jquery.scrollTo.js +218 -0
- data/share/views/public/plugins/jquery.tablesorter/addons/pager/jquery.tablesorter.pager.css +25 -0
- data/share/views/public/plugins/jquery.tablesorter/addons/pager/jquery.tablesorter.pager.js +184 -0
- data/share/views/public/plugins/jquery.tablesorter/build.xml +26 -0
- data/share/views/public/plugins/jquery.tablesorter/build/ParseMaster.js +106 -0
- data/share/views/public/plugins/jquery.tablesorter/build/js.jar +0 -0
- data/share/views/public/plugins/jquery.tablesorter/build/jsmin.js +316 -0
- data/share/views/public/plugins/jquery.tablesorter/build/min.js +5 -0
- data/share/views/public/plugins/jquery.tablesorter/build/pack.js +5 -0
- data/share/views/public/plugins/jquery.tablesorter/build/packer.js +316 -0
- data/share/views/public/plugins/jquery.tablesorter/build/writeFile.js +19 -0
- data/share/views/public/plugins/jquery.tablesorter/changelog +41 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/assets/ajax-content.html +43 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/css/jq.css +29 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-ajax.html +119 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-empty-table.html +75 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-extending-defaults.html +109 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-meta-headers.html +108 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-meta-parsers.html +105 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-meta-sort-list.html +107 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-option-debug.html +116 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-option-digits.html +106 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-force.html +107 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-key.html +108 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-list.html +108 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-order.html +108 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-option-text-extraction.html +85 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-options-headers.html +118 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-pager.html +329 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-parsers.html +112 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-trigger-sort.html +113 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-triggers.html +336 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-update-cell.html +118 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/example-widgets.html +383 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/img/external.png +0 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/index.html +576 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/js/docs.js +23 -0
- data/share/views/public/plugins/jquery.tablesorter/docs/js/examples.js +29 -0
- data/share/views/public/plugins/jquery.tablesorter/jquery-latest.js +154 -0
- data/share/views/public/plugins/jquery.tablesorter/jquery.metadata.js +122 -0
- data/share/views/public/plugins/jquery.tablesorter/jquery.tablesorter.js +1037 -0
- data/share/views/public/plugins/jquery.tablesorter/jquery.tablesorter.min.js +4 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/assets/ajax-content.html +28 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/cell.metadata.html +112 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/checkbox.html +117 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/colspan.html +149 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/demo.html +353 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/index.html +22 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/large.html +30 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/lockedOrder.html +355 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/metadata.html +320 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/multiple-headers.html +67 -0
- data/share/views/public/plugins/jquery.tablesorter/tests/pager.html +553 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/blue/asc.gif +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/blue/bg.gif +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/blue/blue.zip +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/blue/desc.gif +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/blue/style.css +39 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/green/asc.png +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/green/bg.png +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/green/desc.png +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/green/green.zip +0 -0
- data/share/views/public/plugins/jquery.tablesorter/themes/green/style.css +39 -0
- data/share/views/public/plugins/jquery/js/jquery-1.8.0.min.js +2 -0
- data/share/views/public/plugins/jquery/js/jquery.cookie.js +47 -0
- data/share/views/public/plugins/jquery/js/jquery.form.js +980 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/demo.html +188 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.eot +0 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.svg +15 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.ttf +0 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.woff +0 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/sass/_settings.scss +28 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/sass/general_foundicons.scss +71 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/sass/general_foundicons_ie7.scss +56 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/stylesheets/general_foundicons.css +216 -0
- data/share/views/public/plugins/zurb-icons/foundation_icons_general/stylesheets/general_foundicons_ie7.css +194 -0
- data/share/views/public/plugins/zurb-responsive-tables/js/responsive-tables.js +66 -0
- data/share/views/public/plugins/zurb-responsive-tables/stylesheets/responsive-tables.css +50 -0
- data/share/views/tasks.haml +8 -0
- data/share/views/wait.haml +6 -0
- metadata +778 -0
@@ -0,0 +1,198 @@
|
|
1
|
+
require 'rbbt'
|
2
|
+
require 'rbbt/workflow'
|
3
|
+
|
4
|
+
require 'rbbt/rest/common/locate'
|
5
|
+
require 'rbbt/rest/common/misc'
|
6
|
+
require 'rbbt/rest/common/render'
|
7
|
+
require 'rbbt/rest/common/forms'
|
8
|
+
require 'rbbt/rest/common/users'
|
9
|
+
|
10
|
+
require 'rbbt/rest/workflow/locate'
|
11
|
+
require 'rbbt/rest/workflow/render'
|
12
|
+
require 'rbbt/rest/workflow/jobs'
|
13
|
+
|
14
|
+
require 'sinatra/base'
|
15
|
+
require 'json'
|
16
|
+
|
17
|
+
module Sinatra
|
18
|
+
module RbbtRESTWorkflow
|
19
|
+
|
20
|
+
def add_workflow_resource(workflow)
|
21
|
+
views_dir = workflow.libdir.www.views.find(:lib)
|
22
|
+
if views_dir.exists?
|
23
|
+
EntityRESTHelpers.entity_resources.unshift views_dir
|
24
|
+
RbbtRESTHelpers.template_resources.unshift views_dir
|
25
|
+
|
26
|
+
add_sass_load_path views_dir.compass if views_dir.compass.exists?
|
27
|
+
|
28
|
+
RbbtRESTHelpers.javascript_resources.unshift views_dir.public.js if views_dir.public.js.exists?
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def add_workflow(workflow, add_resource = false)
|
33
|
+
raise "Provided workflow is not of type Workflow" unless Workflow === workflow or WorkflowRESTClient === workflow
|
34
|
+
|
35
|
+
add_workflow_resource(workflow) if add_resource
|
36
|
+
|
37
|
+
Log.debug("Adding #{ workflow } to REST server")
|
38
|
+
|
39
|
+
load workflow.libdir.lib['sinatra.rb'] if File.exists? workflow.libdir.lib['sinatra.rb']
|
40
|
+
|
41
|
+
get "/#{workflow.to_s}" do
|
42
|
+
case format
|
43
|
+
when :html
|
44
|
+
workflow_render('tasks', workflow)
|
45
|
+
when :json
|
46
|
+
content_type "application/json"
|
47
|
+
{:exec => workflow.exec_exports, :synchronous => workflow.synchronous_exports, :asynchronous => workflow.asynchronous_exports}.to_json
|
48
|
+
else
|
49
|
+
raise "Unsupported format specified: #{ format }"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
get "/#{workflow.to_s}/:task/info" do
|
54
|
+
task = consume_parameter(:task)
|
55
|
+
|
56
|
+
case format
|
57
|
+
when :html
|
58
|
+
workflow_render('task_info', workflow)
|
59
|
+
when :json
|
60
|
+
content_type "application/json"
|
61
|
+
workflow.task_info(task.to_sym).to_json
|
62
|
+
else
|
63
|
+
raise "Unsupported format specified: #{ format }"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
get "/#{workflow.to_s}/:task/dependencies" do
|
68
|
+
task = consume_parameter(:task)
|
69
|
+
|
70
|
+
case format
|
71
|
+
when :html
|
72
|
+
workflow_render('task_dependencies', workflow)
|
73
|
+
when :json
|
74
|
+
content_type "application/json"
|
75
|
+
workflow.task_dependencies[task.to_sym].to_json
|
76
|
+
else
|
77
|
+
raise "Unsupported format specified: #{ format }"
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
|
82
|
+
get "/#{workflow.to_s}/:task" do
|
83
|
+
task = consume_parameter(:task)
|
84
|
+
jobname = consume_parameter(:jobname)
|
85
|
+
|
86
|
+
task_parameters = consume_task_parameters(workflow, task, params)
|
87
|
+
|
88
|
+
if complete_input_set(workflow, task, task_parameters) or format == :json
|
89
|
+
issue_job(workflow, task, jobname, task_parameters)
|
90
|
+
else
|
91
|
+
workflow_render('form', workflow, task, task_parameters)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
post "/#{workflow.to_s}/:task" do
|
96
|
+
task = consume_parameter(:task)
|
97
|
+
jobname = consume_parameter(:jobname)
|
98
|
+
|
99
|
+
task_parameters = consume_task_parameters(workflow, task, params)
|
100
|
+
|
101
|
+
issue_job(workflow, task, jobname, task_parameters)
|
102
|
+
end
|
103
|
+
|
104
|
+
get "/#{workflow.to_s}/:task/:job" do
|
105
|
+
task = consume_parameter(:task)
|
106
|
+
job = consume_parameter(:job)
|
107
|
+
|
108
|
+
job = workflow.load_id(File.join(task, job))
|
109
|
+
|
110
|
+
clean_job(workflow, job) if update == :clean
|
111
|
+
|
112
|
+
begin
|
113
|
+
done = job.done?
|
114
|
+
started = job.info.any?
|
115
|
+
|
116
|
+
if done
|
117
|
+
show_result job, workflow, task
|
118
|
+
else
|
119
|
+
if started
|
120
|
+
case
|
121
|
+
when job.status == :error
|
122
|
+
error_for job
|
123
|
+
when execution_type(workflow, task) == :asynchronous
|
124
|
+
wait_on job
|
125
|
+
else
|
126
|
+
job.join
|
127
|
+
raise RbbtRESTHelpers::Retry
|
128
|
+
end
|
129
|
+
else
|
130
|
+
halt 404, "Job not found"
|
131
|
+
end
|
132
|
+
end
|
133
|
+
rescue RbbtRESTHelpers::Retry
|
134
|
+
retry
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
get "/#{workflow.to_s}/:task/:job/info" do
|
139
|
+
task = consume_parameter(:task)
|
140
|
+
job = consume_parameter(:job)
|
141
|
+
|
142
|
+
job = workflow.load_id(File.join(task, job))
|
143
|
+
|
144
|
+
case format
|
145
|
+
when :html
|
146
|
+
workflow_render('job_info', workflow, task, :info => job.info)
|
147
|
+
when :json
|
148
|
+
content_type "application/json"
|
149
|
+
job.info.to_json
|
150
|
+
else
|
151
|
+
raise "Unsupported format specified: #{ format }"
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
get "/#{workflow.to_s}/:task/:job/files" do
|
156
|
+
task = consume_parameter(:task)
|
157
|
+
job = consume_parameter(:job)
|
158
|
+
|
159
|
+
job = workflow.load_id(File.join(task, job))
|
160
|
+
|
161
|
+
case format
|
162
|
+
when :html
|
163
|
+
workflow_render('job_files', workflow, task, :info => job.info)
|
164
|
+
when :json
|
165
|
+
content_type "application/json"
|
166
|
+
job.files.to_json
|
167
|
+
else
|
168
|
+
raise "Unsupported format specified: #{ format }"
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
get "/#{workflow.to_s}/:task/:job/file/*" do
|
173
|
+
task = consume_parameter(:task)
|
174
|
+
job = consume_parameter(:job)
|
175
|
+
filename = params[:splat].first
|
176
|
+
|
177
|
+
job = workflow.load_id(File.join(task, job))
|
178
|
+
|
179
|
+
send_file job.file(filename)
|
180
|
+
end
|
181
|
+
|
182
|
+
delete "/#{workflow.to_s}/:task/:job" do
|
183
|
+
task = consume_parameter(:task)
|
184
|
+
job = consume_parameter(:job)
|
185
|
+
job = workflow.load_id(File.join(task, job))
|
186
|
+
|
187
|
+
clean_job(workflow, job) if update == :clean
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
def self.registered(base)
|
192
|
+
base.module_eval do
|
193
|
+
helpers WorkflowRESTHelpers
|
194
|
+
end
|
195
|
+
end
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
@@ -0,0 +1,154 @@
|
|
1
|
+
require 'rbbt/workflow'
|
2
|
+
require 'rbbt/rest/common/misc'
|
3
|
+
|
4
|
+
module WorkflowRESTHelpers
|
5
|
+
|
6
|
+
def consume_task_parameters(workflow, task, params = nil)
|
7
|
+
task_inputs = workflow.task_info(task.to_sym)[:inputs]
|
8
|
+
|
9
|
+
task_parameters = {}
|
10
|
+
task_inputs.each do |input|
|
11
|
+
|
12
|
+
input_val = consume_parameter(input, params)
|
13
|
+
task_parameters[input] = input_val unless input_val.nil?
|
14
|
+
|
15
|
+
# Param files
|
16
|
+
input_val = consume_parameter(input.to_s + '__param_file', params)
|
17
|
+
task_parameters[input.to_s + '__param_file'] = input_val unless input_val.nil?
|
18
|
+
end
|
19
|
+
|
20
|
+
task_parameters
|
21
|
+
end
|
22
|
+
|
23
|
+
def complete_input_set(workflow, task, inputs)
|
24
|
+
inputs.keys.sort === workflow.task_info(task.to_sym)[:inputs].sort
|
25
|
+
end
|
26
|
+
|
27
|
+
def type_of_export(workflow, task)
|
28
|
+
task = task.to_sym
|
29
|
+
case
|
30
|
+
when workflow.exec_exports.include?(task)
|
31
|
+
:exec
|
32
|
+
when workflow.synchronous_exports.include?(task)
|
33
|
+
:synchronous
|
34
|
+
when workflow.asynchronous_exports.include?(task)
|
35
|
+
:asynchronous
|
36
|
+
else
|
37
|
+
raise "No known export type for #{ workflow } #{ task }"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def execution_type(workflow, task)
|
42
|
+
export = type_of_export(workflow, task)
|
43
|
+
return export if export == :exec or cache_type.nil?
|
44
|
+
return cache_type if cache_type
|
45
|
+
end
|
46
|
+
|
47
|
+
def prepare_job_inputs(workflow, task, params)
|
48
|
+
inputs = workflow.task_info(task)[:inputs]
|
49
|
+
input_types = workflow.task_info(task)[:input_types]
|
50
|
+
|
51
|
+
task_inputs = {}
|
52
|
+
inputs.each do |input|
|
53
|
+
value = consume_parameter(input, params)
|
54
|
+
param_file = consume_parameter(input.to_s + '__param_file', params)
|
55
|
+
next if value.nil? and param_file.nil?
|
56
|
+
type = input_types[input]
|
57
|
+
|
58
|
+
fixed_value = fix_input(type, value, param_file)
|
59
|
+
task_inputs[input] = fixed_value
|
60
|
+
end
|
61
|
+
|
62
|
+
task_inputs
|
63
|
+
end
|
64
|
+
|
65
|
+
def show_result_html(result, workflow, task, jobname = nil, job = nil)
|
66
|
+
result_type = workflow.task_info(task)[:result_type]
|
67
|
+
result_description = workflow.task_info(task)[:result_description]
|
68
|
+
workflow_render('job_result', workflow, task, :result => result, :type => result_type, :description => result_description, :jobname => jobname, :job => job)
|
69
|
+
end
|
70
|
+
|
71
|
+
def show_exec_result(result, workflow, task)
|
72
|
+
case format
|
73
|
+
when :html
|
74
|
+
show_result_html result, workflow, task, nil
|
75
|
+
when :json
|
76
|
+
content_type "application/json"
|
77
|
+
halt 200, result.to_json
|
78
|
+
when :tsv
|
79
|
+
content_type "text/tab-separated-values"
|
80
|
+
halt 200, result.to_s
|
81
|
+
when :literal, :raw
|
82
|
+
content_type "text/plain"
|
83
|
+
halt 200, result.to_s
|
84
|
+
when :binary
|
85
|
+
content_type "application/octet-stream"
|
86
|
+
halt 200, result.to_s
|
87
|
+
else
|
88
|
+
raise "Unsupported format: #{ format }"
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
def show_result(job, workflow, task)
|
93
|
+
case format
|
94
|
+
when :html
|
95
|
+
show_result_html job.load, workflow, task, job.name, job
|
96
|
+
when :json
|
97
|
+
content_type "application/json"
|
98
|
+
halt 200, job.load.to_json
|
99
|
+
when :tsv
|
100
|
+
content_type "text/tab-separated-values"
|
101
|
+
job.path ? send_file(job.path) : halt(200, job.load.to_s)
|
102
|
+
when :literal, :raw
|
103
|
+
content_type "text/plain"
|
104
|
+
job.path ? send_file(job.path) : halt(200, job.load.to_s)
|
105
|
+
when :binary
|
106
|
+
content_type "application/octet-stream"
|
107
|
+
job.path ? send_file(job.path) : halt(200, job.load.to_s)
|
108
|
+
when :excel
|
109
|
+
require 'rbbt/tsv/excel'
|
110
|
+
data = nil
|
111
|
+
excel_file = TmpFile.tmp_file
|
112
|
+
result = job.load
|
113
|
+
result.excel(excel_file, :name => @excel_use_name,:sort_by => @excel_sort_by, :sort_by_cast => @excel_sort_by_cast)
|
114
|
+
send_file excel_file, :type => 'application/vnd.ms-excel', :filename => job.clean_name + '.xls'
|
115
|
+
else
|
116
|
+
raise "Unsupported format: #{ format }"
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
def issue_job(workflow, task, jobname = nil, params = {})
|
121
|
+
inputs = prepare_job_inputs(workflow, task, params)
|
122
|
+
job = workflow.job(task, jobname, inputs)
|
123
|
+
|
124
|
+
execution_type = execution_type(workflow, task)
|
125
|
+
case execution_type
|
126
|
+
when :exec
|
127
|
+
show_exec_result job.exec, workflow, task
|
128
|
+
when :synchronous, :sync
|
129
|
+
job.clean if update == :reload
|
130
|
+
job.run
|
131
|
+
job_url = to(File.join("/", workflow.to_s, task, job.name))
|
132
|
+
halt 200, job.name if format === :jobname
|
133
|
+
redirect job_url
|
134
|
+
when :asynchronous, :async, nil
|
135
|
+
job.clean if update == :reload
|
136
|
+
job.fork
|
137
|
+
job_url = to(File.join("/", workflow.to_s, task, job.name))
|
138
|
+
halt 200, job.name if format === :jobname
|
139
|
+
redirect job_url
|
140
|
+
else
|
141
|
+
raise "Unsupported execution_type: #{ execution_type }"
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
def clean_job(workflow, job)
|
146
|
+
job.clean
|
147
|
+
|
148
|
+
if ajax
|
149
|
+
halt 200
|
150
|
+
else
|
151
|
+
redirect to(File.join("/", workflow.to_s, job.task_name.to_s))
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module WorkflowRESTHelpers
|
2
|
+
attr_accessor :workflow_resources
|
3
|
+
|
4
|
+
def self.workflow_resources
|
5
|
+
@workflow_resources ||= [Rbbt.share.views.find(:lib)]
|
6
|
+
end
|
7
|
+
|
8
|
+
def workflow_resources
|
9
|
+
[Rbbt.www.views.find(:lib)] + WorkflowRESTHelpers.workflow_resources
|
10
|
+
end
|
11
|
+
|
12
|
+
def locate_workflow_template_from_resource(resource, template, workflow = nil, task = nil)
|
13
|
+
template += '.haml' unless template =~ /.+\..+/
|
14
|
+
|
15
|
+
paths = []
|
16
|
+
paths << resource[workflow][task][template] if task and workflow
|
17
|
+
paths << resource[workflow][template] if workflow
|
18
|
+
paths << resource[template]
|
19
|
+
|
20
|
+
paths.each do |path|
|
21
|
+
return path.find if path.exists?
|
22
|
+
end
|
23
|
+
|
24
|
+
nil
|
25
|
+
end
|
26
|
+
|
27
|
+
def locate_workflow_template(template, workflow = nil, task = nil)
|
28
|
+
|
29
|
+
if workflow
|
30
|
+
path = locate_workflow_template_from_resource(workflow.libdir.www.views.find, template, workflow, task)
|
31
|
+
return path if path and path.exists?
|
32
|
+
end
|
33
|
+
|
34
|
+
workflow_resources.each do |resource|
|
35
|
+
path = locate_workflow_template_from_resource(resource, template, workflow, task)
|
36
|
+
return path if path and path.exists?
|
37
|
+
end
|
38
|
+
|
39
|
+
raise "Template not found: [#{ template }, #{workflow}, #{ task }]"
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'rbbt/util/open'
|
2
|
+
|
3
|
+
require 'haml'
|
4
|
+
module WorkflowRESTHelpers
|
5
|
+
|
6
|
+
def workflow_render(template, workflow = nil, task = nil, params = {})
|
7
|
+
workflow = consume_parameter(:workflow, params) if workflow.nil?
|
8
|
+
task = consume_parameter(:task, params) if workflow.nil?
|
9
|
+
|
10
|
+
template_file = locate_workflow_template(template, workflow, task)
|
11
|
+
|
12
|
+
locals = params.dup
|
13
|
+
locals[:workflow] = workflow if workflow
|
14
|
+
locals[:task] = task if task
|
15
|
+
|
16
|
+
layout_file = layout ? locate_template("layout") : nil
|
17
|
+
|
18
|
+
render(template_file, locals, layout_file)
|
19
|
+
end
|
20
|
+
|
21
|
+
def workflow_partial(template, workflow = nil, task = nil, params = {})
|
22
|
+
workflow = consume_parameter(:workflow, params) if workflow.nil?
|
23
|
+
task = consume_parameter(:task, params) if workflow.nil?
|
24
|
+
|
25
|
+
template_file = locate_workflow_template(template, workflow, task)
|
26
|
+
|
27
|
+
locals = params.dup
|
28
|
+
locals[:workflow] = workflow if workflow
|
29
|
+
locals[:task] = task if task
|
30
|
+
|
31
|
+
render_partial(template_file, locals)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
// Make sure the charset is set appropriately
|
2
|
+
@charset "UTF-8"
|
3
|
+
|
4
|
+
// This includes all of the foundation global elements that are needed to work with any of the other files.
|
5
|
+
//
|
6
|
+
// RENAME THIS TO _foundation-global.scss ONCE ALL THE OLD VARIABLES ARE OUT OF THE FILE.
|
7
|
+
|
8
|
+
@import "normalize"
|
9
|
+
@import "foundation/_variables"
|
10
|
+
@import "foundation/components/global"
|
11
|
+
@import "colors"
|
12
|
+
$breakpoint: 1050px
|
13
|
+
|
14
|
+
$small-screen: emCalc($breakpoint)
|
15
|
+
$medium-screen: emCalc(1280px)
|
16
|
+
$large-screen: emCalc(1440px)
|
17
|
+
|
18
|
+
$small: "only screen and (min-width:"#{$small-screen}")"
|
19
|
+
$medium: "only screen and (min-width:"#{$medium-screen}")"
|
20
|
+
$large: "only screen and (min-width:"#{$large-screen}")"
|
21
|
+
|
22
|
+
|
23
|
+
$very_small: "only screen and (max-width: #{$small-screen / 2})"
|
24
|
+
$not_small: "only screen and (min-width: #{$small-screen})"
|
25
|
+
$only_small: "only screen and (max-width: #{$small-screen})"
|
26
|
+
|
27
|
+
$topbar-breakpoint: emCalc($breakpoint)
|
28
|
+
$topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")"
|
29
|
+
|
30
|
+
@import "foundation/_variables"
|
31
|
+
@import "normalize"
|
32
|
+
|
33
|
+
$row-width: auto
|
34
|
+
$column-gutter: 30px
|
35
|
+
$total-columns: 12
|
36
|
+
$mobile-total-columns: 4
|
37
|
+
$block-grid-elements: 12
|
38
|
+
|
39
|
+
$indent: 15px
|
40
|
+
$vindent: 22px
|
41
|
+
$white: #EEEEEE
|
42
|
+
|
43
|
+
|
44
|
+
// Foundation Components
|
45
|
+
@import foundation/components/grid
|
46
|
+
@import foundation/components/visibility
|
47
|
+
@import foundation/components/block-grid
|
48
|
+
@import foundation/components/type
|
49
|
+
@import foundation/components/buttons
|
50
|
+
@import foundation/components/forms
|
51
|
+
//@import foundation/components/custom-forms
|
52
|
+
@import foundation/components/button-groups
|
53
|
+
@import foundation/components/dropdown-buttons
|
54
|
+
//@import foundation/components/split-buttons
|
55
|
+
//@import foundation/components/flex-video
|
56
|
+
@import foundation/components/section
|
57
|
+
@import foundation/components/top-bar
|
58
|
+
//@import foundation/components/orbit
|
59
|
+
@import foundation/components/reveal
|
60
|
+
//@import foundation/components/joyride
|
61
|
+
@import foundation/components/clearing
|
62
|
+
//@import foundation/components/alert-boxes
|
63
|
+
//@import foundation/components/breadcrumbs
|
64
|
+
//@import foundation/components/keystrokes
|
65
|
+
//@import foundation/components/labels
|
66
|
+
@import foundation/components/inline-lists
|
67
|
+
@import foundation/components/pagination
|
68
|
+
@import foundation/components/panels
|
69
|
+
//@import foundation/components/pricing-tables
|
70
|
+
//@import foundation/components/progress-bars
|
71
|
+
//@import foundation/components/side-nav
|
72
|
+
//@import foundation/components/sub-nav
|
73
|
+
//@import foundation/components/switch
|
74
|
+
//@import foundation/components/magellan
|
75
|
+
@import foundation/components/tables
|
76
|
+
//@import foundation/components/thumbs
|
77
|
+
//@import foundation/components/tooltips
|
78
|
+
@import foundation/components/dropdown
|
79
|
+
|