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,583 @@
|
|
1
|
+
/*
|
2
|
+
**
|
3
|
+
* formatter for values but most of the values if for jqGrid
|
4
|
+
* Some of this was inspired and based on how YUI does the table datagrid but in jQuery fashion
|
5
|
+
* we are trying to keep it as light as possible
|
6
|
+
* Joshua Burnett josh@9ci.com
|
7
|
+
* http://www.greenbill.com
|
8
|
+
*
|
9
|
+
* Changes from Tony Tomov tony@trirand.com
|
10
|
+
* Dual licensed under the MIT and GPL licenses:
|
11
|
+
* http://www.opensource.org/licenses/mit-license.php
|
12
|
+
* http://www.gnu.org/licenses/gpl-2.0.html
|
13
|
+
*
|
14
|
+
**/
|
15
|
+
|
16
|
+
;(function($) {
|
17
|
+
$.fmatter = {};
|
18
|
+
//opts can be id:row id for the row, rowdata:the data for the row, colmodel:the column model for this column
|
19
|
+
//example {id:1234,}
|
20
|
+
$.extend($.fmatter,{
|
21
|
+
isBoolean : function(o) {
|
22
|
+
return typeof o === 'boolean';
|
23
|
+
},
|
24
|
+
isObject : function(o) {
|
25
|
+
return (o && (typeof o === 'object' || $.isFunction(o))) || false;
|
26
|
+
},
|
27
|
+
isString : function(o) {
|
28
|
+
return typeof o === 'string';
|
29
|
+
},
|
30
|
+
isNumber : function(o) {
|
31
|
+
return typeof o === 'number' && isFinite(o);
|
32
|
+
},
|
33
|
+
isNull : function(o) {
|
34
|
+
return o === null;
|
35
|
+
},
|
36
|
+
isUndefined : function(o) {
|
37
|
+
return typeof o === 'undefined';
|
38
|
+
},
|
39
|
+
isValue : function (o) {
|
40
|
+
return (this.isObject(o) || this.isString(o) || this.isNumber(o) || this.isBoolean(o));
|
41
|
+
},
|
42
|
+
isEmpty : function(o) {
|
43
|
+
if(!this.isString(o) && this.isValue(o)) {
|
44
|
+
return false;
|
45
|
+
}else if (!this.isValue(o)){
|
46
|
+
return true;
|
47
|
+
}
|
48
|
+
o = $.trim(o).replace(/\ \;/ig,'').replace(/\ \;/ig,'');
|
49
|
+
return o==="";
|
50
|
+
}
|
51
|
+
});
|
52
|
+
$.fn.fmatter = function(formatType, cellval, opts, rwd, act) {
|
53
|
+
// build main options before element iteration
|
54
|
+
var v=cellval;
|
55
|
+
opts = $.extend({}, $.jgrid.formatter, opts);
|
56
|
+
|
57
|
+
if ($.fn.fmatter[formatType]){
|
58
|
+
v = $.fn.fmatter[formatType](cellval, opts, rwd, act);
|
59
|
+
}
|
60
|
+
return v;
|
61
|
+
};
|
62
|
+
$.fmatter.util = {
|
63
|
+
// Taken from YAHOO utils
|
64
|
+
NumberFormat : function(nData,opts) {
|
65
|
+
if(!$.fmatter.isNumber(nData)) {
|
66
|
+
nData *= 1;
|
67
|
+
}
|
68
|
+
if($.fmatter.isNumber(nData)) {
|
69
|
+
var bNegative = (nData < 0);
|
70
|
+
var sOutput = nData + "";
|
71
|
+
var sDecimalSeparator = (opts.decimalSeparator) ? opts.decimalSeparator : ".";
|
72
|
+
var nDotIndex;
|
73
|
+
if($.fmatter.isNumber(opts.decimalPlaces)) {
|
74
|
+
// Round to the correct decimal place
|
75
|
+
var nDecimalPlaces = opts.decimalPlaces;
|
76
|
+
var nDecimal = Math.pow(10, nDecimalPlaces);
|
77
|
+
sOutput = Math.round(nData*nDecimal)/nDecimal + "";
|
78
|
+
nDotIndex = sOutput.lastIndexOf(".");
|
79
|
+
if(nDecimalPlaces > 0) {
|
80
|
+
// Add the decimal separator
|
81
|
+
if(nDotIndex < 0) {
|
82
|
+
sOutput += sDecimalSeparator;
|
83
|
+
nDotIndex = sOutput.length-1;
|
84
|
+
}
|
85
|
+
// Replace the "."
|
86
|
+
else if(sDecimalSeparator !== "."){
|
87
|
+
sOutput = sOutput.replace(".",sDecimalSeparator);
|
88
|
+
}
|
89
|
+
// Add missing zeros
|
90
|
+
while((sOutput.length - 1 - nDotIndex) < nDecimalPlaces) {
|
91
|
+
sOutput += "0";
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
if(opts.thousandsSeparator) {
|
96
|
+
var sThousandsSeparator = opts.thousandsSeparator;
|
97
|
+
nDotIndex = sOutput.lastIndexOf(sDecimalSeparator);
|
98
|
+
nDotIndex = (nDotIndex > -1) ? nDotIndex : sOutput.length;
|
99
|
+
var sNewOutput = sOutput.substring(nDotIndex);
|
100
|
+
var nCount = -1;
|
101
|
+
for (var i=nDotIndex; i>0; i--) {
|
102
|
+
nCount++;
|
103
|
+
if ((nCount%3 === 0) && (i !== nDotIndex) && (!bNegative || (i > 1))) {
|
104
|
+
sNewOutput = sThousandsSeparator + sNewOutput;
|
105
|
+
}
|
106
|
+
sNewOutput = sOutput.charAt(i-1) + sNewOutput;
|
107
|
+
}
|
108
|
+
sOutput = sNewOutput;
|
109
|
+
}
|
110
|
+
// Prepend prefix
|
111
|
+
sOutput = (opts.prefix) ? opts.prefix + sOutput : sOutput;
|
112
|
+
// Append suffix
|
113
|
+
sOutput = (opts.suffix) ? sOutput + opts.suffix : sOutput;
|
114
|
+
return sOutput;
|
115
|
+
|
116
|
+
} else {
|
117
|
+
return nData;
|
118
|
+
}
|
119
|
+
},
|
120
|
+
// Tony Tomov
|
121
|
+
// PHP implementation. Sorry not all options are supported.
|
122
|
+
// Feel free to add them if you want
|
123
|
+
DateFormat : function (format, date, newformat, opts) {
|
124
|
+
var token = /\\.|[dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU]/g,
|
125
|
+
timezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,
|
126
|
+
timezoneClip = /[^-+\dA-Z]/g,
|
127
|
+
msDateRegExp = new RegExp("^\/Date\\((([-+])?[0-9]+)(([-+])([0-9]{2})([0-9]{2}))?\\)\/$"),
|
128
|
+
msMatch = ((typeof date === 'string') ? date.match(msDateRegExp): null),
|
129
|
+
pad = function (value, length) {
|
130
|
+
value = String(value);
|
131
|
+
length = parseInt(length,10) || 2;
|
132
|
+
while (value.length < length) { value = '0' + value; }
|
133
|
+
return value;
|
134
|
+
},
|
135
|
+
ts = {m : 1, d : 1, y : 1970, h : 0, i : 0, s : 0, u:0},
|
136
|
+
timestamp=0, dM, k,hl,
|
137
|
+
dateFormat=["i18n"];
|
138
|
+
// Internationalization strings
|
139
|
+
dateFormat.i18n = {
|
140
|
+
dayNames: opts.dayNames,
|
141
|
+
monthNames: opts.monthNames
|
142
|
+
};
|
143
|
+
if( format in opts.masks ) { format = opts.masks[format]; }
|
144
|
+
if(date.constructor === Number) {
|
145
|
+
//Unix timestamp
|
146
|
+
if(String(format).toLowerCase() == "u") {
|
147
|
+
date = date*1000;
|
148
|
+
}
|
149
|
+
timestamp = new Date(date);
|
150
|
+
} else if(date.constructor === Date) {
|
151
|
+
timestamp = date;
|
152
|
+
// Microsoft date format support
|
153
|
+
} else if( msMatch !== null ) {
|
154
|
+
timestamp = new Date(parseInt(msMatch[1], 10));
|
155
|
+
if (msMatch[3]) {
|
156
|
+
var offset = Number(msMatch[5]) * 60 + Number(msMatch[6]);
|
157
|
+
offset *= ((msMatch[4] == '-') ? 1 : -1);
|
158
|
+
offset -= timestamp.getTimezoneOffset();
|
159
|
+
timestamp.setTime(Number(Number(timestamp) + (offset * 60 * 1000)));
|
160
|
+
}
|
161
|
+
} else {
|
162
|
+
date = String(date).split(/[\\\/:_;.,\t\T\s-]/);
|
163
|
+
format = format.split(/[\\\/:_;.,\t\T\s-]/);
|
164
|
+
// parsing for month names
|
165
|
+
for(k=0,hl=format.length;k<hl;k++){
|
166
|
+
if(format[k] == 'M') {
|
167
|
+
dM = $.inArray(date[k],dateFormat.i18n.monthNames);
|
168
|
+
if(dM !== -1 && dM < 12){date[k] = dM+1;}
|
169
|
+
}
|
170
|
+
if(format[k] == 'F') {
|
171
|
+
dM = $.inArray(date[k],dateFormat.i18n.monthNames);
|
172
|
+
if(dM !== -1 && dM > 11){date[k] = dM+1-12;}
|
173
|
+
}
|
174
|
+
if(date[k]) {
|
175
|
+
ts[format[k].toLowerCase()] = parseInt(date[k],10);
|
176
|
+
}
|
177
|
+
}
|
178
|
+
if(ts.f) {ts.m = ts.f;}
|
179
|
+
if( ts.m === 0 && ts.y === 0 && ts.d === 0) {
|
180
|
+
return " " ;
|
181
|
+
}
|
182
|
+
ts.m = parseInt(ts.m,10)-1;
|
183
|
+
var ty = ts.y;
|
184
|
+
if (ty >= 70 && ty <= 99) {ts.y = 1900+ts.y;}
|
185
|
+
else if (ty >=0 && ty <=69) {ts.y= 2000+ts.y;}
|
186
|
+
timestamp = new Date(ts.y, ts.m, ts.d, ts.h, ts.i, ts.s, ts.u);
|
187
|
+
}
|
188
|
+
|
189
|
+
if( newformat in opts.masks ) {
|
190
|
+
newformat = opts.masks[newformat];
|
191
|
+
} else if ( !newformat ) {
|
192
|
+
newformat = 'Y-m-d';
|
193
|
+
}
|
194
|
+
var
|
195
|
+
G = timestamp.getHours(),
|
196
|
+
i = timestamp.getMinutes(),
|
197
|
+
j = timestamp.getDate(),
|
198
|
+
n = timestamp.getMonth() + 1,
|
199
|
+
o = timestamp.getTimezoneOffset(),
|
200
|
+
s = timestamp.getSeconds(),
|
201
|
+
u = timestamp.getMilliseconds(),
|
202
|
+
w = timestamp.getDay(),
|
203
|
+
Y = timestamp.getFullYear(),
|
204
|
+
N = (w + 6) % 7 + 1,
|
205
|
+
z = (new Date(Y, n - 1, j) - new Date(Y, 0, 1)) / 86400000,
|
206
|
+
flags = {
|
207
|
+
// Day
|
208
|
+
d: pad(j),
|
209
|
+
D: dateFormat.i18n.dayNames[w],
|
210
|
+
j: j,
|
211
|
+
l: dateFormat.i18n.dayNames[w + 7],
|
212
|
+
N: N,
|
213
|
+
S: opts.S(j),
|
214
|
+
//j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th',
|
215
|
+
w: w,
|
216
|
+
z: z,
|
217
|
+
// Week
|
218
|
+
W: N < 5 ? Math.floor((z + N - 1) / 7) + 1 : Math.floor((z + N - 1) / 7) || ((new Date(Y - 1, 0, 1).getDay() + 6) % 7 < 4 ? 53 : 52),
|
219
|
+
// Month
|
220
|
+
F: dateFormat.i18n.monthNames[n - 1 + 12],
|
221
|
+
m: pad(n),
|
222
|
+
M: dateFormat.i18n.monthNames[n - 1],
|
223
|
+
n: n,
|
224
|
+
t: '?',
|
225
|
+
// Year
|
226
|
+
L: '?',
|
227
|
+
o: '?',
|
228
|
+
Y: Y,
|
229
|
+
y: String(Y).substring(2),
|
230
|
+
// Time
|
231
|
+
a: G < 12 ? opts.AmPm[0] : opts.AmPm[1],
|
232
|
+
A: G < 12 ? opts.AmPm[2] : opts.AmPm[3],
|
233
|
+
B: '?',
|
234
|
+
g: G % 12 || 12,
|
235
|
+
G: G,
|
236
|
+
h: pad(G % 12 || 12),
|
237
|
+
H: pad(G),
|
238
|
+
i: pad(i),
|
239
|
+
s: pad(s),
|
240
|
+
u: u,
|
241
|
+
// Timezone
|
242
|
+
e: '?',
|
243
|
+
I: '?',
|
244
|
+
O: (o > 0 ? "-" : "+") + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4),
|
245
|
+
P: '?',
|
246
|
+
T: (String(timestamp).match(timezone) || [""]).pop().replace(timezoneClip, ""),
|
247
|
+
Z: '?',
|
248
|
+
// Full Date/Time
|
249
|
+
c: '?',
|
250
|
+
r: '?',
|
251
|
+
U: Math.floor(timestamp / 1000)
|
252
|
+
};
|
253
|
+
return newformat.replace(token, function ($0) {
|
254
|
+
return $0 in flags ? flags[$0] : $0.substring(1);
|
255
|
+
});
|
256
|
+
}
|
257
|
+
};
|
258
|
+
$.fn.fmatter.defaultFormat = function(cellval, opts) {
|
259
|
+
return ($.fmatter.isValue(cellval) && cellval!=="" ) ? cellval : opts.defaultValue ? opts.defaultValue : " ";
|
260
|
+
};
|
261
|
+
$.fn.fmatter.email = function(cellval, opts) {
|
262
|
+
if(!$.fmatter.isEmpty(cellval)) {
|
263
|
+
return "<a href=\"mailto:" + cellval + "\">" + cellval + "</a>";
|
264
|
+
}else {
|
265
|
+
return $.fn.fmatter.defaultFormat(cellval,opts );
|
266
|
+
}
|
267
|
+
};
|
268
|
+
$.fn.fmatter.checkbox =function(cval, opts) {
|
269
|
+
var op = $.extend({},opts.checkbox), ds;
|
270
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
271
|
+
op = $.extend({},op,opts.colModel.formatoptions);
|
272
|
+
}
|
273
|
+
if(op.disabled===true) {ds = "disabled=\"disabled\"";} else {ds="";}
|
274
|
+
if($.fmatter.isEmpty(cval) || $.fmatter.isUndefined(cval) ) {cval = $.fn.fmatter.defaultFormat(cval,op);}
|
275
|
+
cval=cval+"";cval=cval.toLowerCase();
|
276
|
+
var bchk = cval.search(/(false|0|no|off)/i)<0 ? " checked='checked' " : "";
|
277
|
+
return "<input type=\"checkbox\" " + bchk + " value=\""+ cval+"\" offval=\"no\" "+ds+ "/>";
|
278
|
+
};
|
279
|
+
$.fn.fmatter.link = function(cellval, opts) {
|
280
|
+
var op = {target:opts.target};
|
281
|
+
var target = "";
|
282
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
283
|
+
op = $.extend({},op,opts.colModel.formatoptions);
|
284
|
+
}
|
285
|
+
if(op.target) {target = 'target=' + op.target;}
|
286
|
+
if(!$.fmatter.isEmpty(cellval)) {
|
287
|
+
return "<a "+target+" href=\"" + cellval + "\">" + cellval + "</a>";
|
288
|
+
}else {
|
289
|
+
return $.fn.fmatter.defaultFormat(cellval,opts);
|
290
|
+
}
|
291
|
+
};
|
292
|
+
$.fn.fmatter.showlink = function(cellval, opts) {
|
293
|
+
var op = {baseLinkUrl: opts.baseLinkUrl,showAction:opts.showAction, addParam: opts.addParam || "", target: opts.target, idName: opts.idName},
|
294
|
+
target = "", idUrl;
|
295
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
296
|
+
op = $.extend({},op,opts.colModel.formatoptions);
|
297
|
+
}
|
298
|
+
if(op.target) {target = 'target=' + op.target;}
|
299
|
+
idUrl = op.baseLinkUrl+op.showAction + '?'+ op.idName+'='+opts.rowId+op.addParam;
|
300
|
+
if($.fmatter.isString(cellval) || $.fmatter.isNumber(cellval)) { //add this one even if its blank string
|
301
|
+
return "<a "+target+" href=\"" + idUrl + "\">" + cellval + "</a>";
|
302
|
+
}else {
|
303
|
+
return $.fn.fmatter.defaultFormat(cellval,opts);
|
304
|
+
}
|
305
|
+
};
|
306
|
+
$.fn.fmatter.integer = function(cellval, opts) {
|
307
|
+
var op = $.extend({},opts.integer);
|
308
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
309
|
+
op = $.extend({},op,opts.colModel.formatoptions);
|
310
|
+
}
|
311
|
+
if($.fmatter.isEmpty(cellval)) {
|
312
|
+
return op.defaultValue;
|
313
|
+
}
|
314
|
+
return $.fmatter.util.NumberFormat(cellval,op);
|
315
|
+
};
|
316
|
+
$.fn.fmatter.number = function (cellval, opts) {
|
317
|
+
var op = $.extend({},opts.number);
|
318
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
319
|
+
op = $.extend({},op,opts.colModel.formatoptions);
|
320
|
+
}
|
321
|
+
if($.fmatter.isEmpty(cellval)) {
|
322
|
+
return op.defaultValue;
|
323
|
+
}
|
324
|
+
return $.fmatter.util.NumberFormat(cellval,op);
|
325
|
+
};
|
326
|
+
$.fn.fmatter.currency = function (cellval, opts) {
|
327
|
+
var op = $.extend({},opts.currency);
|
328
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
329
|
+
op = $.extend({},op,opts.colModel.formatoptions);
|
330
|
+
}
|
331
|
+
if($.fmatter.isEmpty(cellval)) {
|
332
|
+
return op.defaultValue;
|
333
|
+
}
|
334
|
+
return $.fmatter.util.NumberFormat(cellval,op);
|
335
|
+
};
|
336
|
+
$.fn.fmatter.date = function (cellval, opts, rwd, act) {
|
337
|
+
var op = $.extend({},opts.date);
|
338
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
339
|
+
op = $.extend({},op,opts.colModel.formatoptions);
|
340
|
+
}
|
341
|
+
if(!op.reformatAfterEdit && act=='edit'){
|
342
|
+
return $.fn.fmatter.defaultFormat(cellval, opts);
|
343
|
+
} else if(!$.fmatter.isEmpty(cellval)) {
|
344
|
+
return $.fmatter.util.DateFormat(op.srcformat,cellval,op.newformat,op);
|
345
|
+
} else {
|
346
|
+
return $.fn.fmatter.defaultFormat(cellval, opts);
|
347
|
+
}
|
348
|
+
};
|
349
|
+
$.fn.fmatter.select = function (cellval,opts, rwd, act) {
|
350
|
+
// jqGrid specific
|
351
|
+
cellval = cellval + "";
|
352
|
+
var oSelect = false, ret=[];
|
353
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)){
|
354
|
+
oSelect= opts.colModel.formatoptions.value;
|
355
|
+
} else if(!$.fmatter.isUndefined(opts.colModel.editoptions)){
|
356
|
+
oSelect= opts.colModel.editoptions.value;
|
357
|
+
}
|
358
|
+
if (oSelect) {
|
359
|
+
var msl = opts.colModel.editoptions.multiple === true ? true : false,
|
360
|
+
scell = [], sv;
|
361
|
+
if(msl) {scell = cellval.split(",");scell = $.map(scell,function(n){return $.trim(n);});}
|
362
|
+
if ($.fmatter.isString(oSelect)) {
|
363
|
+
// mybe here we can use some caching with care ????
|
364
|
+
var so = oSelect.split(";"), j=0;
|
365
|
+
for(var i=0; i<so.length;i++){
|
366
|
+
sv = so[i].split(":");
|
367
|
+
if(sv.length > 2 ) {
|
368
|
+
sv[1] = jQuery.map(sv,function(n,i){if(i>0) {return n;}}).join(":");
|
369
|
+
}
|
370
|
+
if(msl) {
|
371
|
+
if(jQuery.inArray(sv[0],scell)>-1) {
|
372
|
+
ret[j] = sv[1];
|
373
|
+
j++;
|
374
|
+
}
|
375
|
+
} else if($.trim(sv[0])==$.trim(cellval)) {
|
376
|
+
ret[0] = sv[1];
|
377
|
+
break;
|
378
|
+
}
|
379
|
+
}
|
380
|
+
} else if($.fmatter.isObject(oSelect)) {
|
381
|
+
// this is quicker
|
382
|
+
if(msl) {
|
383
|
+
ret = jQuery.map(scell, function(n, i){
|
384
|
+
return oSelect[n];
|
385
|
+
});
|
386
|
+
} else {
|
387
|
+
ret[0] = oSelect[cellval] || "";
|
388
|
+
}
|
389
|
+
}
|
390
|
+
}
|
391
|
+
cellval = ret.join(", ");
|
392
|
+
return cellval === "" ? $.fn.fmatter.defaultFormat(cellval,opts) : cellval;
|
393
|
+
};
|
394
|
+
$.fn.fmatter.rowactions = function(rid,gid,act,pos) {
|
395
|
+
var op ={
|
396
|
+
keys:false,
|
397
|
+
onEdit : null,
|
398
|
+
onSuccess: null,
|
399
|
+
afterSave:null,
|
400
|
+
onError: null,
|
401
|
+
afterRestore: null,
|
402
|
+
extraparam: {oper:'edit'},
|
403
|
+
url: null,
|
404
|
+
delOptions: {},
|
405
|
+
editOptions : {}
|
406
|
+
};
|
407
|
+
rid = $.jgrid.jqID( rid );
|
408
|
+
gid = $.jgrid.jqID( gid );
|
409
|
+
var cm = $('#'+gid)[0].p.colModel[pos];
|
410
|
+
if(!$.fmatter.isUndefined(cm.formatoptions)) {
|
411
|
+
op = $.extend(op,cm.formatoptions);
|
412
|
+
}
|
413
|
+
if( !$.fmatter.isUndefined($('#'+gid)[0].p.editOptions) ) {
|
414
|
+
op.editOptions = $('#'+gid)[0].p.editOptions;
|
415
|
+
}
|
416
|
+
if( !$.fmatter.isUndefined($('#'+gid)[0].p.delOptions) ) {
|
417
|
+
op.delOptions = $('#'+gid)[0].p.delOptions;
|
418
|
+
}
|
419
|
+
var saverow = function( rowid) {
|
420
|
+
if(op.afterSave) op.afterSave(rowid);
|
421
|
+
$("tr#"+rid+" div.ui-inline-edit, "+"tr#"+rid+" div.ui-inline-del","#"+gid + ".ui-jqgrid-btable:first").show();
|
422
|
+
$("tr#"+rid+" div.ui-inline-save, "+"tr#"+rid+" div.ui-inline-cancel","#"+gid+ ".ui-jqgrid-btable:first").hide();
|
423
|
+
},
|
424
|
+
restorerow = function( rowid) {
|
425
|
+
if(op.afterRestore) op.afterRestore(rowid);
|
426
|
+
$("tr#"+rid+" div.ui-inline-edit, "+"tr#"+rid+" div.ui-inline-del","#"+gid+ ".ui-jqgrid-btable:first").show();
|
427
|
+
$("tr#"+rid+" div.ui-inline-save, "+"tr#"+rid+" div.ui-inline-cancel","#"+gid+ ".ui-jqgrid-btable:first").hide();
|
428
|
+
};
|
429
|
+
|
430
|
+
switch(act)
|
431
|
+
{
|
432
|
+
case 'edit':
|
433
|
+
$('#'+gid).jqGrid('editRow',rid, op.keys, op.onEdit, op.onSuccess, op.url, op.extraparam, saverow, op.onError,restorerow);
|
434
|
+
$("tr#"+rid+" div.ui-inline-edit, "+"tr#"+rid+" div.ui-inline-del","#"+gid+ ".ui-jqgrid-btable:first").hide();
|
435
|
+
$("tr#"+rid+" div.ui-inline-save, "+"tr#"+rid+" div.ui-inline-cancel","#"+gid+ ".ui-jqgrid-btable:first").show();
|
436
|
+
break;
|
437
|
+
case 'save':
|
438
|
+
if ( $('#'+gid).jqGrid('saveRow',rid, op.onSuccess,op.url, op.extraparam, saverow, op.onError,restorerow) ) {
|
439
|
+
$("tr#"+rid+" div.ui-inline-edit, "+"tr#"+rid+" div.ui-inline-del","#"+gid+ ".ui-jqgrid-btable:first").show();
|
440
|
+
$("tr#"+rid+" div.ui-inline-save, "+"tr#"+rid+" div.ui-inline-cancel","#"+gid+ ".ui-jqgrid-btable:first").hide();
|
441
|
+
}
|
442
|
+
break;
|
443
|
+
case 'cancel' :
|
444
|
+
$('#'+gid).jqGrid('restoreRow',rid, restorerow);
|
445
|
+
$("tr#"+rid+" div.ui-inline-edit, "+"tr#"+rid+" div.ui-inline-del","#"+gid+ ".ui-jqgrid-btable:first").show();
|
446
|
+
$("tr#"+rid+" div.ui-inline-save, "+"tr#"+rid+" div.ui-inline-cancel","#"+gid+ ".ui-jqgrid-btable:first").hide();
|
447
|
+
break;
|
448
|
+
case 'del':
|
449
|
+
$('#'+gid).jqGrid('delGridRow',rid, op.delOptions);
|
450
|
+
break;
|
451
|
+
case 'formedit':
|
452
|
+
$('#'+gid).jqGrid('setSelection',rid);
|
453
|
+
$('#'+gid).jqGrid('editGridRow',rid, op.editOptions);
|
454
|
+
break;
|
455
|
+
}
|
456
|
+
};
|
457
|
+
$.fn.fmatter.actions = function(cellval,opts, rwd) {
|
458
|
+
var op ={keys:false, editbutton:true, delbutton:true, editformbutton: false};
|
459
|
+
if(!$.fmatter.isUndefined(opts.colModel.formatoptions)) {
|
460
|
+
op = $.extend(op,opts.colModel.formatoptions);
|
461
|
+
}
|
462
|
+
var rowid = opts.rowId, str="",ocl;
|
463
|
+
if(typeof(rowid) =='undefined' || $.fmatter.isEmpty(rowid)) {return "";}
|
464
|
+
if(op.editformbutton){
|
465
|
+
ocl = "onclick=$.fn.fmatter.rowactions('"+rowid+"','"+opts.gid+"','formedit',"+opts.pos+"); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); "
|
466
|
+
str =str+ "<div title='"+$.jgrid.nav.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+ocl+"><span class='ui-icon ui-icon-pencil'></span></div>";
|
467
|
+
} else if(op.editbutton){
|
468
|
+
ocl = "onclick=$.fn.fmatter.rowactions('"+rowid+"','"+opts.gid+"','edit',"+opts.pos+"); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover') ";
|
469
|
+
str =str+ "<div title='"+$.jgrid.nav.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+ocl+"><span class='ui-icon ui-icon-pencil'></span></div>";
|
470
|
+
}
|
471
|
+
if(op.delbutton) {
|
472
|
+
ocl = "onclick=$.fn.fmatter.rowactions('"+rowid+"','"+opts.gid+"','del',"+opts.pos+"); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ";
|
473
|
+
str = str+"<div title='"+$.jgrid.nav.deltitle+"' style='float:left;margin-left:5px;' class='ui-pg-div ui-inline-del' "+ocl+"><span class='ui-icon ui-icon-trash'></span></div>";
|
474
|
+
}
|
475
|
+
ocl = "onclick=$.fn.fmatter.rowactions('"+rowid+"','"+opts.gid+"','save',"+opts.pos+"); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ";
|
476
|
+
str = str+"<div title='"+$.jgrid.edit.bSubmit+"' style='float:left;display:none' class='ui-pg-div ui-inline-save' "+ocl+"><span class='ui-icon ui-icon-disk'></span></div>";
|
477
|
+
ocl = "onclick=$.fn.fmatter.rowactions('"+rowid+"','"+opts.gid+"','cancel',"+opts.pos+"); onmouseover=jQuery(this).addClass('ui-state-hover'); onmouseout=jQuery(this).removeClass('ui-state-hover'); ";
|
478
|
+
str = str+"<div title='"+$.jgrid.edit.bCancel+"' style='float:left;display:none;margin-left:5px;' class='ui-pg-div ui-inline-cancel' "+ocl+"><span class='ui-icon ui-icon-cancel'></span></div>";
|
479
|
+
return "<div style='margin-left:8px;'>" + str + "</div>";
|
480
|
+
};
|
481
|
+
$.unformat = function (cellval,options,pos,cnt) {
|
482
|
+
// specific for jqGrid only
|
483
|
+
var ret, formatType = options.colModel.formatter,
|
484
|
+
op =options.colModel.formatoptions || {}, sep,
|
485
|
+
re = /([\.\*\_\'\(\)\{\}\+\?\\])/g,
|
486
|
+
unformatFunc = options.colModel.unformat||($.fn.fmatter[formatType] && $.fn.fmatter[formatType].unformat);
|
487
|
+
if(typeof unformatFunc !== 'undefined' && $.isFunction(unformatFunc) ) {
|
488
|
+
ret = unformatFunc($(cellval).text(), options, cellval);
|
489
|
+
} else if(!$.fmatter.isUndefined(formatType) && $.fmatter.isString(formatType) ) {
|
490
|
+
var opts = $.jgrid.formatter || {}, stripTag;
|
491
|
+
switch(formatType) {
|
492
|
+
case 'integer' :
|
493
|
+
op = $.extend({},opts.integer,op);
|
494
|
+
sep = op.thousandsSeparator.replace(re,"\\$1");
|
495
|
+
stripTag = new RegExp(sep, "g");
|
496
|
+
ret = $(cellval).text().replace(stripTag,'');
|
497
|
+
break;
|
498
|
+
case 'number' :
|
499
|
+
op = $.extend({},opts.number,op);
|
500
|
+
sep = op.thousandsSeparator.replace(re,"\\$1");
|
501
|
+
stripTag = new RegExp(sep, "g");
|
502
|
+
ret = $(cellval).text().replace(stripTag,"").replace(op.decimalSeparator,'.');
|
503
|
+
break;
|
504
|
+
case 'currency':
|
505
|
+
op = $.extend({},opts.currency,op);
|
506
|
+
sep = op.thousandsSeparator.replace(re,"\\$1");
|
507
|
+
stripTag = new RegExp(sep, "g");
|
508
|
+
ret = $(cellval).text().replace(stripTag,'').replace(op.decimalSeparator,'.').replace(op.prefix,'').replace(op.suffix,'');
|
509
|
+
break;
|
510
|
+
case 'checkbox':
|
511
|
+
var cbv = (options.colModel.editoptions) ? options.colModel.editoptions.value.split(":") : ["Yes","No"];
|
512
|
+
ret = $('input',cellval).attr("checked") ? cbv[0] : cbv[1];
|
513
|
+
break;
|
514
|
+
case 'select' :
|
515
|
+
ret = $.unformat.select(cellval,options,pos,cnt);
|
516
|
+
break;
|
517
|
+
case 'actions':
|
518
|
+
return "";
|
519
|
+
default:
|
520
|
+
ret= $(cellval).text();
|
521
|
+
}
|
522
|
+
}
|
523
|
+
return ret !== undefined ? ret : cnt===true ? $(cellval).text() : $.jgrid.htmlDecode($(cellval).html());
|
524
|
+
};
|
525
|
+
$.unformat.select = function (cellval,options,pos,cnt) {
|
526
|
+
// Spacial case when we have local data and perform a sort
|
527
|
+
// cnt is set to true only in sortDataArray
|
528
|
+
var ret = [];
|
529
|
+
var cell = $(cellval).text();
|
530
|
+
if(cnt===true) {return cell;}
|
531
|
+
var op = $.extend({},options.colModel.editoptions);
|
532
|
+
if(op.value){
|
533
|
+
var oSelect = op.value,
|
534
|
+
msl = op.multiple === true ? true : false,
|
535
|
+
scell = [], sv;
|
536
|
+
if(msl) {scell = cell.split(",");scell = $.map(scell,function(n){return $.trim(n);});}
|
537
|
+
if ($.fmatter.isString(oSelect)) {
|
538
|
+
var so = oSelect.split(";"), j=0;
|
539
|
+
for(var i=0; i<so.length;i++){
|
540
|
+
sv = so[i].split(":");
|
541
|
+
if(sv.length > 2 ) {
|
542
|
+
sv[1] = jQuery.map(sv,function(n,i){if(i>0) {return n;}}).join(":");
|
543
|
+
}
|
544
|
+
if(msl) {
|
545
|
+
if(jQuery.inArray(sv[1],scell)>-1) {
|
546
|
+
ret[j] = sv[0];
|
547
|
+
j++;
|
548
|
+
}
|
549
|
+
} else if($.trim(sv[1])==$.trim(cell)) {
|
550
|
+
ret[0] = sv[0];
|
551
|
+
break;
|
552
|
+
}
|
553
|
+
}
|
554
|
+
} else if($.fmatter.isObject(oSelect) || $.isArray(oSelect) ){
|
555
|
+
if(!msl) {scell[0] = cell;}
|
556
|
+
ret = jQuery.map(scell, function(n){
|
557
|
+
var rv;
|
558
|
+
$.each(oSelect, function(i,val){
|
559
|
+
if (val == n) {
|
560
|
+
rv = i;
|
561
|
+
return false;
|
562
|
+
}
|
563
|
+
});
|
564
|
+
if( typeof(rv) != 'undefined' ) {return rv;}
|
565
|
+
});
|
566
|
+
}
|
567
|
+
return ret.join(", ");
|
568
|
+
} else {
|
569
|
+
return cell || "";
|
570
|
+
}
|
571
|
+
};
|
572
|
+
$.unformat.date = function (cellval, opts) {
|
573
|
+
var op = $.jgrid.formatter.date || {};
|
574
|
+
if(!$.fmatter.isUndefined(opts.formatoptions)) {
|
575
|
+
op = $.extend({},op,opts.formatoptions);
|
576
|
+
}
|
577
|
+
if(!$.fmatter.isEmpty(cellval)) {
|
578
|
+
return $.fmatter.util.DateFormat(op.newformat,cellval,op.srcformat,op);
|
579
|
+
} else {
|
580
|
+
return $.fn.fmatter.defaultFormat(cellval, opts);
|
581
|
+
}
|
582
|
+
};
|
583
|
+
})(jQuery);
|