rbbt-rest 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (590) hide show
  1. data/LICENSE +20 -0
  2. data/Rakefile +55 -0
  3. data/config.ru +99 -0
  4. data/lib/rbbt/rest/client.rb +298 -0
  5. data/lib/rbbt/rest/common/cache.rb +115 -0
  6. data/lib/rbbt/rest/common/forms.rb +97 -0
  7. data/lib/rbbt/rest/common/locate.rb +75 -0
  8. data/lib/rbbt/rest/common/misc.rb +164 -0
  9. data/lib/rbbt/rest/common/render.rb +150 -0
  10. data/lib/rbbt/rest/common/resources.rb +80 -0
  11. data/lib/rbbt/rest/common/table.rb +169 -0
  12. data/lib/rbbt/rest/common/users.rb +68 -0
  13. data/lib/rbbt/rest/entity.rb +362 -0
  14. data/lib/rbbt/rest/entity/action_card.rb +22 -0
  15. data/lib/rbbt/rest/entity/action_controller.rb +38 -0
  16. data/lib/rbbt/rest/entity/entity_card.rb +26 -0
  17. data/lib/rbbt/rest/entity/entity_list_card.rb +26 -0
  18. data/lib/rbbt/rest/entity/favourites.rb +97 -0
  19. data/lib/rbbt/rest/entity/finder.rb +30 -0
  20. data/lib/rbbt/rest/entity/helpers.rb +130 -0
  21. data/lib/rbbt/rest/entity/list.rb +92 -0
  22. data/lib/rbbt/rest/entity/list_container.rb +22 -0
  23. data/lib/rbbt/rest/entity/locate.rb +281 -0
  24. data/lib/rbbt/rest/entity/render.rb +76 -0
  25. data/lib/rbbt/rest/entity/rest.rb +181 -0
  26. data/lib/rbbt/rest/file_server.rb +64 -0
  27. data/lib/rbbt/rest/helpers.rb +44 -0
  28. data/lib/rbbt/rest/main.rb +100 -0
  29. data/lib/rbbt/rest/workflow.rb +198 -0
  30. data/lib/rbbt/rest/workflow/jobs.rb +154 -0
  31. data/lib/rbbt/rest/workflow/locate.rb +41 -0
  32. data/lib/rbbt/rest/workflow/render.rb +33 -0
  33. data/share/views/compass/_foundation_setup.sass +79 -0
  34. data/share/views/compass/actions.sass +43 -0
  35. data/share/views/compass/app.sass +39 -0
  36. data/share/views/compass/colors.sass +224 -0
  37. data/share/views/compass/dom.sass +42 -0
  38. data/share/views/compass/entity_card.sass +100 -0
  39. data/share/views/compass/favourites.sass +33 -0
  40. data/share/views/compass/footer.sass +4 -0
  41. data/share/views/compass/form.sass +28 -0
  42. data/share/views/compass/fragment.sass +8 -0
  43. data/share/views/compass/list_container.sass +32 -0
  44. data/share/views/compass/lists.sass +33 -0
  45. data/share/views/compass/offcanvas.sass +66 -0
  46. data/share/views/compass/style.sass +100 -0
  47. data/share/views/compass/style_mixins.sass +12 -0
  48. data/share/views/compass/table.sass +44 -0
  49. data/share/views/compass/tabs.sass +41 -0
  50. data/share/views/compass/theme.sass +58 -0
  51. data/share/views/compass/topbar.sass +19 -0
  52. data/share/views/compass/web-fonts.sass +77 -0
  53. data/share/views/compass/workflow.sass +33 -0
  54. data/share/views/entity/Default.haml +20 -0
  55. data/share/views/entity_list/Default.haml +7 -0
  56. data/share/views/entity_list/Default/edit.haml +9 -0
  57. data/share/views/entity_list/Default/new.haml +9 -0
  58. data/share/views/entity_partials/action_card.haml +38 -0
  59. data/share/views/entity_partials/action_controller.haml +31 -0
  60. data/share/views/entity_partials/entity_card.haml +55 -0
  61. data/share/views/entity_partials/entity_list.haml +8 -0
  62. data/share/views/entity_partials/entity_list_card.haml +75 -0
  63. data/share/views/entity_partials/list_container.haml +30 -0
  64. data/share/views/error.haml +12 -0
  65. data/share/views/form.haml +11 -0
  66. data/share/views/job_info.haml +1 -0
  67. data/share/views/job_result.haml +23 -0
  68. data/share/views/job_result/annotations.haml +3 -0
  69. data/share/views/job_result/array.haml +4 -0
  70. data/share/views/job_result/binary.haml +1 -0
  71. data/share/views/job_result/boolea.haml +1 -0
  72. data/share/views/job_result/boolean.haml +1 -0
  73. data/share/views/job_result/job_control.haml +18 -0
  74. data/share/views/job_result/string.haml +1 -0
  75. data/share/views/job_result/tsv.haml +7 -0
  76. data/share/views/job_result/yaml.haml +1 -0
  77. data/share/views/layout.haml +89 -0
  78. data/share/views/layout/favourites.haml +36 -0
  79. data/share/views/layout/header.haml +40 -0
  80. data/share/views/main.haml +2 -0
  81. data/share/views/partials/form.haml +26 -0
  82. data/share/views/partials/table.haml +93 -0
  83. data/share/views/public/favicon.gif +0 -0
  84. data/share/views/public/js/_ajax_replace.js +130 -0
  85. data/share/views/public/js/_dom_update.js +28 -0
  86. data/share/views/public/js/_ellipsis.js +62 -0
  87. data/share/views/public/js/_fix_tablesorter_science.js +25 -0
  88. data/share/views/public/js/_foundation.js +42 -0
  89. data/share/views/public/js/_md5.js +379 -0
  90. data/share/views/public/js/actions.js +102 -0
  91. data/share/views/public/js/app.js +2 -0
  92. data/share/views/public/js/base.js +110 -0
  93. data/share/views/public/js/deffer.js +14 -0
  94. data/share/views/public/js/entities.js +75 -0
  95. data/share/views/public/js/favourites.js +210 -0
  96. data/share/views/public/js/helpers.js +57 -0
  97. data/share/views/public/js/lists.js +103 -0
  98. data/share/views/public/js/offcanvas.js +33 -0
  99. data/share/views/public/js/tables.js +193 -0
  100. data/share/views/public/js/tabs.js +7 -0
  101. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  102. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  103. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  104. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  105. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  106. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
  107. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  108. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  109. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_222222_256x240.png +0 -0
  110. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_2e83ff_256x240.png +0 -0
  111. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_454545_256x240.png +0 -0
  112. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_888888_256x240.png +0 -0
  113. data/share/views/public/plugins/jquery-ui/css/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  114. data/share/views/public/plugins/jquery-ui/css/custom-theme/jquery-ui-1.8.14.custom.css +568 -0
  115. data/share/views/public/plugins/jquery-ui/development-bundle/AUTHORS.txt +30 -0
  116. data/share/views/public/plugins/jquery-ui/development-bundle/GPL-LICENSE.txt +278 -0
  117. data/share/views/public/plugins/jquery-ui/development-bundle/MIT-LICENSE.txt +25 -0
  118. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/collapsible.html +57 -0
  119. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/custom-icons.html +69 -0
  120. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/default.html +85 -0
  121. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/fillspace.html +76 -0
  122. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/hoverintent.html +134 -0
  123. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/index.html +25 -0
  124. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/mouseover.html +57 -0
  125. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/no-auto-height.html +60 -0
  126. data/share/views/public/plugins/jquery-ui/development-bundle/demos/accordion/sortable.html +83 -0
  127. data/share/views/public/plugins/jquery-ui/development-bundle/demos/addClass/default.html +52 -0
  128. data/share/views/public/plugins/jquery-ui/development-bundle/demos/addClass/index.html +18 -0
  129. data/share/views/public/plugins/jquery-ui/development-bundle/demos/animate/default.html +61 -0
  130. data/share/views/public/plugins/jquery-ui/development-bundle/demos/animate/index.html +18 -0
  131. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/categories.html +71 -0
  132. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/combobox.html +174 -0
  133. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/custom-data.html +95 -0
  134. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/default.html +64 -0
  135. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/folding.html +62 -0
  136. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
  137. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
  138. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
  139. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
  140. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
  141. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/index.html +27 -0
  142. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/london.xml +114 -0
  143. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/maxheight.html +79 -0
  144. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/multiple-remote.html +84 -0
  145. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/multiple.html +99 -0
  146. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote-jsonp.html +86 -0
  147. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote-with-cache.html +59 -0
  148. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/remote.html +59 -0
  149. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/search.php +640 -0
  150. data/share/views/public/plugins/jquery-ui/development-bundle/demos/autocomplete/xml.html +72 -0
  151. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/checkbox.html +44 -0
  152. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/default.html +38 -0
  153. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/icons.html +56 -0
  154. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/index.html +23 -0
  155. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/radio.html +39 -0
  156. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/splitbutton.html +55 -0
  157. data/share/views/public/plugins/jquery-ui/development-bundle/demos/button/toolbar.html +120 -0
  158. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/alt-field.html +36 -0
  159. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/animation.html +58 -0
  160. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/buttonbar.html +35 -0
  161. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/date-formats.html +47 -0
  162. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/date-range.html +49 -0
  163. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/default.html +33 -0
  164. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/dropdown-month-year.html +36 -0
  165. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/icon-trigger.html +37 -0
  166. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/images/calendar.gif +0 -0
  167. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/index.html +31 -0
  168. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/inline.html +33 -0
  169. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/localization.html +162 -0
  170. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/min-max.html +33 -0
  171. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/multiple-calendars.html +36 -0
  172. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/other-months.html +37 -0
  173. data/share/views/public/plugins/jquery-ui/development-bundle/demos/datepicker/show-week.html +39 -0
  174. data/share/views/public/plugins/jquery-ui/development-bundle/demos/demos.css +334 -0
  175. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/animated.html +56 -0
  176. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/default.html +54 -0
  177. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/index.html +23 -0
  178. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-confirmation.html +69 -0
  179. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-form.html +167 -0
  180. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal-message.html +71 -0
  181. data/share/views/public/plugins/jquery-ui/development-bundle/demos/dialog/modal.html +60 -0
  182. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/constrain-movement.html +69 -0
  183. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/cursor-style.html +49 -0
  184. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/default.html +39 -0
  185. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/delay-start.html +45 -0
  186. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/events.html +77 -0
  187. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/handle.html +50 -0
  188. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/index.html +28 -0
  189. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/revert.html +44 -0
  190. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/scroll.html +51 -0
  191. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/snap-to.html +68 -0
  192. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/sortable.html +57 -0
  193. data/share/views/public/plugins/jquery-ui/development-bundle/demos/draggable/visual-feedback.html +77 -0
  194. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/accepted-elements.html +60 -0
  195. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/default.html +53 -0
  196. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
  197. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
  198. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
  199. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
  200. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
  201. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
  202. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
  203. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
  204. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/index.html +24 -0
  205. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/photo-manager.html +184 -0
  206. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/propagation.html +80 -0
  207. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/revert.html +61 -0
  208. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/shopping-cart.html +101 -0
  209. data/share/views/public/plugins/jquery-ui/development-bundle/demos/droppable/visual-feedback.html +78 -0
  210. data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/default.html +109 -0
  211. data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/easing.html +108 -0
  212. data/share/views/public/plugins/jquery-ui/development-bundle/demos/effect/index.html +19 -0
  213. data/share/views/public/plugins/jquery-ui/development-bundle/demos/hide/default.html +102 -0
  214. data/share/views/public/plugins/jquery-ui/development-bundle/demos/hide/index.html +18 -0
  215. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/calendar.gif +0 -0
  216. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
  217. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-config-on.gif +0 -0
  218. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
  219. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/demo-spindown-open.gif +0 -0
  220. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/icon-docs-info.gif +0 -0
  221. data/share/views/public/plugins/jquery-ui/development-bundle/demos/images/pbar-ani.gif +0 -0
  222. data/share/views/public/plugins/jquery-ui/development-bundle/demos/index.html +321 -0
  223. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/cycler.html +122 -0
  224. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/default.html +153 -0
  225. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/earth.jpg +0 -0
  226. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/flight.jpg +0 -0
  227. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/images/rocket.jpg +0 -0
  228. data/share/views/public/plugins/jquery-ui/development-bundle/demos/position/index.html +19 -0
  229. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/animated.html +44 -0
  230. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/default.html +35 -0
  231. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
  232. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/index.html +20 -0
  233. data/share/views/public/plugins/jquery-ui/development-bundle/demos/progressbar/resize.html +40 -0
  234. data/share/views/public/plugins/jquery-ui/development-bundle/demos/removeClass/default.html +52 -0
  235. data/share/views/public/plugins/jquery-ui/development-bundle/demos/removeClass/index.html +18 -0
  236. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/animate.html +43 -0
  237. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/aspect-ratio.html +42 -0
  238. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/constrain-area.html +47 -0
  239. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/default.html +40 -0
  240. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/delay-start.html +52 -0
  241. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/helper.html +43 -0
  242. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/index.html +28 -0
  243. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/max-min.html +45 -0
  244. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/snap-to-grid.html +42 -0
  245. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/synchronous-resize.html +49 -0
  246. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/textarea.html +41 -0
  247. data/share/views/public/plugins/jquery-ui/development-bundle/demos/resizable/visual-feedback.html +43 -0
  248. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/default.html +50 -0
  249. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/display-grid.html +55 -0
  250. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/index.html +20 -0
  251. data/share/views/public/plugins/jquery-ui/development-bundle/demos/selectable/serialize.html +61 -0
  252. data/share/views/public/plugins/jquery-ui/development-bundle/demos/show/default.html +104 -0
  253. data/share/views/public/plugins/jquery-ui/development-bundle/demos/show/index.html +18 -0
  254. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/colorpicker.html +95 -0
  255. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/default.html +37 -0
  256. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/hotelrooms.html +59 -0
  257. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/index.html +29 -0
  258. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/multiple-vertical.html +77 -0
  259. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/range-vertical.html +51 -0
  260. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/range.html +52 -0
  261. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/rangemax.html +50 -0
  262. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/rangemin.html +51 -0
  263. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/side-scroll.html +140 -0
  264. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/slider-vertical.html +52 -0
  265. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/steps.html +51 -0
  266. data/share/views/public/plugins/jquery-ui/development-bundle/demos/slider/tabs.html +67 -0
  267. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/connect-lists-through-tabs.html +78 -0
  268. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/connect-lists.html +58 -0
  269. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/default.html +51 -0
  270. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/delay-start.html +67 -0
  271. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/display-grid.html +54 -0
  272. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/empty-lists.html +69 -0
  273. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/index.html +26 -0
  274. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/items.html +70 -0
  275. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/placeholder.html +56 -0
  276. data/share/views/public/plugins/jquery-ui/development-bundle/demos/sortable/portlets.html +96 -0
  277. data/share/views/public/plugins/jquery-ui/development-bundle/demos/switchClass/default.html +47 -0
  278. data/share/views/public/plugins/jquery-ui/development-bundle/demos/switchClass/index.html +18 -0
  279. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax.html +53 -0
  280. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content1.html +4 -0
  281. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content2.html +4 -0
  282. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content3-slow.php +7 -0
  283. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/ajax/content4-broken.php +3 -0
  284. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/bottom.html +60 -0
  285. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/collapsible.html +55 -0
  286. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/cookie.html +57 -0
  287. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/default.html +49 -0
  288. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/index.html +25 -0
  289. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/manipulation.html +124 -0
  290. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/mouseover.html +53 -0
  291. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/sortable.html +58 -0
  292. data/share/views/public/plugins/jquery-ui/development-bundle/demos/tabs/vertical.html +61 -0
  293. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggle/default.html +94 -0
  294. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggle/index.html +18 -0
  295. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggleClass/default.html +46 -0
  296. data/share/views/public/plugins/jquery-ui/development-bundle/demos/toggleClass/index.html +18 -0
  297. data/share/views/public/plugins/jquery-ui/development-bundle/docs/accordion.html +1017 -0
  298. data/share/views/public/plugins/jquery-ui/development-bundle/docs/addClass.html +109 -0
  299. data/share/views/public/plugins/jquery-ui/development-bundle/docs/animate.html +78 -0
  300. data/share/views/public/plugins/jquery-ui/development-bundle/docs/autocomplete.html +875 -0
  301. data/share/views/public/plugins/jquery-ui/development-bundle/docs/button.html +500 -0
  302. data/share/views/public/plugins/jquery-ui/development-bundle/docs/datepicker.html +2570 -0
  303. data/share/views/public/plugins/jquery-ui/development-bundle/docs/dialog.html +1698 -0
  304. data/share/views/public/plugins/jquery-ui/development-bundle/docs/draggable.html +1577 -0
  305. data/share/views/public/plugins/jquery-ui/development-bundle/docs/droppable.html +829 -0
  306. data/share/views/public/plugins/jquery-ui/development-bundle/docs/effect.html +143 -0
  307. data/share/views/public/plugins/jquery-ui/development-bundle/docs/hide.html +144 -0
  308. data/share/views/public/plugins/jquery-ui/development-bundle/docs/position.html +227 -0
  309. data/share/views/public/plugins/jquery-ui/development-bundle/docs/progressbar.html +460 -0
  310. data/share/views/public/plugins/jquery-ui/development-bundle/docs/removeClass.html +113 -0
  311. data/share/views/public/plugins/jquery-ui/development-bundle/docs/resizable.html +1201 -0
  312. data/share/views/public/plugins/jquery-ui/development-bundle/docs/selectable.html +848 -0
  313. data/share/views/public/plugins/jquery-ui/development-bundle/docs/show.html +144 -0
  314. data/share/views/public/plugins/jquery-ui/development-bundle/docs/slider.html +860 -0
  315. data/share/views/public/plugins/jquery-ui/development-bundle/docs/sortable.html +1953 -0
  316. data/share/views/public/plugins/jquery-ui/development-bundle/docs/switchClass.html +129 -0
  317. data/share/views/public/plugins/jquery-ui/development-bundle/docs/tabs.html +1549 -0
  318. data/share/views/public/plugins/jquery-ui/development-bundle/docs/toggle.html +144 -0
  319. data/share/views/public/plugins/jquery-ui/development-bundle/docs/toggleClass.html +111 -0
  320. data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.bgiframe-2.1.2.js +39 -0
  321. data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.cookie.js +89 -0
  322. data/share/views/public/plugins/jquery-ui/development-bundle/external/jquery.metadata.js +122 -0
  323. data/share/views/public/plugins/jquery-ui/development-bundle/external/qunit.css +153 -0
  324. data/share/views/public/plugins/jquery-ui/development-bundle/external/qunit.js +1261 -0
  325. data/share/views/public/plugins/jquery-ui/development-bundle/jquery-1.5.1.js +8316 -0
  326. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  327. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  328. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  329. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  330. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  331. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  332. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  333. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  334. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
  335. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  336. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
  337. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
  338. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  339. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.accordion.css +19 -0
  340. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.all.css +11 -0
  341. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.autocomplete.css +53 -0
  342. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.base.css +11 -0
  343. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.button.css +38 -0
  344. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.core.css +41 -0
  345. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.datepicker.css +68 -0
  346. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.dialog.css +21 -0
  347. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.progressbar.css +11 -0
  348. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.resizable.css +20 -0
  349. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.selectable.css +10 -0
  350. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.slider.css +24 -0
  351. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.tabs.css +18 -0
  352. data/share/views/public/plugins/jquery-ui/development-bundle/themes/base/jquery.ui.theme.css +247 -0
  353. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  354. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  355. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  356. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  357. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  358. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
  359. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  360. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  361. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_222222_256x240.png +0 -0
  362. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_2e83ff_256x240.png +0 -0
  363. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_454545_256x240.png +0 -0
  364. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_888888_256x240.png +0 -0
  365. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/images/ui-icons_cd0a0a_256x240.png +0 -0
  366. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery-ui-1.8.14.custom.css +568 -0
  367. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.accordion.css +19 -0
  368. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.all.css +11 -0
  369. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.autocomplete.css +53 -0
  370. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.base.css +11 -0
  371. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.button.css +38 -0
  372. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.core.css +41 -0
  373. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.datepicker.css +68 -0
  374. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.dialog.css +21 -0
  375. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.progressbar.css +11 -0
  376. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.resizable.css +20 -0
  377. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.selectable.css +10 -0
  378. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.slider.css +24 -0
  379. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.tabs.css +18 -0
  380. data/share/views/public/plugins/jquery-ui/development-bundle/themes/custom-theme/jquery.ui.theme.css +249 -0
  381. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery-ui-i18n.js +1379 -0
  382. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +23 -0
  383. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  384. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +23 -0
  385. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +23 -0
  386. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +24 -0
  387. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +23 -0
  388. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +23 -0
  389. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +23 -0
  390. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +23 -0
  391. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +23 -0
  392. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +23 -0
  393. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-AU.js +23 -0
  394. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +23 -0
  395. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  396. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +23 -0
  397. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +23 -0
  398. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +23 -0
  399. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +23 -0
  400. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +23 -0
  401. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +23 -0
  402. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +23 -0
  403. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  404. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +25 -0
  405. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-gl.js +23 -0
  406. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +23 -0
  407. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +23 -0
  408. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +23 -0
  409. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +23 -0
  410. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +23 -0
  411. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +23 -0
  412. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +23 -0
  413. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +23 -0
  414. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +23 -0
  415. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +23 -0
  416. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +23 -0
  417. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +23 -0
  418. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ml.js +23 -0
  419. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +23 -0
  420. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +23 -0
  421. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +23 -0
  422. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +23 -0
  423. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  424. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-pt.js +22 -0
  425. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-rm.js +21 -0
  426. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +26 -0
  427. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +23 -0
  428. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +23 -0
  429. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +24 -0
  430. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +23 -0
  431. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  432. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +23 -0
  433. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +23 -0
  434. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +23 -0
  435. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +23 -0
  436. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tj.js +23 -0
  437. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +23 -0
  438. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +23 -0
  439. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +23 -0
  440. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  441. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  442. data/share/views/public/plugins/jquery-ui/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  443. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery-ui-1.8.14.custom.js +11729 -0
  444. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.blind.js +49 -0
  445. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.bounce.js +78 -0
  446. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.clip.js +54 -0
  447. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.core.js +746 -0
  448. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.drop.js +50 -0
  449. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.explode.js +79 -0
  450. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.fade.js +32 -0
  451. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.fold.js +56 -0
  452. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.highlight.js +50 -0
  453. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.pulsate.js +51 -0
  454. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.scale.js +178 -0
  455. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.shake.js +57 -0
  456. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.slide.js +50 -0
  457. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.effects.transfer.js +45 -0
  458. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.accordion.js +611 -0
  459. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.autocomplete.js +612 -0
  460. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.button.js +416 -0
  461. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.core.js +312 -0
  462. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.datepicker.js +1814 -0
  463. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.dialog.js +878 -0
  464. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.draggable.js +823 -0
  465. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.droppable.js +296 -0
  466. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.mouse.js +160 -0
  467. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.position.js +252 -0
  468. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.progressbar.js +109 -0
  469. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.resizable.js +842 -0
  470. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.selectable.js +266 -0
  471. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.slider.js +666 -0
  472. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.sortable.js +1077 -0
  473. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.tabs.js +758 -0
  474. data/share/views/public/plugins/jquery-ui/development-bundle/ui/jquery.ui.widget.js +262 -0
  475. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.blind.min.js +14 -0
  476. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.bounce.min.js +15 -0
  477. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.clip.min.js +14 -0
  478. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.core.min.js +30 -0
  479. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.drop.min.js +14 -0
  480. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.explode.min.js +15 -0
  481. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.fade.min.js +13 -0
  482. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.fold.min.js +14 -0
  483. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.highlight.min.js +14 -0
  484. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.pulsate.min.js +14 -0
  485. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.scale.min.js +20 -0
  486. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.shake.min.js +14 -0
  487. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.slide.min.js +14 -0
  488. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.effects.transfer.min.js +14 -0
  489. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.accordion.min.js +30 -0
  490. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +32 -0
  491. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.button.min.js +27 -0
  492. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.core.min.js +17 -0
  493. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.datepicker.min.js +83 -0
  494. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.dialog.min.js +40 -0
  495. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.draggable.min.js +50 -0
  496. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.droppable.min.js +27 -0
  497. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.mouse.min.js +17 -0
  498. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.position.min.js +16 -0
  499. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.progressbar.min.js +16 -0
  500. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.resizable.min.js +49 -0
  501. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.selectable.min.js +22 -0
  502. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.slider.min.js +33 -0
  503. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.sortable.min.js +60 -0
  504. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.tabs.min.js +35 -0
  505. data/share/views/public/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.widget.min.js +15 -0
  506. data/share/views/public/plugins/jquery-ui/development-bundle/version.txt +1 -0
  507. data/share/views/public/plugins/jquery-ui/index.html +367 -0
  508. data/share/views/public/plugins/jquery-ui/js/jquery-1.5.1.min.js +16 -0
  509. data/share/views/public/plugins/jquery-ui/js/jquery-ui-1.8.14.custom.min.js +789 -0
  510. data/share/views/public/plugins/jquery.scrollTo/jquery.scrollTo.js +218 -0
  511. data/share/views/public/plugins/jquery.tablesorter/addons/pager/jquery.tablesorter.pager.css +25 -0
  512. data/share/views/public/plugins/jquery.tablesorter/addons/pager/jquery.tablesorter.pager.js +184 -0
  513. data/share/views/public/plugins/jquery.tablesorter/build.xml +26 -0
  514. data/share/views/public/plugins/jquery.tablesorter/build/ParseMaster.js +106 -0
  515. data/share/views/public/plugins/jquery.tablesorter/build/js.jar +0 -0
  516. data/share/views/public/plugins/jquery.tablesorter/build/jsmin.js +316 -0
  517. data/share/views/public/plugins/jquery.tablesorter/build/min.js +5 -0
  518. data/share/views/public/plugins/jquery.tablesorter/build/pack.js +5 -0
  519. data/share/views/public/plugins/jquery.tablesorter/build/packer.js +316 -0
  520. data/share/views/public/plugins/jquery.tablesorter/build/writeFile.js +19 -0
  521. data/share/views/public/plugins/jquery.tablesorter/changelog +41 -0
  522. data/share/views/public/plugins/jquery.tablesorter/docs/assets/ajax-content.html +43 -0
  523. data/share/views/public/plugins/jquery.tablesorter/docs/css/jq.css +29 -0
  524. data/share/views/public/plugins/jquery.tablesorter/docs/example-ajax.html +119 -0
  525. data/share/views/public/plugins/jquery.tablesorter/docs/example-empty-table.html +75 -0
  526. data/share/views/public/plugins/jquery.tablesorter/docs/example-extending-defaults.html +109 -0
  527. data/share/views/public/plugins/jquery.tablesorter/docs/example-meta-headers.html +108 -0
  528. data/share/views/public/plugins/jquery.tablesorter/docs/example-meta-parsers.html +105 -0
  529. data/share/views/public/plugins/jquery.tablesorter/docs/example-meta-sort-list.html +107 -0
  530. data/share/views/public/plugins/jquery.tablesorter/docs/example-option-debug.html +116 -0
  531. data/share/views/public/plugins/jquery.tablesorter/docs/example-option-digits.html +106 -0
  532. data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-force.html +107 -0
  533. data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-key.html +108 -0
  534. data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-list.html +108 -0
  535. data/share/views/public/plugins/jquery.tablesorter/docs/example-option-sort-order.html +108 -0
  536. data/share/views/public/plugins/jquery.tablesorter/docs/example-option-text-extraction.html +85 -0
  537. data/share/views/public/plugins/jquery.tablesorter/docs/example-options-headers.html +118 -0
  538. data/share/views/public/plugins/jquery.tablesorter/docs/example-pager.html +329 -0
  539. data/share/views/public/plugins/jquery.tablesorter/docs/example-parsers.html +112 -0
  540. data/share/views/public/plugins/jquery.tablesorter/docs/example-trigger-sort.html +113 -0
  541. data/share/views/public/plugins/jquery.tablesorter/docs/example-triggers.html +336 -0
  542. data/share/views/public/plugins/jquery.tablesorter/docs/example-update-cell.html +118 -0
  543. data/share/views/public/plugins/jquery.tablesorter/docs/example-widgets.html +383 -0
  544. data/share/views/public/plugins/jquery.tablesorter/docs/img/external.png +0 -0
  545. data/share/views/public/plugins/jquery.tablesorter/docs/index.html +576 -0
  546. data/share/views/public/plugins/jquery.tablesorter/docs/js/docs.js +23 -0
  547. data/share/views/public/plugins/jquery.tablesorter/docs/js/examples.js +29 -0
  548. data/share/views/public/plugins/jquery.tablesorter/jquery-latest.js +154 -0
  549. data/share/views/public/plugins/jquery.tablesorter/jquery.metadata.js +122 -0
  550. data/share/views/public/plugins/jquery.tablesorter/jquery.tablesorter.js +1037 -0
  551. data/share/views/public/plugins/jquery.tablesorter/jquery.tablesorter.min.js +4 -0
  552. data/share/views/public/plugins/jquery.tablesorter/tests/assets/ajax-content.html +28 -0
  553. data/share/views/public/plugins/jquery.tablesorter/tests/cell.metadata.html +112 -0
  554. data/share/views/public/plugins/jquery.tablesorter/tests/checkbox.html +117 -0
  555. data/share/views/public/plugins/jquery.tablesorter/tests/colspan.html +149 -0
  556. data/share/views/public/plugins/jquery.tablesorter/tests/demo.html +353 -0
  557. data/share/views/public/plugins/jquery.tablesorter/tests/index.html +22 -0
  558. data/share/views/public/plugins/jquery.tablesorter/tests/large.html +30 -0
  559. data/share/views/public/plugins/jquery.tablesorter/tests/lockedOrder.html +355 -0
  560. data/share/views/public/plugins/jquery.tablesorter/tests/metadata.html +320 -0
  561. data/share/views/public/plugins/jquery.tablesorter/tests/multiple-headers.html +67 -0
  562. data/share/views/public/plugins/jquery.tablesorter/tests/pager.html +553 -0
  563. data/share/views/public/plugins/jquery.tablesorter/themes/blue/asc.gif +0 -0
  564. data/share/views/public/plugins/jquery.tablesorter/themes/blue/bg.gif +0 -0
  565. data/share/views/public/plugins/jquery.tablesorter/themes/blue/blue.zip +0 -0
  566. data/share/views/public/plugins/jquery.tablesorter/themes/blue/desc.gif +0 -0
  567. data/share/views/public/plugins/jquery.tablesorter/themes/blue/style.css +39 -0
  568. data/share/views/public/plugins/jquery.tablesorter/themes/green/asc.png +0 -0
  569. data/share/views/public/plugins/jquery.tablesorter/themes/green/bg.png +0 -0
  570. data/share/views/public/plugins/jquery.tablesorter/themes/green/desc.png +0 -0
  571. data/share/views/public/plugins/jquery.tablesorter/themes/green/green.zip +0 -0
  572. data/share/views/public/plugins/jquery.tablesorter/themes/green/style.css +39 -0
  573. data/share/views/public/plugins/jquery/js/jquery-1.8.0.min.js +2 -0
  574. data/share/views/public/plugins/jquery/js/jquery.cookie.js +47 -0
  575. data/share/views/public/plugins/jquery/js/jquery.form.js +980 -0
  576. data/share/views/public/plugins/zurb-icons/foundation_icons_general/demo.html +188 -0
  577. data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.eot +0 -0
  578. data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.svg +15 -0
  579. data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.ttf +0 -0
  580. data/share/views/public/plugins/zurb-icons/foundation_icons_general/fonts/general_foundicons.woff +0 -0
  581. data/share/views/public/plugins/zurb-icons/foundation_icons_general/sass/_settings.scss +28 -0
  582. data/share/views/public/plugins/zurb-icons/foundation_icons_general/sass/general_foundicons.scss +71 -0
  583. data/share/views/public/plugins/zurb-icons/foundation_icons_general/sass/general_foundicons_ie7.scss +56 -0
  584. data/share/views/public/plugins/zurb-icons/foundation_icons_general/stylesheets/general_foundicons.css +216 -0
  585. data/share/views/public/plugins/zurb-icons/foundation_icons_general/stylesheets/general_foundicons_ie7.css +194 -0
  586. data/share/views/public/plugins/zurb-responsive-tables/js/responsive-tables.js +66 -0
  587. data/share/views/public/plugins/zurb-responsive-tables/stylesheets/responsive-tables.css +50 -0
  588. data/share/views/tasks.haml +8 -0
  589. data/share/views/wait.haml +6 -0
  590. metadata +778 -0
