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,437 @@
|
|
1
|
+
require 'rbbt'
|
2
|
+
require 'rbbt/workflow'
|
3
|
+
require 'rbbt/util/log'
|
4
|
+
require 'compass'
|
5
|
+
require 'haml'
|
6
|
+
require 'json'
|
7
|
+
|
8
|
+
require 'sinatra/authorization'
|
9
|
+
|
10
|
+
require 'rbbt/workflow/rest/util.rb'
|
11
|
+
require 'rbbt/workflow/rest/render.rb'
|
12
|
+
require 'rbbt/workflow/rest/auth.rb'
|
13
|
+
|
14
|
+
module WorkflowREST
|
15
|
+
extend Resource
|
16
|
+
|
17
|
+
class << self
|
18
|
+
attr_accessor :workflows
|
19
|
+
self
|
20
|
+
end
|
21
|
+
self.workflows = []
|
22
|
+
|
23
|
+
def self.setup
|
24
|
+
configure do
|
25
|
+
Compass.add_project_configuration(WorkflowREST.share.views.compass["compass.config"].find.dup.to_s)
|
26
|
+
end
|
27
|
+
|
28
|
+
Sinatra.module_eval do
|
29
|
+
helpers Sinatra::SinatraRbbt
|
30
|
+
enable :sessions
|
31
|
+
|
32
|
+
before do
|
33
|
+
@file_cache = {}
|
34
|
+
@result_cache = {}
|
35
|
+
end
|
36
|
+
|
37
|
+
after do
|
38
|
+
@file_cache.clear
|
39
|
+
@result_cache.clear
|
40
|
+
end
|
41
|
+
|
42
|
+
helpers do
|
43
|
+
def authorization_realm
|
44
|
+
"Workflow Explorer"
|
45
|
+
end
|
46
|
+
|
47
|
+
def authorize(login, password)
|
48
|
+
login == "miki" && password == "miki"
|
49
|
+
end
|
50
|
+
|
51
|
+
def check_user(user)
|
52
|
+
login_required
|
53
|
+
request.env['REMOTE_USER'] == user || throw(:halt, [ 401, 'Authorization Required' ])
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
end
|
58
|
+
|
59
|
+
set :public, Sinatra::SinatraRbbt.locate_file(nil, nil, 'public/').find
|
60
|
+
|
61
|
+
get '/stylesheets/:name.css' do
|
62
|
+
file = locate_file(nil, nil, File.join("compass", params[:name] + '.sass'))
|
63
|
+
css = Persist.persist("Stylesheet:#{file}", :string, :persist => ENV["RACK_ENV"].to_s == 'production', :dir => 'cache') do
|
64
|
+
renderer = Sass::Engine.new(file.read)
|
65
|
+
renderer.render.to_s
|
66
|
+
end
|
67
|
+
content_type 'text/css', :charset => 'utf-8'
|
68
|
+
css
|
69
|
+
end
|
70
|
+
|
71
|
+
get '/js/:name.js' do
|
72
|
+
content_type 'text/css', :charset => 'utf-8'
|
73
|
+
file = locate_file(nil, nil, File.join("js", params[:name] + '.js'))
|
74
|
+
file.read
|
75
|
+
end
|
76
|
+
|
77
|
+
get '/entity/:type/:entity' do
|
78
|
+
type = params[:type]
|
79
|
+
|
80
|
+
entity_render(type, params)
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|
84
|
+
|
85
|
+
def self.add_task(workflow, task_name, type = nil)
|
86
|
+
type ||= :synchronous
|
87
|
+
task_name = task_name.to_s
|
88
|
+
workflow_name = workflow.to_s
|
89
|
+
|
90
|
+
# MOVE!!!!
|
91
|
+
get File.join("/plugins", workflow_name, "*") do
|
92
|
+
file = params[:splat].first
|
93
|
+
send_file Sinatra::SinatraRbbt.locate_file(workflow, nil, 'plugins/' + file)
|
94
|
+
end
|
95
|
+
|
96
|
+
# context info
|
97
|
+
delete File.join("/context", workflow_name, ":task") do
|
98
|
+
task, jobname = params.values_at :task
|
99
|
+
del_context_job(workflow, task)
|
100
|
+
true
|
101
|
+
end
|
102
|
+
|
103
|
+
post File.join("/context", workflow_name, ":task", ":jobname") do
|
104
|
+
task, jobname = params.values_at :task, :jobname
|
105
|
+
add_context_job(workflow, task, jobname)
|
106
|
+
true
|
107
|
+
end
|
108
|
+
|
109
|
+
# task info
|
110
|
+
get File.join("/", workflow_name, task_name, 'info') do
|
111
|
+
|
112
|
+
visualization_parameters = get_visualization_parameters(params)
|
113
|
+
task_info = workflow.task_info(task_name)
|
114
|
+
|
115
|
+
case
|
116
|
+
when visualization_parameters[:_format] == "json"
|
117
|
+
task_info.to_json
|
118
|
+
when visualization_parameters[:_format] == "raw"
|
119
|
+
task_info.collect{|k,v| [k,v] * "\t"} * "\n"
|
120
|
+
when visualization_parameters[:_format] == "html"
|
121
|
+
workflow_render(workflow, task_name, "task_info", workflow.task_info(task_name).merge(visualization_parameters).merge(:task_info => task_info))
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# task jobs
|
126
|
+
get File.join("/", workflow_name, task_name, 'jobs') do
|
127
|
+
visualization_parameters = get_visualization_parameters(params)
|
128
|
+
task_info = workflow.task_info(task_name)
|
129
|
+
|
130
|
+
authorize!
|
131
|
+
|
132
|
+
job_list = workflow.jobs(task_name, user + "/").collect{|jobname| File.basename(jobname)}
|
133
|
+
|
134
|
+
workflow_render(workflow, task_name, "job_list", visualization_parameters.merge(:workflow => workflow, :task_name => task_name, :job_list => job_list))
|
135
|
+
end
|
136
|
+
|
137
|
+
|
138
|
+
# task form or exec
|
139
|
+
get File.join("/", workflow_name, task_name) do
|
140
|
+
|
141
|
+
visualization_parameters = get_visualization_parameters(params)
|
142
|
+
inputs = get_inputs(workflow, task_name, params)
|
143
|
+
|
144
|
+
case
|
145
|
+
# direct exection when job has all paramteres
|
146
|
+
when (type == :exec and has_all_inputs(workflow, task_name, inputs))
|
147
|
+
result = workflow.job(task_name, "EXEC", inputs.dup).exec
|
148
|
+
result = paginate(result, params[:_page]) if params.include? :_page
|
149
|
+
|
150
|
+
workflow_render_result(workflow, task_name, result, visualization_parameters.merge(:inputs => inputs))
|
151
|
+
|
152
|
+
# direct job issuing and redirection when job has all paramteres
|
153
|
+
when has_all_inputs(workflow, task_name, inputs)
|
154
|
+
params[:jobname] = "WWW" unless params.include? :jobname or params.include? "jobname"
|
155
|
+
|
156
|
+
jobname = get_jobname(params)
|
157
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
158
|
+
|
159
|
+
job = workflow.job(task_name, real_jobname, inputs.dup)
|
160
|
+
|
161
|
+
if type.to_sym == :synchronous
|
162
|
+
job.run
|
163
|
+
else
|
164
|
+
job.fork
|
165
|
+
end
|
166
|
+
|
167
|
+
redirection = to(File.join("/", workflow.to_s, task_name, File.basename(job.path)))
|
168
|
+
|
169
|
+
redirection = add_param(redirection, :_format, visualization_parameters[:_format]) if visualization_parameters[:_format] != "html"
|
170
|
+
redirection = add_param(redirection, :_page, visualization_parameters[:_page]) if visualization_parameters[:_page] != nil
|
171
|
+
redirection = add_param(redirection, :_size, visualization_parameters[:_size]) if visualization_parameters[:_size] != nil
|
172
|
+
redirection = add_param(redirection, :_layout, visualization_parameters[:_layout]) unless visualization_parameters[:_layout]
|
173
|
+
|
174
|
+
redirect redirection
|
175
|
+
else
|
176
|
+
workflow_render(workflow, task_name, "form", workflow.task_info(task_name).merge(visualization_parameters))
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# job for task form post
|
181
|
+
post File.join("/", workflow_name, task_name) do
|
182
|
+
jobname = get_jobname(params)
|
183
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
184
|
+
|
185
|
+
visualization_parameters = get_visualization_parameters(params)
|
186
|
+
inputs = get_inputs(workflow, task_name, params)
|
187
|
+
|
188
|
+
case type.to_sym
|
189
|
+
|
190
|
+
when :exec
|
191
|
+
result = workflow.job(task_name, real_jobname, inputs.dup).exec
|
192
|
+
workflow_render_result(workflow, task_name, result, visualization_parameters.merge(:inputs => inputs))
|
193
|
+
|
194
|
+
when :synchronous, :asynchronous
|
195
|
+
job = workflow.job(task_name, real_jobname, inputs)
|
196
|
+
|
197
|
+
if type.to_sym == :synchronous
|
198
|
+
job.run
|
199
|
+
else
|
200
|
+
job.fork
|
201
|
+
end
|
202
|
+
|
203
|
+
return job.name if visualization_parameters[:_format] == "json"
|
204
|
+
|
205
|
+
redirection = to(File.join("/", workflow.to_s, task_name, job.name.sub(/.*\//,'')))
|
206
|
+
|
207
|
+
redirection = add_param(redirection, :_format, visualization_parameters[:_format]) if visualization_parameters[:_format] != "html"
|
208
|
+
redirection = add_param(redirection, :_page, visualization_parameters[:_page]) if visualization_parameters[:_page] != nil
|
209
|
+
redirection = add_param(redirection, :_size, visualization_parameters[:_size]) if visualization_parameters[:_size] != nil
|
210
|
+
redirection = add_param(redirection, :_layout, visualization_parameters[:_layout]) unless visualization_parameters[:_layout]
|
211
|
+
|
212
|
+
redirect redirection
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
# job results
|
217
|
+
get File.join("/", workflow.to_s, task_name, ":jobname") do
|
218
|
+
jobname = get_jobname(params)
|
219
|
+
|
220
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
221
|
+
|
222
|
+
visualization_parameters = get_visualization_parameters(params)
|
223
|
+
inputs = get_inputs(workflow, task_name, params)
|
224
|
+
|
225
|
+
session[:jobname] = jobname
|
226
|
+
|
227
|
+
step = workflow.load_id(File.join(task_name, real_jobname))
|
228
|
+
|
229
|
+
case
|
230
|
+
|
231
|
+
# ERROR
|
232
|
+
when step.error?
|
233
|
+
|
234
|
+
if visualization_parameters[:_format] == "html"
|
235
|
+
content_type "text/html"
|
236
|
+
status 500
|
237
|
+
return workflow_render(workflow, task_name, "error", workflow.task_info(task_name).merge(visualization_parameters).merge(:jobname => jobname, :step => step, :inputs => step.info[:inputs]))
|
238
|
+
else
|
239
|
+
status 500
|
240
|
+
content_type "text/plain"
|
241
|
+
step.messages.last
|
242
|
+
end
|
243
|
+
|
244
|
+
# NOT DONE
|
245
|
+
when (not step.done?)
|
246
|
+
|
247
|
+
if visualization_parameters[:_format] == "html"
|
248
|
+
content_type "text/html"
|
249
|
+
status 202
|
250
|
+
@rbbt_refresh = 30 unless step.error?
|
251
|
+
return workflow_render(workflow, task_name, "wait", workflow.task_info(task_name).merge(visualization_parameters).merge(:jobname => jobname, :step => step, :inputs => step.info[:inputs]))
|
252
|
+
else
|
253
|
+
status 202
|
254
|
+
step.status
|
255
|
+
end
|
256
|
+
|
257
|
+
# DONE
|
258
|
+
else
|
259
|
+
|
260
|
+
case
|
261
|
+
when visualization_parameters[:_format] == "html"
|
262
|
+
result = step.load
|
263
|
+
workflow_render_result(workflow, task_name, result, workflow.task_info(task_name).merge(visualization_parameters).merge(:jobname => jobname, :step => step, :inputs => step.info[:inputs], :result => result))
|
264
|
+
|
265
|
+
when visualization_parameters[:_format] == "json"
|
266
|
+
content_type "application/json"
|
267
|
+
result = step.load
|
268
|
+
result = paginate(result, visualization_parameters[:_page]) if visualization_parameters.include? "_page"
|
269
|
+
result.to_json
|
270
|
+
|
271
|
+
else
|
272
|
+
content_type "text/plain"
|
273
|
+
result = step.load
|
274
|
+
result = paginate(result, visualization_parameters[:_page]) if visualization_parameters.include? "_page"
|
275
|
+
result.to_s
|
276
|
+
end
|
277
|
+
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# job info
|
282
|
+
get File.join("/", workflow.to_s, task_name, ":jobname", 'info') do
|
283
|
+
jobname = get_jobname(params)
|
284
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
285
|
+
|
286
|
+
visualization_parameters = get_visualization_parameters(params)
|
287
|
+
|
288
|
+
step = workflow.load_id(File.join(task_name, real_jobname))
|
289
|
+
|
290
|
+
info = step.info
|
291
|
+
|
292
|
+
case
|
293
|
+
when visualization_parameters[:_format] == "json"
|
294
|
+
content_type "application/json"
|
295
|
+
info.to_json
|
296
|
+
when visualization_parameters[:_format] == "raw"
|
297
|
+
info.collect{|k,v| [k,v] * "\t"} * "\n"
|
298
|
+
when visualization_parameters[:_format] == "html"
|
299
|
+
workflow_render(workflow, task_name, "info", visualization_parameters.merge(:info => info))
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
# job dependencies
|
304
|
+
get File.join("/", workflow.to_s, task_name, ":jobname", 'dependencies') do
|
305
|
+
jobname = get_jobname(params)
|
306
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
307
|
+
|
308
|
+
visualization_parameters = get_visualization_parameters(params)
|
309
|
+
|
310
|
+
step = workflow.load_id(File.join(task_name, real_jobname))
|
311
|
+
|
312
|
+
dependencies = step.info[:dependencies]
|
313
|
+
|
314
|
+
case
|
315
|
+
when visualization_parameters[:_format] == "json"
|
316
|
+
content_type "application/json"
|
317
|
+
depencencies.to_json
|
318
|
+
when visualization_parameters[:_format] == "raw"
|
319
|
+
dependencies.collect{|task, job| [task, job] * "\t"} * "\n"
|
320
|
+
when visualization_parameters[:_format] == "html"
|
321
|
+
workflow_render(workflow, task_name, "dependencies", visualization_parameters.merge(:dependencies => dependencies, :workflow => workflow, :task_name => task_name, :jobname => jobname))
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
# job files
|
326
|
+
get File.join("/", workflow.to_s, task_name, ":jobname", 'files') do
|
327
|
+
jobname = get_jobname(params)
|
328
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
329
|
+
|
330
|
+
visualization_parameters = get_visualization_parameters(params)
|
331
|
+
|
332
|
+
step = workflow.load_id(File.join(task_name, real_jobname))
|
333
|
+
|
334
|
+
files = step.files
|
335
|
+
|
336
|
+
case
|
337
|
+
when visualization_parameters[:_format] == "json"
|
338
|
+
content_type "application/json"
|
339
|
+
files.to_json
|
340
|
+
when visualization_parameters[:_format] == "raw"
|
341
|
+
files * "\n"
|
342
|
+
when visualization_parameters[:_format] == "html"
|
343
|
+
workflow_render(workflow, task_name, "files", visualization_parameters.merge(:files => files, :workflow => workflow, :task_name => task_name, :jobname => jobname))
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# job file
|
348
|
+
get File.join("/", workflow.to_s, task_name, ":jobname", 'file', '*') do
|
349
|
+
jobname = get_jobname(params)
|
350
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
351
|
+
|
352
|
+
visualization_parameters = get_visualization_parameters(params)
|
353
|
+
|
354
|
+
step = workflow.load_id(File.join(task_name, real_jobname))
|
355
|
+
|
356
|
+
filename = params[:splat].first
|
357
|
+
filepath = step.file(filename)
|
358
|
+
|
359
|
+
file = step.load_file(filename)
|
360
|
+
|
361
|
+
case
|
362
|
+
when visualization_parameters[:_format] == "json"
|
363
|
+
content_type "application/json"
|
364
|
+
file.to_json
|
365
|
+
else
|
366
|
+
begin
|
367
|
+
content_type `file --mime -b #{filepath}`
|
368
|
+
rescue
|
369
|
+
if filepath =~ /.xlsx?/
|
370
|
+
content_type "application/vnd.ms-excel"
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
case
|
375
|
+
when Array === file
|
376
|
+
file * "\n"
|
377
|
+
when TSV === file
|
378
|
+
file.to_s
|
379
|
+
when Hash === file
|
380
|
+
file.collect{|*p| p * "\t"} * "\n"
|
381
|
+
else
|
382
|
+
file.to_s
|
383
|
+
end
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
# delete job
|
388
|
+
delete File.join("/", workflow.to_s, task_name, ":jobname") do
|
389
|
+
jobname = get_jobname(params)
|
390
|
+
real_jobname = authorized? ? File.join(user, jobname) : jobname
|
391
|
+
|
392
|
+
visualization_parameters = get_visualization_parameters(params)
|
393
|
+
step = workflow.load_id(File.join(task_name, real_jobname))
|
394
|
+
|
395
|
+
step.clean
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
|
400
|
+
def self.add_workflows(*workflows)
|
401
|
+
self.workflows.concat workflows
|
402
|
+
self.workflows.uniq!
|
403
|
+
get '/' do
|
404
|
+
visualization_parameters = get_visualization_parameters(params)
|
405
|
+
workflow_render(nil, nil, "workflow_list", visualization_parameters.merge(:workflows => WorkflowREST.workflows))
|
406
|
+
end
|
407
|
+
|
408
|
+
|
409
|
+
WorkflowREST.workflows.each do |workflow|
|
410
|
+
get File.join('/', workflow.to_s) do
|
411
|
+
visualization_parameters = get_visualization_parameters(params)
|
412
|
+
|
413
|
+
tasks = workflow.exec_exports + workflow.synchronous_exports + workflow.asynchronous_exports
|
414
|
+
if visualization_parameters[:_format] and visualization_parameters[:_format].to_sym == :json
|
415
|
+
tasks.to_json
|
416
|
+
else
|
417
|
+
workflow_render(workflow, nil, "task_list", visualization_parameters.merge(:workflow => workflow, :tasks => tasks))
|
418
|
+
end
|
419
|
+
end
|
420
|
+
|
421
|
+
workflow.asynchronous_exports.each do |name|
|
422
|
+
WorkflowREST.add_task workflow, name, :asynchronous
|
423
|
+
end
|
424
|
+
|
425
|
+
workflow.synchronous_exports.each do |name|
|
426
|
+
WorkflowREST.add_task workflow, name, :synchronous
|
427
|
+
end
|
428
|
+
|
429
|
+
workflow.exec_exports.each do |name|
|
430
|
+
WorkflowREST.add_task workflow, name, :exec
|
431
|
+
end
|
432
|
+
|
433
|
+
end
|
434
|
+
|
435
|
+
end
|
436
|
+
|
437
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$blueprint_grid_columns: 16
|
2
|
+
$blueprint_grid_width: 40px
|
3
|
+
$blueprint_grid_margin: 10px
|
4
|
+
|
5
|
+
$font_color: #333
|
6
|
+
$blueprint-font-size: 14px
|
7
|
+
|
8
|
+
@import compass/reset
|
9
|
+
@import compass/utilities
|
10
|
+
@import blueprint
|
11
|
+
@import "blueprint/buttons"
|
12
|
+
@import "compass/css3/inline-block"
|
13
|
+
@import "blueprint/form"
|
14
|
+
@import "blueprint/grid"
|
15
|
+
@import "blueprint/typography"
|
16
|
+
@import "compass/utilities/general/clearfix"
|
17
|
+
@import "compass/css3/border-radius"
|
18
|
+
|
19
|
+
+blueprint-typography
|
@@ -0,0 +1,103 @@
|
|
1
|
+
@import "main"
|
2
|
+
@import "form"
|
3
|
+
|
4
|
+
body
|
5
|
+
margin: 10px
|
6
|
+
font-size: 12px
|
7
|
+
width: auto
|
8
|
+
|
9
|
+
span.short_task_description
|
10
|
+
display: block
|
11
|
+
color: gray
|
12
|
+
|
13
|
+
.embedded
|
14
|
+
margin: 0
|
15
|
+
padding: 0
|
16
|
+
&.reloading
|
17
|
+
span.status
|
18
|
+
font-size: 2em
|
19
|
+
color: gray
|
20
|
+
|
21
|
+
#header
|
22
|
+
background-color: #F2F2F2
|
23
|
+
h1
|
24
|
+
font-size: 15px
|
25
|
+
a
|
26
|
+
text-decoration: none
|
27
|
+
color: blue
|
28
|
+
span.login
|
29
|
+
float: right
|
30
|
+
|
31
|
+
#menu
|
32
|
+
font-size: 0.9em
|
33
|
+
overflow: auto
|
34
|
+
overflow-x: hidden
|
35
|
+
+column(5)
|
36
|
+
ul
|
37
|
+
+clean_list
|
38
|
+
li
|
39
|
+
display: block
|
40
|
+
|
41
|
+
.workflow_menu
|
42
|
+
margin-bottom: 20px
|
43
|
+
|
44
|
+
ul.context_control
|
45
|
+
+clean_list(true)
|
46
|
+
height: 2em
|
47
|
+
li
|
48
|
+
float: left
|
49
|
+
padding: 3px
|
50
|
+
margin-left: 5px
|
51
|
+
|
52
|
+
|
53
|
+
ul.job_control
|
54
|
+
+clean_list(true)
|
55
|
+
height: 2em
|
56
|
+
li
|
57
|
+
float: right
|
58
|
+
padding: 3px
|
59
|
+
margin-right: 15px
|
60
|
+
|
61
|
+
#content
|
62
|
+
+column(19)
|
63
|
+
#main
|
64
|
+
width: auto
|
65
|
+
padding: 10px
|
66
|
+
&.contracted
|
67
|
+
+border_radius(4px, 4px)
|
68
|
+
overflow: auto
|
69
|
+
border: solid 1px gray
|
70
|
+
#details_controls
|
71
|
+
ul
|
72
|
+
+clean_list
|
73
|
+
li
|
74
|
+
margin: 0px
|
75
|
+
padding: 0px
|
76
|
+
a
|
77
|
+
+subtle_link(gray)
|
78
|
+
#details
|
79
|
+
+border_radius(4px, 4px)
|
80
|
+
padding: 10px
|
81
|
+
height: 200px
|
82
|
+
border: solid 1px gray
|
83
|
+
background-color: #F2F2F2
|
84
|
+
overflow: auto
|
85
|
+
&.expanded
|
86
|
+
height: auto
|
87
|
+
overflow: none
|
88
|
+
|
89
|
+
#other_task_jobs
|
90
|
+
+column(5)
|
91
|
+
float: right
|
92
|
+
|
93
|
+
#footer
|
94
|
+
margin-top: 20px
|
95
|
+
color: orange
|
96
|
+
|
97
|
+
span.input_name
|
98
|
+
font-weight: bold
|
99
|
+
|
100
|
+
table tfoot
|
101
|
+
input
|
102
|
+
&.pnum, &.psize
|
103
|
+
width: 3em
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'rbbt/workflow/rest'
|
2
|
+
|
3
|
+
if defined?(Sinatra)
|
4
|
+
# This is the configuration to use when running within sinatra
|
5
|
+
project_path = Sinatra::Application.root
|
6
|
+
environment = :development
|
7
|
+
else
|
8
|
+
# this is the configuration to use when running within the compass command line tool.
|
9
|
+
css_dir = File.join 'public', 'stylesheets'
|
10
|
+
relative_assets = true
|
11
|
+
environment = :production
|
12
|
+
end
|
13
|
+
|
14
|
+
Sass::Engine::DEFAULT_OPTIONS[:load_paths].tap do |load_paths|
|
15
|
+
load_paths << WorkflowREST.views.compass.find(:lib, Sinatra::Application.root).to_s
|
16
|
+
Workflow.workflows.each do |workflow|
|
17
|
+
load_paths << WorkflowREST.www.views.compass.find(:lib, workflow.libdir).to_s
|
18
|
+
end
|
19
|
+
load_paths << WorkflowREST.share.views.compass.find(:lib).to_s
|
20
|
+
|
21
|
+
load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
|
22
|
+
load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/blueprint/stylesheets"
|
23
|
+
end
|
24
|
+
|
25
|
+
# This is common configuration
|
26
|
+
sass_dir = WorkflowREST.share.views.compass.find(:lib, Sinatra::Application.root).to_s
|
27
|
+
cache_dir = WorkflowREST.var.cache.sass.find
|
28
|
+
images_dir = File.join 'public', 'images'
|
29
|
+
http_path = "/"
|
30
|
+
http_images_path = "/images"
|
31
|
+
http_stylesheets_path = "/stylesheets"
|
32
|
+
|
33
|
+
# vim: ft=ruby
|
@@ -0,0 +1,23 @@
|
|
1
|
+
span.form_title
|
2
|
+
display: block
|
3
|
+
font-size: 2em
|
4
|
+
margin-bottom: 10px
|
5
|
+
span.workflow_name
|
6
|
+
font-style: italic
|
7
|
+
|
8
|
+
span.task_description
|
9
|
+
display: block
|
10
|
+
font-size: 1.5em
|
11
|
+
margin-bottom: 25px
|
12
|
+
border-bottom: solid 1px
|
13
|
+
|
14
|
+
form.task
|
15
|
+
|
16
|
+
label
|
17
|
+
display: block
|
18
|
+
&.radio_option
|
19
|
+
display: inline
|
20
|
+
textarea
|
21
|
+
width: 450px
|
22
|
+
height: 400px
|
23
|
+
|
File without changes
|