@@ -0,0 +1,11 @@
1
+ - id = [workflow.to_s, task.to_s] * "__"
2
+ - action = to(File.join('/', workflow.to_s, task.to_s))
3
+ - task_info = workflow.task_info(task)
4
+
5
+ .workflow_task
6
+ .title
7
+ %h3
8
+ %span.workflow= workflow
9
+ %span.task= Misc.humanize task
10
+ .form
11
+ = partial_render('partials/form', :id => id, :action => action, :method => 'post', :enctype => "multipart/form-data", :info => task_info, :klass => 'workflow_task')
@@ -0,0 +1 @@
1
+ = hash2dl(info)
@@ -0,0 +1,23 @@
1
+ - if job
2
+ .row
3
+ .twelve.column
4
+ = workflow_partial('job_result/job_control', workflow, task, locals)
5
+ .row
6
+ .twelve.column
7
+ - case type
8
+ - when :tsv
9
+ = workflow_partial('job_result/tsv', workflow, task, locals)
10
+ - when :string
11
+ = workflow_partial('job_result/string', workflow, task, locals)
12
+ - when :array
13
+ = workflow_partial('job_result/array', workflow, task, locals)
14
+ - when :boolean
15
+ = workflow_partial('job_result/boolean', workflow, task, locals)
16
+ - when :binary
17
+ = workflow_partial('job_result/binary', workflow, task, locals)
18
+ - when :annotations
19
+ = workflow_partial('job_result/annotations', workflow, task, locals)
20
+ - when :yaml
21
+ = workflow_partial('job_result/yaml', workflow, task, locals)
22
+ - else
23
+ - raise "Unsupported result type: #{ type }"
@@ -0,0 +1,3 @@
1
+ %ul.annotations
2
+ - result.each do |entity|
3
+ %li= entity.respond_to?(:link) ? entity.link : entity
@@ -0,0 +1,4 @@
1
+ %ul
2
+ - result.each do |elem|
3
+ %li= elem
4
+
@@ -0,0 +1 @@
1
+ %a(href="#{@path}?_format=binary") Download
@@ -0,0 +1 @@
1
+ = result.to_s
@@ -0,0 +1 @@
1
+ %span.result_boolean= result.to_s
@@ -0,0 +1,18 @@
1
+ %dl
2
+ %dt Job control
3
+ %dd.job_control
4
+ %ul
5
+ %li
6
+ %a(href="/#{[workflow, task, jobname] * "/"}?_update=clean") clean
7
+ %li
8
+ %a(href="/#{[workflow, task, jobname, "info"] * "/"}") info
9
+ %li
10
+ %a(href="/#{[workflow, task, jobname] * "/"}?_format=raw") raw
11
+
12
+ - if job.files.any?
13
+ %dt Files
14
+ %dd
15
+ %ul
16
+ - job.files.each do |file|
17
+ %li
18
+ %a(href="/#{[workflow, task, jobname, "file", file] * "/"}")= file
@@ -0,0 +1 @@
1
+ %span.result_string= result
@@ -0,0 +1,7 @@
1
+ - table_id = [workflow.to_s, task, jobname] * "_"
2
+ - table_class = 'workflow_tsv_result'
3
+ - rows = tsv_rows(result)
4
+ - header = result.all_fields
5
+
6
+ = workflow_partial('partials/table', workflow, task,
7
+ locals.merge(:table_id => table_id, :table_calss => table_class, :rows => rows, :header => result.all_fields, :row_ids => :use))
@@ -0,0 +1 @@
1
+ %span.result= result.inspect
@@ -0,0 +1,89 @@
1
+ / paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
2
+ /[if lt IE 7 ] <html class=\"ie6\" lang=\"en\">
3
+ /[if IE 7 ] <html class=\"ie7\" lang=\"en\">
4
+ /[if IE 8 ] <html class=\"ie8\" lang=\"en\">
5
+ /[if IE 9 ] <html class=\"ie9\" lang=\"en\">
6
+ /[if (gt IE 9)|!(IE)] <!--> <html lang=\"en\">
7
+
8
+ - $zepto = false
9
+
10
+ %head
11
+ %meta(name="viewport" content="width=device-width, initial-scale=1.0")
12
+
13
+ %link{:rel => "icon", :type => "image/gif", :href => "/favicon.gif"}/
14
+
15
+ %title= $title || "Genome Scout"
16
+ - record_css '/stylesheets/app'
17
+
18
+ - record_css '/plugins/zurb-icons/foundation_icons_general/stylesheets/general_foundicons.css'
19
+
20
+
21
+ - if $zepto
22
+ - record_js "/js/zepto"
23
+ - record_js '/js/deffer'
24
+ = serve_js false
25
+ - else
26
+ - record_js '/js/deffer'
27
+ = serve_js
28
+ - %w(jquery-1.8.0.min jquery.cookie jquery.form).each do |jquery_file|
29
+ - record_js File.join('/plugins/jquery/js/', jquery_file)
30
+
31
+
32
+ -# %w(foundation foundation.alerts foundation.cookie foundation.forms foundation.reveal foundation.tooltips foundation.clearing foundation.dropdown foundation.joyride foundation.magellan foundation.placeholder foundation.section foundation.topbar custom.modernizr).each do |file|
33
+ - %w(foundation foundation.cookie foundation.reveal foundation.dropdown foundation.section foundation.topbar custom.modernizr).each do |file|
34
+ - record_js "/js/#{ file }"
35
+
36
+ - record_js '/plugins/jquery.tablesorter/jquery.tablesorter'
37
+ - record_js '/plugins/jquery.scrollTo/jquery.scrollTo'
38
+
39
+ - %w(_foundation _md5 _fix_tablesorter_science helpers _ajax_replace _dom_update _ellipsis entities favourites offcanvas actions lists tables tabs base app).each do |file|
40
+ - record_js "/js/#{ file }"
41
+
42
+
43
+ = serve_css
44
+
45
+ %body
46
+
47
+ #header
48
+ = partial_render('layout/header')
49
+
50
+ #body
51
+ - $wait = false
52
+ = yield
53
+
54
+ %footer
55
+ CNIO
56
+
57
+ #coda
58
+ = serve_js
59
+ - if $wait
60
+ :javascript
61
+ var url = window.location.toString();
62
+
63
+ function reload(){
64
+
65
+ $.ajax({url: add_parameters(url, '_layout=false'), cache:false,
66
+ success: function(data, stat, req){
67
+ if (req.status == 202){
68
+ $('#body').html(data)
69
+ window.setTimeout(reload, 7000);
70
+ }else{
71
+ window.location = url;
72
+ }
73
+ },
74
+
75
+ error:function(jqXHR, status, thrownError){
76
+ if (undefined === jqXHR.responseText || jqXHR.responseText == ''){
77
+ $('#body').html('No response. Server down?')
78
+ }else{
79
+ $('#body').html(jqXHR.responseText)
80
+ }
81
+ }})
82
+ }
83
+
84
+ window.setTimeout(reload, 7000);
85
+
86
+
87
+ #modal1.reveal-modal
88
+ #modal2.reveal-modal
89
+
@@ -0,0 +1,36 @@
1
+
2
+ %li.divider
3
+
4
+ %li#top-favourites.has-dropdown
5
+ %a(href="#") Fav. Entities
6
+
7
+ %ul.favourite_entities.dropdown
8
+ - favourite_entities.each do |type, entities|
9
+ %li.type.has-dropdown(entity_type=type)
10
+ %a(href="#")= type
11
+ %ul.dropdown
12
+ - entities.each do |entity|
13
+ %li
14
+ = entity.link
15
+
16
+ %li.divider
17
+
18
+ %li#top-favourite_lists.has-dropdown
19
+ %a(href="#") Fav. Entity Lists
20
+
21
+ %ul.favourite_entity_lists.dropdown
22
+ - favourite_entity_lists.each do |type, lists|
23
+ %li.type.has-dropdown(entity_type=type)
24
+ %a(href="#")= type
25
+ %ul.dropdown
26
+ - lists.each do |list_id|
27
+ %li
28
+ %a(href="#{Entity::REST.entity_list_url(list_id, type)}")= list_id
29
+
30
+ %li#top-favourite_lists.has-dropdown
31
+ %a(href="#") New Entity List
32
+ %ul.new_entity_list.dropdown
33
+ - Entity::REST::REST_ENTITIES.each do |mod|
34
+ %li
35
+ %a.new_list(href="#" data-reveal-id='modal1')= mod.to_s
36
+
@@ -0,0 +1,40 @@
1
+ %nav.top-bar
2
+
3
+ %ul.title-area
4
+ %li.name
5
+ %h1
6
+ %a(href="/")= $title || "Genome Scout"
7
+
8
+ %li.toggle-topbar.menu-icon
9
+ %a(href="#")
10
+ %span
11
+ Menu
12
+
13
+ %section.top-bar-section
14
+
15
+ %ul.left
16
+ %li
17
+ %a#reload_page(href="#")
18
+ %i.general.foundicon-refresh.hide-for-small
19
+ %span.show-for-small
20
+ Reload page
21
+
22
+ %ul.left
23
+ - if user and self.respond_to? :favourite_entities
24
+ %li#top-add-favourite
25
+ %a#toggle_favourite.inactive
26
+ %i.general.foundicon-star.hide-for-small
27
+ %span.add.show-for-small
28
+ Add to Favourites
29
+ %span.remove.show-for-small
30
+ Remove from Favourites
31
+
32
+ = partial_render('layout/favourites')
33
+
34
+ %ul.right
35
+ - if settings.respond_to? :finder and not settings.finder.nil?
36
+ %li.search.has-form
37
+ %form.collapse(action='/find' method="POST")
38
+ %input(type="text" name="term")
39
+ %button.secondary.radius.button(type="submit") Search
40
+
@@ -0,0 +1,2 @@
1
+ - if user.nil?
2
+ - redirect to('/login')
@@ -0,0 +1,26 @@
1
+ - id = nil unless defined? id
2
+ - action = nil unless defined? action
3
+ - klass = nil unless defined? klass
4
+ - method = 'post' unless defined? method
5
+ - enctype = 'multipart/form-data' unless defined? enctype
6
+ - info = {} unless defined? info
7
+
8
+ - klass = "#{klass} custom"
9
+
10
+ %form(class=klass action=action method=method id=id enctype=enctype)
11
+
12
+ - inputs = consume_parameter(:inputs, info) || []
13
+ - types = consume_parameter(:input_types, info) || {}
14
+ - defaults = consume_parameter(:input_defaults, info) || {}
15
+ - descriptions = consume_parameter(:input_descriptions, info) || {}
16
+ - options = consume_parameter(:input_options, info) || {}
17
+ - values = consume_parameter(:values, info) || {}
18
+
19
+ - inputs.each do |input|
20
+ - input_id = id.nil? ? nil : id + "__" << input.to_s
21
+ - hide = (options[input] != nil and options[input][:hide])
22
+ %div(class="input #{types[input]} #{input} #{hide ? 'hide' : ''}")
23
+ != form_input(input, types[input], defaults[input], values[input], descriptions[input], input_id, options[input])
24
+
25
+ .input.submit
26
+ %input(type="submit")
@@ -0,0 +1,93 @@
1
+ - table_options = {} unless defined? table_options and table_options
2
+ - headers = table_options[:headers]
3
+
4
+ - table_id = table_options[:table_id] unless defined? table_id and table_id
5
+ - table_class = table_options[:table_class] unless defined? table_class and table_class
6
+ - header = table_options[:header] unless defined? header and header
7
+ - row_ids = table_options[:row_ids] unless defined? row_ids and row_ids
8
+ - table_url = table_options[:url] unless defined? table_url and table_url
9
+ - total_size = table_options[:total_size] unless defined? total_size and total_size
10
+
11
+ - list_links = table_options[:list_links] unless defined? list_links and not list_links.nil?
12
+
13
+ - page = @page unless defined? page and not page.nil?
14
+
15
+ %table(id="#{Misc.snake_case(table_id)}" class=table_class attr-url=table_url attr-total_size=total_size attr-page=page)
16
+
17
+ - if table_id
18
+ %caption
19
+ %span.title= Misc.humanize table_id
20
+
21
+ - if header
22
+ %thead
23
+ %tr
24
+ - header.shift if row_ids == :consume
25
+ - header.each do |header|
26
+ %th= header
27
+
28
+ %tbody
29
+ - rows.each do |row|
30
+ - case row_ids
31
+ - when :consume
32
+ - row_id = row.shift
33
+ - when :use
34
+ - row_id = row.first
35
+ - else
36
+ - row_id = nil
37
+
38
+ %tr(id=row_id)
39
+ - row.each_with_index do |value, i|
40
+ - list_id = "#{ Misc.humanize(table_id) }: #{header[i]} for #{row.first}" if list_links and table_id and header and AnnotatedArray === value
41
+ - field = header ? header[i] : nil
42
+ -# if headers and headers.include? field
43
+ - value = Misc.prepare_entity(value.to_s, headers[field].first, headers[field].last)
44
+ %td= table_value(value, field, :list_id => list_id)
45
+
46
+
47
+ -#{{{ TFOOT
48
+ %tfoot
49
+ %tr
50
+ %th(colspan="#{header ? header.length : 100}")
51
+ - if page
52
+ - num, size, field = parse_page(page)
53
+ - num = num.to_i
54
+ - total_nums = total_size.to_i / size.to_i
55
+ - total_nums += 1 if total_size.to_i % size.to_i > 0
56
+ - start = [1, num - 2].max
57
+ - eend = [total_nums, num + 2].min
58
+ %ul.table_pagination.pagination
59
+ %li(class="arrow")
60
+ %a.prev(href="#") &laquo;
61
+
62
+ - if num - 2 > 1
63
+ %li(class="num")
64
+ %a(href="#") 1
65
+
66
+ - if num - 2 > 2
67
+ %li(class="inactive")
68
+ %a(href="#") ...
69
+
70
+ - (start..eend).each do |p|
71
+ %li(class="num#{p.to_s == num.to_s ? " active" : "" }")
72
+ %a(href="#")= p
73
+
74
+ - if num + 3 < total_nums
75
+ %li(class="inactive")
76
+ %a(href="#") ...
77
+
78
+ - if num + 2 < total_nums
79
+ %li(class="num")
80
+ %a(href="#")= total_nums
81
+
82
+ %li(class="arrow")
83
+ %a.next(href="#") &raquo;
84
+
85
+ %li(class="all")
86
+ %a.all(href="#") all
87
+ - if table_url
88
+ %ul.table_actions
89
+ %li.tsv
90
+ %a(href="#{add_GET_param(table_url, "_format", "tsv")}") tsv
91
+ %li.excel
92
+ %a(href="#{add_GET_param(table_url, "_format", "excel")}") excel
93
+
Binary file
@@ -0,0 +1,130 @@
1
+ var reload_seconds_for_try = {0: 1, 1: 1, 2: 2, 3: 2, 4: 3, 5: 7, 6: 7, 7: 7, 8: 7, 9: 7, 10: 30, 11: 30, 12: 60, 13: 120, 14: 120, 15: 120, 16: "STOP"}
2
+
3
+ function reload_time(object){
4
+ var tries = object.attr('reload-attempts');
5
+ if (undefined === tries){ tries = 0 };
6
+
7
+ if (typeof tries == 'string' || tries instanceof String){ tries = parseInt(tries) }
8
+
9
+
10
+ object.attr('reload-attempts', tries + 1);
11
+ return reload_seconds_for_try[tries];
12
+ }
13
+
14
+ function replace_object(object, href, embedd, complete){
15
+ if (embedd === undefined){ embedd = false; }
16
+ //if (complete === undefined){ complete = []; }
17
+
18
+ $.ajax({
19
+ url : href,
20
+ cache: false,
21
+ beforeSend: function(){ object.addClass("reloading"); object.find("span.error").remove() },
22
+ complete: complete,
23
+ error: function( req, text, error ) {
24
+ href = remove_parameter(href, '_update');
25
+ href = remove_parameter(href, '_');
26
+ error_span = $('<span>').html(error).addClass('error')
27
+ object.removeClass("reloading").addClass("error").css('height', 0).html(error_span).css('height', 'auto').attr('target-href', href);
28
+ },
29
+ success: function( data, stat, req ) {
30
+ object.removeClass('error');
31
+ if (req.status == 202){
32
+ object.addClass("reloading");
33
+ href = remove_parameter(href, '_update');
34
+ href = remove_parameter(href, '_');
35
+ var reload_seconds = reload_time(object);
36
+
37
+ if (reload_seconds == "STOP"){
38
+ object.removeClass("reloading").addClass("error").html("Maximum number or retries reached").attr('reload-attempts', 0);
39
+ }else{
40
+ window.setTimeout(function(){replace_object(object, href, embedd, complete)}, reload_seconds * 1000);
41
+ }
42
+ }else{
43
+ object.removeClass("reloading").attr('reload-attempts', 0);
44
+ if (embedd){
45
+ href = remove_parameter(href, '_update');
46
+ href = remove_parameter(href, '_');
47
+ object.html(data).addClass("embedded").attr('target-href', href);
48
+ capture_embedded_form(object);
49
+ update_rbbt();
50
+ }else{
51
+ object.replaceWith(data);
52
+ update_rbbt();
53
+ }
54
+ }
55
+ }
56
+ })
57
+ }
58
+
59
+ function replace_link(link){
60
+ var href = $(link).attr('href');
61
+
62
+ replace_object(link, href);
63
+ }
64
+
65
+ function update_embedded(object, reload){
66
+ var href = object.attr('target-href');
67
+ if (reload == true){
68
+ href = add_parameters(href, '_update=reload');
69
+ href = add_parameters(href, '_=' + Math.random().toString());
70
+ }
71
+ replace_object(object, href, true);
72
+ }
73
+
74
+
75
+ function capture_embedded_form(object){
76
+
77
+ object.find('form').submit(function(){
78
+ var form = $(this);
79
+ var embedded = object;
80
+
81
+ var params = "";
82
+
83
+ form.find('input').not('[type=submit]').not('[type=radio]').not('[type=checkbox]').each(function(){
84
+ var input = $(this)
85
+ if (params.length > 0){ params += '&'}
86
+ params += input.attr('name') + "=" + input.val();
87
+ })
88
+
89
+ form.find('input[type=checkbox]:checked').each(function(){
90
+ var input = $(this)
91
+ if (params.length > 0){ params += '&'}
92
+ params += input.attr('name') + "=" + input.val();
93
+ })
94
+
95
+ form.find('input[type=radio]:checked').each(function(){
96
+ var input = $(this)
97
+ if (params.length > 0){ params += '&'}
98
+ params += input.attr('name') + "=" + input.val();
99
+ })
100
+
101
+ form.find('select').not('[type=submit]').each(function(){
102
+ var select = $(this)
103
+ var option = select.find('option:selected');
104
+ if (params.length > 0){ params += '&'}
105
+ params += select.attr('name') + "=" + option.val();
106
+ })
107
+
108
+ form.find('textarea').each(function(){
109
+ var input = $(this)
110
+ if (params.length > 0){ params += '&'}
111
+ params += input.attr('name') + "=" + escape(input.val());
112
+ })
113
+
114
+
115
+ var url = embedded.attr('target-href');
116
+
117
+ if (url.indexOf('?') == -1){
118
+ url = url + '?' + params;
119
+ }else{
120
+ url = url.replace(/\?.*/, '?' + params);
121
+ }
122
+
123
+ embedded.attr('target-href', url)
124
+
125
+ update_embedded(embedded);
126
+
127
+ return false;
128
+ })
129
+ }
130
+