compass-jquery-plugin 0.2.6.0 → 0.3.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1376) hide show
  1. data/.document +2 -4
  2. data/.loadpath +5 -5
  3. data/.project +17 -17
  4. data/README.textile +50 -47
  5. data/VERSION.yml +3 -3
  6. data/compass-jquery-plugin.gemspec +1181 -511
  7. data/gem_tasks/dynatree.rake +7 -7
  8. data/gem_tasks/jqgrid.rake +7 -7
  9. data/gem_tasks/jqtouch.rake +35 -18
  10. data/gem_tasks/jrails.rake +0 -327
  11. data/gem_tasks/jrails13.rake +234 -0
  12. data/gem_tasks/jrails14.rake +268 -0
  13. data/gem_tasks/ribbon.rake +78 -0
  14. data/gem_tasks/rubygems.rake +1 -1
  15. data/gem_tasks/secret_sauce.rake +4 -4
  16. data/lib/handle_attributes.rb +23 -0
  17. data/lib/jquery/gridify/assertions.rb +37 -0
  18. data/lib/jquery/gridify/grid.rb +147 -0
  19. data/lib/jquery/gridify/grid_column.rb +125 -0
  20. data/lib/jquery/gridify/grid_finder.rb +192 -0
  21. data/lib/jquery/gridify/grid_options.rb +273 -0
  22. data/lib/jquery/gridify/grid_view.rb +404 -0
  23. data/lib/jquery/gridify.rb +42 -0
  24. data/lib/jquery/jqgrid/jqgrid.rb +87 -37
  25. data/lib/jquery/jqgrid.rb +1 -1
  26. data/lib/jquery/jquery_auto_complete.rb +44 -0
  27. data/lib/jquery/jquery_selector_assertions.rb +78 -0
  28. data/lib/jquery/jrails.rb +22 -10
  29. data/lib/jquery/{calendar.rb → ribbon.rb} +0 -0
  30. data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +10 -4
  31. data/lib/jquery/secret_sauce/model/find_for_grid.rb +1 -1
  32. data/lib/jquery/secret_sauce.rb +0 -1
  33. data/lib/jquery.ui.rb +144 -0
  34. data/templates/dynatree/jquery.dynatree.js +2036 -2018
  35. data/templates/dynatree/jquery.dynatree.min.js +59 -58
  36. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/cbChecked.png +0 -0
  37. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/cbChecked_hover.png +0 -0
  38. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/cbIntermediate.png +0 -0
  39. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/cbIntermediate_hover.png +0 -0
  40. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/cbUnchecked.png +0 -0
  41. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/cbUnchecked_hover.png +0 -0
  42. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/collapsed.png +0 -0
  43. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/collapsed_hover.png +0 -0
  44. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/customDoc1.png +0 -0
  45. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/customFolder1.png +0 -0
  46. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/doc_with_children.png +0 -0
  47. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/document.png +0 -0
  48. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/empty.png +0 -0
  49. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/expanded.png +0 -0
  50. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/expanded_hover.png +0 -0
  51. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/folder.png +0 -0
  52. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/folder_docs.png +0 -0
  53. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/folder_images.png +0 -0
  54. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/folder_page.png +0 -0
  55. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/ltDoc.png +0 -0
  56. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/ltError.png +0 -0
  57. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/ltWait.ani +0 -0
  58. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/ltWait.gif +0 -0
  59. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/rbChecked.png +0 -0
  60. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/rbChecked_hover.png +0 -0
  61. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/rbIntermediate.png +0 -0
  62. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/rbIntermediate_hover.png +0 -0
  63. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/rbUnchecked.png +0 -0
  64. data/templates/dynatree/jquery.ui/{dynatree.vista → dynatree.aero}/rbUnchecked_hover.png +0 -0
  65. data/templates/dynatree/jquery.ui/dynatree.aero.scss +144 -0
  66. data/templates/dynatree/jquery.ui/dynatree.aqua.scss +144 -0
  67. data/templates/dynatree/jquery.ui/dynatree.crystal.scss +144 -0
  68. data/templates/dynatree/jquery.ui/dynatree.xp/vline.png +0 -0
  69. data/templates/dynatree/jquery.ui/dynatree.xp.scss +239 -0
  70. data/templates/dynatree/manifest.rb +127 -128
  71. data/templates/jqgrid/config/initializers/jqgrid.rb +2 -3
  72. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +15 -15
  73. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +15 -15
  74. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +7 -7
  75. data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +8 -8
  76. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +8 -8
  77. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +7 -7
  78. data/templates/jqgrid/i18n/jqgrid/locale-dk.min.js +6 -6
  79. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +13 -13
  80. data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +6 -6
  81. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +12 -12
  82. data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +6 -6
  83. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +126 -126
  84. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +7 -7
  85. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +13 -13
  86. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +7 -7
  87. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +7 -7
  88. data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +10 -10
  89. data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +6 -6
  90. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +6 -6
  91. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +7 -7
  92. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +7 -7
  93. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +7 -7
  94. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +8 -8
  95. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +16 -16
  96. data/templates/jqgrid/i18n/jqgrid/locale-sk.js +127 -0
  97. data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +8 -0
  98. data/templates/jqgrid/i18n/jqgrid/locale-sp.min.js +7 -7
  99. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +7 -7
  100. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +7 -7
  101. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +16 -16
  102. data/templates/jqgrid/jquery.jqGrid.js +10471 -10255
  103. data/templates/jqgrid/jquery.jqGrid.min.js +430 -424
  104. data/templates/jqgrid/jquery.ui/jqGrid.scss +669 -0
  105. data/templates/jqgrid/manifest.rb +66 -64
  106. data/templates/jqtouch/jqtouch/apple/{blueButton.png → actionButton.png} +0 -0
  107. data/templates/jqtouch/jqtouch/apple/activeButton.png +0 -0
  108. data/templates/jqtouch/jqtouch/apple/greenButton.png +0 -0
  109. data/templates/jqtouch/jqtouch/apple/redButton.png +0 -0
  110. data/templates/jqtouch/jqtouch/iphone-emulator.scss +21 -0
  111. data/templates/jqtouch/jqtouch/iphone_fullsize.png +0 -0
  112. data/templates/jqtouch/jqtouch/jqt/activeButton.png +0 -0
  113. data/templates/jqtouch/jqtouch/jqt/blueButton.png +0 -0
  114. data/templates/jqtouch/jqtouch/jqt/greenButton.png +0 -0
  115. data/templates/jqtouch/jqtouch/jqt/redButton.png +0 -0
  116. data/templates/jqtouch/jqtouch/jqt.apple.scss +584 -0
  117. data/templates/jqtouch/jqtouch/jqt.jqt.scss +528 -0
  118. data/templates/jqtouch/jqtouch/jqt_startup.png +0 -0
  119. data/templates/jqtouch/jqtouch/jqtouch.png +0 -0
  120. data/templates/jqtouch/jqtouch/jqtouch.scss +310 -0
  121. data/templates/jqtouch/jquery.jqtouch.js +1026 -1006
  122. data/templates/jqtouch/jquery.jqtouch.min.js +26 -24
  123. data/templates/jqtouch/manifest.rb +52 -43
  124. data/templates/jrails-1.3/config/initializers/jrails.rb +29 -0
  125. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.js +20 -0
  126. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ar.min.js +4 -0
  127. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.js +20 -0
  128. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-bg.min.js +4 -0
  129. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.js +19 -0
  130. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ca.min.js +2 -0
  131. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.js +19 -0
  132. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-cs.min.js +2 -0
  133. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.js +19 -0
  134. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-da.min.js +2 -0
  135. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.js +19 -0
  136. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-de.min.js +2 -0
  137. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.js +19 -0
  138. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-el.min.js +4 -0
  139. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.js +19 -0
  140. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-eo.min.js +2 -0
  141. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.js +19 -0
  142. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-es.min.js +2 -0
  143. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.js +19 -0
  144. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fa.min.js +3 -0
  145. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.js +19 -0
  146. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fi.min.js +2 -0
  147. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.js +19 -0
  148. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-fr.min.js +2 -0
  149. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.js +19 -0
  150. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-he.min.js +3 -0
  151. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.js +19 -0
  152. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hr.min.js +2 -0
  153. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.js +19 -0
  154. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hu.min.js +2 -0
  155. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.js +19 -0
  156. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-hy.min.js +4 -0
  157. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.js +19 -0
  158. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-id.min.js +2 -0
  159. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.js +19 -0
  160. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-is.min.js +2 -0
  161. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.js +19 -0
  162. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-it.min.js +2 -0
  163. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.js +20 -0
  164. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ja.min.js +2 -0
  165. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.js +19 -0
  166. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ko.min.js +2 -0
  167. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.js +19 -0
  168. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lt.min.js +2 -0
  169. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.js +19 -0
  170. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-lv.min.js +2 -0
  171. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.js +19 -0
  172. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ms.min.js +2 -0
  173. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.js +19 -0
  174. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-nl.min.js +2 -0
  175. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.js +19 -0
  176. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-no.min.js +2 -0
  177. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.js +19 -0
  178. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pl.min.js +2 -0
  179. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.js +19 -0
  180. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-pt-BR.min.js +2 -0
  181. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.js +22 -0
  182. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ro.min.js +2 -0
  183. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.js +19 -0
  184. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-ru.min.js +4 -0
  185. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.js +19 -0
  186. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sk.min.js +2 -0
  187. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.js +20 -0
  188. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sl.min.js +2 -0
  189. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.js +19 -0
  190. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sq.min.js +2 -0
  191. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.js +19 -0
  192. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -0
  193. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.js +19 -0
  194. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sr.min.js +3 -0
  195. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.js +19 -0
  196. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-sv.min.js +2 -0
  197. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.js +19 -0
  198. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-th.min.js +4 -0
  199. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.js +19 -0
  200. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-tr.min.js +2 -0
  201. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.js +25 -0
  202. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-uk.min.js +4 -0
  203. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.js +19 -0
  204. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -0
  205. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.js +19 -0
  206. data/templates/jrails-1.3/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -0
  207. data/templates/jrails-1.3/jquery-1.3.2.js +7638 -0
  208. data/templates/jrails-1.3/jquery-1.3.2.min.js +178 -0
  209. data/templates/jrails-1.3/jquery-ui-1.7.2.js +18316 -0
  210. data/templates/jrails-1.3/jquery-ui-1.7.2.min.js +688 -0
  211. data/templates/jrails-1.3/jquery.contextMenu.js +211 -0
  212. data/templates/jrails-1.3/jquery.contextMenu.min.js +8 -0
  213. data/templates/jrails-1.3/jquery.haml.js +293 -0
  214. data/templates/jrails-1.3/jquery.haml.min.js +5 -0
  215. data/templates/jrails-1.3/jquery.pngFix.js +11 -0
  216. data/templates/jrails-1.3/jquery.pngFix.min.js +2 -0
  217. data/templates/jrails-1.3/jquery.themeswitchertool.js +190 -0
  218. data/templates/jrails-1.3/jquery.themeswitchertool.min.js +8 -0
  219. data/templates/jrails-1.3/jquery.ui/_theme.scss +1281 -0
  220. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  221. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  222. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  223. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  224. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  225. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  226. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  227. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  228. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-icons_222222_256x240.png +0 -0
  229. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-icons_2e83ff_256x240.png +0 -0
  230. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-icons_454545_256x240.png +0 -0
  231. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-icons_888888_256x240.png +0 -0
  232. data/templates/{jrails → jrails-1.3}/jquery.ui/base/ui-icons_cd0a0a_256x240.png +0 -0
  233. data/templates/jrails-1.3/jquery.ui/base.scss +85 -0
  234. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  235. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  236. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  237. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  238. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  239. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  240. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  241. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  242. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  243. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-icons_222222_256x240.png +0 -0
  244. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
  245. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  246. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-icons_ededed_256x240.png +0 -0
  247. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
  248. data/templates/{jrails → jrails-1.3}/jquery.ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
  249. data/templates/jrails-1.3/jquery.ui/black-tie.scss +85 -0
  250. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  251. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  252. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  253. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  254. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  255. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  256. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  257. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  258. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  259. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-icons_004276_256x240.png +0 -0
  260. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
  261. data/templates/{jrails → jrails-1.3}/jquery.ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
  262. data/templates/jrails-1.3/jquery.ui/blitzer.scss +85 -0
  263. data/templates/jrails-1.3/jquery.ui/contextMenu/cut.png +0 -0
  264. data/templates/jrails-1.3/jquery.ui/contextMenu/door.png +0 -0
  265. data/templates/jrails-1.3/jquery.ui/contextMenu/page_white_copy.png +0 -0
  266. data/templates/jrails-1.3/jquery.ui/contextMenu/page_white_delete.png +0 -0
  267. data/templates/jrails-1.3/jquery.ui/contextMenu/page_white_edit.png +0 -0
  268. data/templates/jrails-1.3/jquery.ui/contextMenu/page_white_paste.png +0 -0
  269. data/templates/jrails-1.3/jquery.ui/contextMenu.scss +49 -0
  270. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  271. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  272. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  273. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  274. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  275. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  276. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  277. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  278. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  279. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
  280. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  281. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  282. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  283. data/templates/{jrails → jrails-1.3}/jquery.ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
  284. data/templates/jrails-1.3/jquery.ui/cupertino.scss +85 -0
  285. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  286. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  287. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  288. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  289. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  290. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  291. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  292. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  293. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  294. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-icons_222222_256x240.png +0 -0
  295. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  296. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
  297. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  298. data/templates/{jrails → jrails-1.3}/jquery.ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  299. data/templates/jrails-1.3/jquery.ui/dark-hive.scss +85 -0
  300. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  301. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  302. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  303. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  304. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  305. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  306. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  307. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  308. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-icons_00498f_256x240.png +0 -0
  309. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  310. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
  311. data/templates/{jrails → jrails-1.3}/jquery.ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  312. data/templates/jrails-1.3/jquery.ui/dot-luv.scss +85 -0
  313. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  314. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  315. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  316. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  317. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  318. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  319. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  320. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  321. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  322. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-icons_454545_256x240.png +0 -0
  323. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-icons_734d99_256x240.png +0 -0
  324. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  325. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  326. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
  327. data/templates/{jrails → jrails-1.3}/jquery.ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
  328. data/templates/jrails-1.3/jquery.ui/eggplant.scss +85 -0
  329. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  330. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  331. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  332. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  333. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  334. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  335. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  336. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  337. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  338. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  339. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  340. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  341. data/templates/{jrails → jrails-1.3}/jquery.ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  342. data/templates/jrails-1.3/jquery.ui/excite-bike.scss +85 -0
  343. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  344. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  345. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  346. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  347. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  348. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  349. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  350. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  351. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-icons_0073ea_256x240.png +0 -0
  352. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-icons_454545_256x240.png +0 -0
  353. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-icons_666666_256x240.png +0 -0
  354. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-icons_ff0084_256x240.png +0 -0
  355. data/templates/{jrails → jrails-1.3}/jquery.ui/flick/ui-icons_ffffff_256x240.png +0 -0
  356. data/templates/jrails-1.3/jquery.ui/flick.scss +85 -0
  357. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  358. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  359. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  360. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  361. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  362. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  363. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  364. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  365. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  366. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  367. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  368. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  369. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  370. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  371. data/templates/{jrails → jrails-1.3}/jquery.ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  372. data/templates/jrails-1.3/jquery.ui/hot-sneaks.scss +85 -0
  373. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  374. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  375. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  376. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  377. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  378. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  379. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  380. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  381. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-icons_c47a23_256x240.png +0 -0
  382. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-icons_cb672b_256x240.png +0 -0
  383. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-icons_f08000_256x240.png +0 -0
  384. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-icons_f35f07_256x240.png +0 -0
  385. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-icons_ff7519_256x240.png +0 -0
  386. data/templates/{jrails → jrails-1.3}/jquery.ui/humanity/ui-icons_ffffff_256x240.png +0 -0
  387. data/templates/jrails-1.3/jquery.ui/humanity.scss +85 -0
  388. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  389. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  390. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  391. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  392. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  393. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  394. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  395. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  396. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  397. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
  398. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
  399. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  400. data/templates/{jrails → jrails-1.3}/jquery.ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
  401. data/templates/jrails-1.3/jquery.ui/le-frog.scss +85 -0
  402. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  403. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  404. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  405. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  406. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  407. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  408. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  409. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  410. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-icons_222222_256x240.png +0 -0
  411. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  412. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-icons_add978_256x240.png +0 -0
  413. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  414. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  415. data/templates/{jrails → jrails-1.3}/jquery.ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  416. data/templates/jrails-1.3/jquery.ui/mint-choc.scss +85 -0
  417. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  418. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  419. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  420. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  421. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  422. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  423. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  424. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  425. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  426. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-icons_3383bb_256x240.png +0 -0
  427. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-icons_454545_256x240.png +0 -0
  428. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
  429. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-icons_999999_256x240.png +0 -0
  430. data/templates/{jrails → jrails-1.3}/jquery.ui/overcast/ui-icons_fbc856_256x240.png +0 -0
  431. data/templates/jrails-1.3/jquery.ui/overcast.scss +85 -0
  432. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  433. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  434. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  435. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  436. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  437. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  438. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  439. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  440. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  441. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  442. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  443. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  444. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  445. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  446. data/templates/{jrails → jrails-1.3}/jquery.ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  447. data/templates/jrails-1.3/jquery.ui/pepper-grinder.scss +85 -0
  448. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  449. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  450. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  451. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  452. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  453. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  454. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  455. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  456. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  457. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
  458. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-icons_469bdd_256x240.png +0 -0
  459. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
  460. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  461. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  462. data/templates/{jrails → jrails-1.3}/jquery.ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
  463. data/templates/jrails-1.3/jquery.ui/redmond.scss +85 -0
  464. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  465. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  466. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  467. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  468. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  469. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  470. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  471. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  472. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-icons_222222_256x240.png +0 -0
  473. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  474. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-icons_454545_256x240.png +0 -0
  475. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-icons_888888_256x240.png +0 -0
  476. data/templates/{jrails → jrails-1.3}/jquery.ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  477. data/templates/jrails-1.3/jquery.ui/smoothness.scss +85 -0
  478. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  479. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  480. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  481. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  482. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  483. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  484. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  485. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  486. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  487. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-icons_808080_256x240.png +0 -0
  488. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-icons_847e71_256x240.png +0 -0
  489. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-icons_8DC262_256x240.png +0 -0
  490. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  491. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
  492. data/templates/{jrails → jrails-1.3}/jquery.ui/south-street/ui-icons_ffffff_256x240.png +0 -0
  493. data/templates/jrails-1.3/jquery.ui/south-street.scss +85 -0
  494. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  495. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  496. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  497. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  498. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  499. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  500. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  501. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  502. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  503. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  504. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
  505. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-icons_d19405_256x240.png +0 -0
  506. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-icons_eb990f_256x240.png +0 -0
  507. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
  508. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
  509. data/templates/{jrails → jrails-1.3}/jquery.ui/sunny/ui-icons_ffe180_256x240.png +0 -0
  510. data/templates/jrails-1.3/jquery.ui/sunny.scss +85 -0
  511. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  512. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  513. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  514. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  515. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  516. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  517. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  518. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  519. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
  520. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  521. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  522. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  523. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  524. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  525. data/templates/{jrails → jrails-1.3}/jquery.ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  526. data/templates/jrails-1.3/jquery.ui/swanky-purse.scss +85 -0
  527. data/templates/jrails-1.3/jquery.ui/themeSwitcher/buttonbg.png +0 -0
  528. data/templates/jrails-1.3/jquery.ui/themeSwitcher/icon_color_arrow.gif +0 -0
  529. data/templates/jrails-1.3/jquery.ui/themeSwitcher/menuhoverbg.png +0 -0
  530. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_black_matte.png +0 -0
  531. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_black_tie.png +0 -0
  532. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_blitzer.png +0 -0
  533. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_cupertino.png +0 -0
  534. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_dark_hive.png +0 -0
  535. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_dot_luv.png +0 -0
  536. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_eggplant.png +0 -0
  537. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_excite_bike.png +0 -0
  538. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_flick.png +0 -0
  539. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  540. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_humanity.png +0 -0
  541. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_le_frog.png +0 -0
  542. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_mint_choco.png +0 -0
  543. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_overcast.png +0 -0
  544. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  545. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_smoothness.png +0 -0
  546. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_south_street.png +0 -0
  547. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_sunny.png +0 -0
  548. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_swanky_purse.png +0 -0
  549. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_trontastic.png +0 -0
  550. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_ui_dark.png +0 -0
  551. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_ui_light.png +0 -0
  552. data/templates/jrails-1.3/jquery.ui/themeSwitcher/theme_90_windoze.png +0 -0
  553. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  554. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  555. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  556. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  557. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  558. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  559. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  560. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  561. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  562. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-icons_000000_256x240.png +0 -0
  563. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  564. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
  565. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  566. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  567. data/templates/{jrails → jrails-1.3}/jquery.ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
  568. data/templates/jrails-1.3/jquery.ui/trontastic.scss +85 -0
  569. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  570. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  571. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  572. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  573. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  574. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  575. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  576. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  577. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  578. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
  579. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  580. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  581. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  582. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  583. data/templates/jrails-1.3/jquery.ui/ui-darkness.scss +85 -0
  584. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  585. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  586. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  587. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  588. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  589. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  590. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  591. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  592. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  593. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
  594. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  595. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  596. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  597. data/templates/{jrails → jrails-1.3}/jquery.ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  598. data/templates/jrails-1.3/jquery.ui/ui-lightness.scss +85 -0
  599. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  600. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  601. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  602. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  603. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  604. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  605. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  606. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  607. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-icons_666666_256x240.png +0 -0
  608. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
  609. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
  610. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-icons_c98000_256x240.png +0 -0
  611. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-icons_cccccc_256x240.png +0 -0
  612. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
  613. data/templates/{jrails → jrails-1.3}/jquery.ui/vader/ui-icons_f29a00_256x240.png +0 -0
  614. data/templates/jrails-1.3/jquery.ui/vader.scss +85 -0
  615. data/templates/jrails-1.3/jrails.js +197 -0
  616. data/templates/jrails-1.3/jrails.min.js +8 -0
  617. data/templates/jrails-1.3/manifest.rb +496 -0
  618. data/templates/jrails-1.4/config/initializers/jrails.rb +31 -0
  619. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-af.js +23 -0
  620. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-af.min.js +2 -0
  621. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ar.js +24 -0
  622. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ar.min.js +4 -0
  623. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-az.js +23 -0
  624. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-az.min.js +2 -0
  625. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bg.js +24 -0
  626. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bg.min.js +4 -0
  627. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bs.js +23 -0
  628. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-bs.min.js +2 -0
  629. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ca.js +23 -0
  630. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ca.min.js +2 -0
  631. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-cs.js +23 -0
  632. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-cs.min.js +2 -0
  633. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-da.js +23 -0
  634. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-da.min.js +2 -0
  635. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-de.js +23 -0
  636. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-de.min.js +2 -0
  637. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-el.js +23 -0
  638. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-el.min.js +4 -0
  639. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-en-GB.js +23 -0
  640. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-en-GB.min.js +2 -0
  641. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eo.js +23 -0
  642. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eo.min.js +2 -0
  643. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-es.js +23 -0
  644. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-es.min.js +2 -0
  645. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-et.js +23 -0
  646. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-et.min.js +2 -0
  647. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eu.js +23 -0
  648. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-eu.min.js +2 -0
  649. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fa.js +23 -0
  650. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fa.min.js +3 -0
  651. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fi.js +23 -0
  652. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fi.min.js +2 -0
  653. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fo.js +23 -0
  654. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fo.min.js +2 -0
  655. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr-CH.js +23 -0
  656. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr-CH.min.js +2 -0
  657. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr.js +23 -0
  658. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-fr.min.js +2 -0
  659. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-he.js +23 -0
  660. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-he.min.js +3 -0
  661. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hr.js +23 -0
  662. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hr.min.js +2 -0
  663. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hu.js +23 -0
  664. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hu.min.js +2 -0
  665. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hy.js +23 -0
  666. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-hy.min.js +4 -0
  667. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-id.js +23 -0
  668. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-id.min.js +2 -0
  669. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-is.js +23 -0
  670. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-is.min.js +2 -0
  671. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-it.js +23 -0
  672. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-it.min.js +2 -0
  673. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ja.js +23 -0
  674. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ja.min.js +2 -0
  675. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ko.js +23 -0
  676. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ko.min.js +2 -0
  677. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lt.js +23 -0
  678. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lt.min.js +2 -0
  679. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lv.js +23 -0
  680. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-lv.min.js +2 -0
  681. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ms.js +23 -0
  682. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ms.min.js +2 -0
  683. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-nl.js +23 -0
  684. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-nl.min.js +2 -0
  685. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-no.js +23 -0
  686. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-no.min.js +2 -0
  687. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pl.js +23 -0
  688. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pl.min.js +2 -0
  689. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pt-BR.js +23 -0
  690. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-pt-BR.min.js +2 -0
  691. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ro.js +26 -0
  692. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ro.min.js +2 -0
  693. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ru.js +23 -0
  694. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ru.min.js +4 -0
  695. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sk.js +23 -0
  696. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sk.min.js +2 -0
  697. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sl.js +24 -0
  698. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sl.min.js +2 -0
  699. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sq.js +23 -0
  700. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sq.min.js +2 -0
  701. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr-SR.js +23 -0
  702. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr-SR.min.js +2 -0
  703. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr.js +23 -0
  704. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sr.min.js +4 -0
  705. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sv.js +23 -0
  706. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-sv.min.js +2 -0
  707. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ta.js +23 -0
  708. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-ta.min.js +4 -0
  709. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-th.js +23 -0
  710. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-th.min.js +4 -0
  711. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-tr.js +23 -0
  712. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-tr.min.js +2 -0
  713. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-uk.js +23 -0
  714. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-uk.min.js +4 -0
  715. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-vi.js +23 -0
  716. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-vi.min.js +2 -0
  717. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-CN.js +23 -0
  718. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-CN.min.js +2 -0
  719. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-HK.js +23 -0
  720. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-HK.min.js +2 -0
  721. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-TW.js +23 -0
  722. data/templates/jrails-1.4/i18n/jquery.ui/datepicker-zh-TW.min.js +2 -0
  723. data/templates/jrails-1.4/jquery-1.4.2.js +9502 -0
  724. data/templates/jrails-1.4/jquery-1.4.2.min.js +210 -0
  725. data/templates/jrails-1.4/jquery-ui-1.8.js +21904 -0
  726. data/templates/jrails-1.4/jquery-ui-1.8.min.js +766 -0
  727. data/templates/jrails-1.4/jquery.bgiframe.js +10 -0
  728. data/templates/jrails-1.4/jquery.bgiframe.min.js +2 -0
  729. data/templates/jrails-1.4/jquery.compat-1.3.js +291 -0
  730. data/templates/jrails-1.4/jquery.compat-1.3.min.js +6 -0
  731. data/templates/jrails-1.4/jquery.contextMenu.js +211 -0
  732. data/templates/jrails-1.4/jquery.contextMenu.min.js +8 -0
  733. data/templates/jrails-1.4/jquery.haml.js +293 -0
  734. data/templates/jrails-1.4/jquery.haml.min.js +5 -0
  735. data/templates/jrails-1.4/jquery.metadata.js +122 -0
  736. data/templates/jrails-1.4/jquery.metadata.min.js +2 -0
  737. data/templates/jrails-1.4/jquery.pngFix.js +11 -0
  738. data/templates/jrails-1.4/jquery.pngFix.min.js +2 -0
  739. data/templates/jrails-1.4/jquery.themeswitchertool.js +190 -0
  740. data/templates/jrails-1.4/jquery.themeswitchertool.min.js +8 -0
  741. data/templates/jrails-1.4/jquery.ui/_theme.scss +1433 -0
  742. data/templates/jrails-1.4/jquery.ui/base/ui-anim_basic_16x16.gif +0 -0
  743. data/templates/jrails-1.4/jquery.ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  744. data/templates/jrails-1.4/jquery.ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  745. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  746. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  747. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  748. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  749. data/templates/jrails-1.4/jquery.ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  750. data/templates/jrails-1.4/jquery.ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  751. data/templates/jrails-1.4/jquery.ui/base/ui-icons_222222_256x240.png +0 -0
  752. data/templates/jrails-1.4/jquery.ui/base/ui-icons_2e83ff_256x240.png +0 -0
  753. data/templates/jrails-1.4/jquery.ui/base/ui-icons_454545_256x240.png +0 -0
  754. data/templates/jrails-1.4/jquery.ui/base/ui-icons_888888_256x240.png +0 -0
  755. data/templates/jrails-1.4/jquery.ui/base/ui-icons_cd0a0a_256x240.png +0 -0
  756. data/templates/jrails-1.4/jquery.ui/base.scss +90 -0
  757. data/templates/jrails-1.4/jquery.ui/black-tie/ui-anim_basic_16x16.gif +0 -0
  758. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  759. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  760. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  761. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  762. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  763. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  764. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  765. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  766. data/templates/jrails-1.4/jquery.ui/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  767. data/templates/jrails-1.4/jquery.ui/black-tie/ui-icons_222222_256x240.png +0 -0
  768. data/templates/jrails-1.4/jquery.ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
  769. data/templates/jrails-1.4/jquery.ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  770. data/templates/jrails-1.4/jquery.ui/black-tie/ui-icons_ededed_256x240.png +0 -0
  771. data/templates/jrails-1.4/jquery.ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
  772. data/templates/jrails-1.4/jquery.ui/black-tie/ui-icons_ffffff_256x240.png +0 -0
  773. data/templates/jrails-1.4/jquery.ui/black-tie.scss +90 -0
  774. data/templates/jrails-1.4/jquery.ui/blitzer/ui-anim_basic_16x16.gif +0 -0
  775. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  776. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  777. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  778. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  779. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  780. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  781. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  782. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  783. data/templates/jrails-1.4/jquery.ui/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  784. data/templates/jrails-1.4/jquery.ui/blitzer/ui-icons_004276_256x240.png +0 -0
  785. data/templates/jrails-1.4/jquery.ui/blitzer/ui-icons_cc0000_256x240.png +0 -0
  786. data/templates/jrails-1.4/jquery.ui/blitzer/ui-icons_ffffff_256x240.png +0 -0
  787. data/templates/jrails-1.4/jquery.ui/blitzer.scss +90 -0
  788. data/templates/jrails-1.4/jquery.ui/contextMenu/cut.png +0 -0
  789. data/templates/jrails-1.4/jquery.ui/contextMenu/door.png +0 -0
  790. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_copy.png +0 -0
  791. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_delete.png +0 -0
  792. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_edit.png +0 -0
  793. data/templates/jrails-1.4/jquery.ui/contextMenu/page_white_paste.png +0 -0
  794. data/templates/jrails-1.4/jquery.ui/contextMenu.scss +49 -0
  795. data/templates/jrails-1.4/jquery.ui/cupertino/ui-anim_basic_16x16.gif +0 -0
  796. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  797. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  798. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  799. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  800. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  801. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  802. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  803. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  804. data/templates/jrails-1.4/jquery.ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  805. data/templates/jrails-1.4/jquery.ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
  806. data/templates/jrails-1.4/jquery.ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  807. data/templates/jrails-1.4/jquery.ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  808. data/templates/jrails-1.4/jquery.ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  809. data/templates/jrails-1.4/jquery.ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
  810. data/templates/jrails-1.4/jquery.ui/cupertino.scss +90 -0
  811. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-anim_basic_16x16.gif +0 -0
  812. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  813. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  814. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  815. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  816. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  817. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  818. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  819. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  820. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  821. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-icons_222222_256x240.png +0 -0
  822. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  823. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-icons_a83300_256x240.png +0 -0
  824. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  825. data/templates/jrails-1.4/jquery.ui/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  826. data/templates/jrails-1.4/jquery.ui/dark-hive.scss +90 -0
  827. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-anim_basic_16x16.gif +0 -0
  828. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  829. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  830. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  831. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  832. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  833. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  834. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  835. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  836. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-icons_00498f_256x240.png +0 -0
  837. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  838. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
  839. data/templates/jrails-1.4/jquery.ui/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  840. data/templates/jrails-1.4/jquery.ui/dot-luv.scss +90 -0
  841. data/templates/jrails-1.4/jquery.ui/eggplant/ui-anim_basic_16x16.gif +0 -0
  842. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  843. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  844. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  845. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  846. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  847. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  848. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  849. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  850. data/templates/jrails-1.4/jquery.ui/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  851. data/templates/jrails-1.4/jquery.ui/eggplant/ui-icons_454545_256x240.png +0 -0
  852. data/templates/jrails-1.4/jquery.ui/eggplant/ui-icons_734d99_256x240.png +0 -0
  853. data/templates/jrails-1.4/jquery.ui/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  854. data/templates/jrails-1.4/jquery.ui/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  855. data/templates/jrails-1.4/jquery.ui/eggplant/ui-icons_ebccce_256x240.png +0 -0
  856. data/templates/jrails-1.4/jquery.ui/eggplant/ui-icons_ffffff_256x240.png +0 -0
  857. data/templates/jrails-1.4/jquery.ui/eggplant.scss +90 -0
  858. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-anim_basic_16x16.gif +0 -0
  859. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  860. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  861. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  862. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  863. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  864. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  865. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  866. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  867. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  868. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  869. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  870. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  871. data/templates/jrails-1.4/jquery.ui/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  872. data/templates/jrails-1.4/jquery.ui/excite-bike.scss +90 -0
  873. data/templates/jrails-1.4/jquery.ui/flick/ui-anim_basic_16x16.gif +0 -0
  874. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  875. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  876. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  877. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  878. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  879. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  880. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  881. data/templates/jrails-1.4/jquery.ui/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  882. data/templates/jrails-1.4/jquery.ui/flick/ui-icons_0073ea_256x240.png +0 -0
  883. data/templates/jrails-1.4/jquery.ui/flick/ui-icons_454545_256x240.png +0 -0
  884. data/templates/jrails-1.4/jquery.ui/flick/ui-icons_666666_256x240.png +0 -0
  885. data/templates/jrails-1.4/jquery.ui/flick/ui-icons_ff0084_256x240.png +0 -0
  886. data/templates/jrails-1.4/jquery.ui/flick/ui-icons_ffffff_256x240.png +0 -0
  887. data/templates/jrails-1.4/jquery.ui/flick.scss +90 -0
  888. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-anim_basic_16x16.gif +0 -0
  889. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  890. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  891. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  892. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  893. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  894. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  895. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  896. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  897. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  898. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  899. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  900. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  901. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  902. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  903. data/templates/jrails-1.4/jquery.ui/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  904. data/templates/jrails-1.4/jquery.ui/hot-sneaks.scss +90 -0
  905. data/templates/jrails-1.4/jquery.ui/humanity/ui-anim_basic_16x16.gif +0 -0
  906. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  907. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  908. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  909. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  910. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  911. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  912. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  913. data/templates/jrails-1.4/jquery.ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  914. data/templates/jrails-1.4/jquery.ui/humanity/ui-icons_c47a23_256x240.png +0 -0
  915. data/templates/jrails-1.4/jquery.ui/humanity/ui-icons_cb672b_256x240.png +0 -0
  916. data/templates/jrails-1.4/jquery.ui/humanity/ui-icons_f08000_256x240.png +0 -0
  917. data/templates/jrails-1.4/jquery.ui/humanity/ui-icons_f35f07_256x240.png +0 -0
  918. data/templates/jrails-1.4/jquery.ui/humanity/ui-icons_ff7519_256x240.png +0 -0
  919. data/templates/jrails-1.4/jquery.ui/humanity/ui-icons_ffffff_256x240.png +0 -0
  920. data/templates/jrails-1.4/jquery.ui/humanity.scss +90 -0
  921. data/templates/jrails-1.4/jquery.ui/le-frog/ui-anim_basic_16x16.gif +0 -0
  922. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  923. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  924. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  925. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  926. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  927. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  928. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  929. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  930. data/templates/jrails-1.4/jquery.ui/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  931. data/templates/jrails-1.4/jquery.ui/le-frog/ui-icons_4eb305_256x240.png +0 -0
  932. data/templates/jrails-1.4/jquery.ui/le-frog/ui-icons_72b42d_256x240.png +0 -0
  933. data/templates/jrails-1.4/jquery.ui/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  934. data/templates/jrails-1.4/jquery.ui/le-frog/ui-icons_ffffff_256x240.png +0 -0
  935. data/templates/jrails-1.4/jquery.ui/le-frog.scss +90 -0
  936. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-anim_basic_16x16.gif +0 -0
  937. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  938. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  939. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  940. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  941. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  942. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  943. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  944. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  945. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-icons_222222_256x240.png +0 -0
  946. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  947. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-icons_add978_256x240.png +0 -0
  948. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  949. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  950. data/templates/jrails-1.4/jquery.ui/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  951. data/templates/jrails-1.4/jquery.ui/mint-choc.scss +90 -0
  952. data/templates/jrails-1.4/jquery.ui/overcast/ui-anim_basic_16x16.gif +0 -0
  953. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  954. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  955. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  956. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  957. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  958. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  959. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  960. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  961. data/templates/jrails-1.4/jquery.ui/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  962. data/templates/jrails-1.4/jquery.ui/overcast/ui-icons_3383bb_256x240.png +0 -0
  963. data/templates/jrails-1.4/jquery.ui/overcast/ui-icons_454545_256x240.png +0 -0
  964. data/templates/jrails-1.4/jquery.ui/overcast/ui-icons_70b2e1_256x240.png +0 -0
  965. data/templates/jrails-1.4/jquery.ui/overcast/ui-icons_999999_256x240.png +0 -0
  966. data/templates/jrails-1.4/jquery.ui/overcast/ui-icons_fbc856_256x240.png +0 -0
  967. data/templates/jrails-1.4/jquery.ui/overcast.scss +90 -0
  968. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-anim_basic_16x16.gif +0 -0
  969. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  970. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  971. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  972. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  973. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  974. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  975. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  976. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  977. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  978. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  979. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  980. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  981. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  982. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  983. data/templates/jrails-1.4/jquery.ui/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  984. data/templates/jrails-1.4/jquery.ui/pepper-grinder.scss +90 -0
  985. data/templates/jrails-1.4/jquery.ui/redmond/ui-anim_basic_16x16.gif +0 -0
  986. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  987. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  988. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  989. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  990. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  991. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  992. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  993. data/templates/jrails-1.4/jquery.ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  994. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  995. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
  996. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_469bdd_256x240.png +0 -0
  997. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
  998. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  999. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  1000. data/templates/jrails-1.4/jquery.ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
  1001. data/templates/jrails-1.4/jquery.ui/redmond.scss +90 -0
  1002. data/templates/jrails-1.4/jquery.ui/smoothness/ui-anim_basic_16x16.gif +0 -0
  1003. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1004. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1005. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1006. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1007. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  1008. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1009. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1010. data/templates/jrails-1.4/jquery.ui/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1011. data/templates/jrails-1.4/jquery.ui/smoothness/ui-icons_222222_256x240.png +0 -0
  1012. data/templates/jrails-1.4/jquery.ui/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  1013. data/templates/jrails-1.4/jquery.ui/smoothness/ui-icons_454545_256x240.png +0 -0
  1014. data/templates/jrails-1.4/jquery.ui/smoothness/ui-icons_888888_256x240.png +0 -0
  1015. data/templates/jrails-1.4/jquery.ui/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  1016. data/templates/jrails-1.4/jquery.ui/smoothness.scss +90 -0
  1017. data/templates/jrails-1.4/jquery.ui/south-street/ui-anim_basic_16x16.gif +0 -0
  1018. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  1019. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  1020. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  1021. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  1022. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  1023. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  1024. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  1025. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  1026. data/templates/jrails-1.4/jquery.ui/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  1027. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_808080_256x240.png +0 -0
  1028. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_847e71_256x240.png +0 -0
  1029. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_8dc262_256x240.png +0 -0
  1030. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  1031. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_eeeeee_256x240.png +0 -0
  1032. data/templates/jrails-1.4/jquery.ui/south-street/ui-icons_ffffff_256x240.png +0 -0
  1033. data/templates/jrails-1.4/jquery.ui/south-street.scss +90 -0
  1034. data/templates/jrails-1.4/jquery.ui/start/ui-anim_basic_16x16.gif +0 -0
  1035. data/templates/jrails-1.4/jquery.ui/start/ui-bg_flat_55_999999_40x100.png +0 -0
  1036. data/templates/jrails-1.4/jquery.ui/start/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  1037. data/templates/jrails-1.4/jquery.ui/start/ui-bg_glass_45_0078ae_1x400.png +0 -0
  1038. data/templates/jrails-1.4/jquery.ui/start/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  1039. data/templates/jrails-1.4/jquery.ui/start/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  1040. data/templates/jrails-1.4/jquery.ui/start/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  1041. data/templates/jrails-1.4/jquery.ui/start/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  1042. data/templates/jrails-1.4/jquery.ui/start/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  1043. data/templates/jrails-1.4/jquery.ui/start/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  1044. data/templates/jrails-1.4/jquery.ui/start/ui-icons_0078ae_256x240.png +0 -0
  1045. data/templates/jrails-1.4/jquery.ui/start/ui-icons_056b93_256x240.png +0 -0
  1046. data/templates/jrails-1.4/jquery.ui/start/ui-icons_d8e7f3_256x240.png +0 -0
  1047. data/templates/jrails-1.4/jquery.ui/start/ui-icons_e0fdff_256x240.png +0 -0
  1048. data/templates/jrails-1.4/jquery.ui/start/ui-icons_f5e175_256x240.png +0 -0
  1049. data/templates/jrails-1.4/jquery.ui/start/ui-icons_f7a50d_256x240.png +0 -0
  1050. data/templates/jrails-1.4/jquery.ui/start/ui-icons_fcd113_256x240.png +0 -0
  1051. data/templates/jrails-1.4/jquery.ui/start.scss +90 -0
  1052. data/templates/jrails-1.4/jquery.ui/sunny/ui-anim_basic_16x16.gif +0 -0
  1053. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  1054. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1055. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1056. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  1057. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  1058. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  1059. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  1060. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  1061. data/templates/jrails-1.4/jquery.ui/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  1062. data/templates/jrails-1.4/jquery.ui/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  1063. data/templates/jrails-1.4/jquery.ui/sunny/ui-icons_bd7b00_256x240.png +0 -0
  1064. data/templates/jrails-1.4/jquery.ui/sunny/ui-icons_d19405_256x240.png +0 -0
  1065. data/templates/jrails-1.4/jquery.ui/sunny/ui-icons_eb990f_256x240.png +0 -0
  1066. data/templates/jrails-1.4/jquery.ui/sunny/ui-icons_ed9f26_256x240.png +0 -0
  1067. data/templates/jrails-1.4/jquery.ui/sunny/ui-icons_fadc7a_256x240.png +0 -0
  1068. data/templates/jrails-1.4/jquery.ui/sunny/ui-icons_ffe180_256x240.png +0 -0
  1069. data/templates/jrails-1.4/jquery.ui/sunny.scss +90 -0
  1070. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-anim_basic_16x16.gif +0 -0
  1071. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  1072. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  1073. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  1074. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  1075. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  1076. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  1077. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  1078. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  1079. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_070603_256x240.png +0 -0
  1080. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  1081. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  1082. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  1083. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  1084. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  1085. data/templates/jrails-1.4/jquery.ui/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  1086. data/templates/jrails-1.4/jquery.ui/swanky-purse.scss +90 -0
  1087. data/templates/jrails-1.4/jquery.ui/themeSwitcher/buttonbg.png +0 -0
  1088. data/templates/jrails-1.4/jquery.ui/themeSwitcher/icon_color_arrow.gif +0 -0
  1089. data/templates/jrails-1.4/jquery.ui/themeSwitcher/menuhoverbg.png +0 -0
  1090. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_black_matte.png +0 -0
  1091. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_black_tie.png +0 -0
  1092. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_blitzer.png +0 -0
  1093. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_cupertino.png +0 -0
  1094. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_dark_hive.png +0 -0
  1095. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_dot_luv.png +0 -0
  1096. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_eggplant.png +0 -0
  1097. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_excite_bike.png +0 -0
  1098. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_flick.png +0 -0
  1099. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  1100. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_humanity.png +0 -0
  1101. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_le_frog.png +0 -0
  1102. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_mint_choco.png +0 -0
  1103. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_overcast.png +0 -0
  1104. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  1105. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_smoothness.png +0 -0
  1106. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_south_street.png +0 -0
  1107. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_start_menu.png +0 -0
  1108. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_sunny.png +0 -0
  1109. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_swanky_purse.png +0 -0
  1110. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_trontastic.png +0 -0
  1111. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_ui_dark.png +0 -0
  1112. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_ui_light.png +0 -0
  1113. data/templates/jrails-1.4/jquery.ui/themeSwitcher/theme_90_windoze.png +0 -0
  1114. data/templates/jrails-1.4/jquery.ui/trontastic/ui-anim_basic_16x16.gif +0 -0
  1115. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  1116. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  1117. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  1118. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  1119. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  1120. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  1121. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  1122. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  1123. data/templates/jrails-1.4/jquery.ui/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  1124. data/templates/jrails-1.4/jquery.ui/trontastic/ui-icons_000000_256x240.png +0 -0
  1125. data/templates/jrails-1.4/jquery.ui/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  1126. data/templates/jrails-1.4/jquery.ui/trontastic/ui-icons_9fda58_256x240.png +0 -0
  1127. data/templates/jrails-1.4/jquery.ui/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  1128. data/templates/jrails-1.4/jquery.ui/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  1129. data/templates/jrails-1.4/jquery.ui/trontastic/ui-icons_ffffff_256x240.png +0 -0
  1130. data/templates/jrails-1.4/jquery.ui/trontastic.scss +90 -0
  1131. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-anim_basic_16x16.gif +0 -0
  1132. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1133. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1134. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  1135. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  1136. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  1137. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  1138. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  1139. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  1140. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  1141. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-icons_222222_256x240.png +0 -0
  1142. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  1143. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  1144. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  1145. data/templates/jrails-1.4/jquery.ui/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  1146. data/templates/jrails-1.4/jquery.ui/ui-darkness.scss +90 -0
  1147. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-anim_basic_16x16.gif +0 -0
  1148. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  1149. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  1150. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  1151. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  1152. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  1153. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1154. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  1155. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  1156. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  1157. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_222222_256x240.png +0 -0
  1158. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  1159. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  1160. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  1161. data/templates/jrails-1.4/jquery.ui/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  1162. data/templates/jrails-1.4/jquery.ui/ui-lightness.scss +90 -0
  1163. data/templates/jrails-1.4/jquery.ui/vader/ui-anim_basic_16x16.gif +0 -0
  1164. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1165. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1166. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  1167. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  1168. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  1169. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  1170. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  1171. data/templates/jrails-1.4/jquery.ui/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  1172. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_666666_256x240.png +0 -0
  1173. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_aaaaaa_256x240.png +0 -0
  1174. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
  1175. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_c98000_256x240.png +0 -0
  1176. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_cccccc_256x240.png +0 -0
  1177. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_cd0a0a_256x240.png +0 -0
  1178. data/templates/jrails-1.4/jquery.ui/vader/ui-icons_f29a00_256x240.png +0 -0
  1179. data/templates/jrails-1.4/jquery.ui/vader.scss +90 -0
  1180. data/templates/jrails-1.4/jrails.js +197 -0
  1181. data/templates/jrails-1.4/jrails.min.js +8 -0
  1182. data/templates/jrails-1.4/manifest.rb +568 -0
  1183. data/templates/ribbon/config/initializers/ribbon.rb +3 -0
  1184. data/templates/ribbon/jquery.ribbon.js +226 -0
  1185. data/templates/ribbon/jquery.ribbon.min.js +14 -0
  1186. data/templates/ribbon/jquery.ui/ribbon.simple/arrow.png +0 -0
  1187. data/templates/ribbon/jquery.ui/ribbon.simple/arrow_down.png +0 -0
  1188. data/templates/ribbon/jquery.ui/ribbon.simple/bg.png +0 -0
  1189. data/templates/ribbon/jquery.ui/ribbon.simple/item_background.png +0 -0
  1190. data/templates/ribbon/jquery.ui/ribbon.simple/item_small_background.png +0 -0
  1191. data/templates/ribbon/jquery.ui/ribbon.simple/menu_background.png +0 -0
  1192. data/templates/ribbon/jquery.ui/ribbon.simple/menu_bottom.png +0 -0
  1193. data/templates/ribbon/jquery.ui/ribbon.simple/menu_dropdownitembg.png +0 -0
  1194. data/templates/ribbon/jquery.ui/ribbon.simple/menu_dropdownitembghover.png +0 -0
  1195. data/templates/ribbon/jquery.ui/ribbon.simple/menu_item_hover.png +0 -0
  1196. data/templates/ribbon/jquery.ui/ribbon.simple/menu_middle.png +0 -0
  1197. data/templates/ribbon/jquery.ui/ribbon.simple/menu_top.png +0 -0
  1198. data/templates/ribbon/jquery.ui/ribbon.simple/menuitem_background.png +0 -0
  1199. data/templates/ribbon/jquery.ui/ribbon.simple/orb.png +0 -0
  1200. data/templates/ribbon/jquery.ui/ribbon.simple/orb_hover.png +0 -0
  1201. data/templates/ribbon/jquery.ui/ribbon.simple/orb_submenu_item_hover.png +0 -0
  1202. data/templates/ribbon/jquery.ui/ribbon.simple/top_background.png +0 -0
  1203. data/templates/ribbon/jquery.ui/ribbon.simple.scss +271 -0
  1204. data/templates/ribbon/jquery.ui/ribbon.windows7/arrow.png +0 -0
  1205. data/templates/ribbon/jquery.ui/ribbon.windows7/arrow_down.png +0 -0
  1206. data/templates/ribbon/jquery.ui/ribbon.windows7/bg.png +0 -0
  1207. data/templates/ribbon/jquery.ui/ribbon.windows7/item_background.png +0 -0
  1208. data/templates/ribbon/jquery.ui/ribbon.windows7/item_small_background.png +0 -0
  1209. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_background.png +0 -0
  1210. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_bottom.png +0 -0
  1211. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_dropdownitembg.png +0 -0
  1212. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_dropdownitembghover.png +0 -0
  1213. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_item_hover.png +0 -0
  1214. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_middle.png +0 -0
  1215. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_top.png +0 -0
  1216. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_top_backstage.png +0 -0
  1217. data/templates/ribbon/jquery.ui/ribbon.windows7/menu_top_backstage2.png +0 -0
  1218. data/templates/ribbon/jquery.ui/ribbon.windows7/menuitem_background.png +0 -0
  1219. data/templates/ribbon/jquery.ui/ribbon.windows7/orb.png +0 -0
  1220. data/templates/ribbon/jquery.ui/ribbon.windows7/orb_hover.png +0 -0
  1221. data/templates/ribbon/jquery.ui/ribbon.windows7/orb_office.png +0 -0
  1222. data/templates/ribbon/jquery.ui/ribbon.windows7/orb_office_hover.png +0 -0
  1223. data/templates/ribbon/jquery.ui/ribbon.windows7/orb_submenu_item_hover.png +0 -0
  1224. data/templates/ribbon/jquery.ui/ribbon.windows7/ribbon-backstage-firstLevel-hover.png +0 -0
  1225. data/templates/ribbon/jquery.ui/ribbon.windows7/ribbon-backstage-rightColumn-wide.png +0 -0
  1226. data/templates/ribbon/jquery.ui/ribbon.windows7/ribbon-backstage-subMenu-item-hover.png +0 -0
  1227. data/templates/ribbon/jquery.ui/ribbon.windows7/ribbon-backstage-subMenu-item.png +0 -0
  1228. data/templates/ribbon/jquery.ui/ribbon.windows7/ribbon-backstage-subMenu-itemSquare-hover.png +0 -0
  1229. data/templates/ribbon/jquery.ui/ribbon.windows7/ribbon-backstage-subMenu-itemSquare.png +0 -0
  1230. data/templates/ribbon/jquery.ui/ribbon.windows7/top_background.png +0 -0
  1231. data/templates/ribbon/jquery.ui/ribbon.windows7.scss +454 -0
  1232. data/templates/ribbon/manifest.rb +52 -0
  1233. data/templates/secret_sauce/app/views/ui/_ui_grid_for_without_block.js.haml +144 -139
  1234. data/templates/secret_sauce/config/initializers/secret_sauce.rb +6 -7
  1235. data/templates/secret_sauce/jquery.ui/secret_sauce.scss +33 -0
  1236. data/templates/secret_sauce/manifest.rb +10 -10
  1237. data/templates/secret_sauce/secret_sauce.js +11 -11
  1238. data/templates/secret_sauce/secret_sauce.min.js +1 -1
  1239. metadata +1188 -522
  1240. data/gem_tasks/calendar.rake +0 -76
  1241. data/lib/jquery/jqgrid/jqgrid2xml.rb +0 -50
  1242. data/lib/jquery/secret_sauce/helpers/ui_theme_helper.rb +0 -16
  1243. data/templates/calendar/config/initializers/calendar.rb +0 -3
  1244. data/templates/calendar/jquery.calendar.js +0 -2047
  1245. data/templates/calendar/jquery.calendar.min.js +0 -11
  1246. data/templates/calendar/jquery.ui/calendar.sass +0 -288
  1247. data/templates/calendar/manifest.rb +0 -7
  1248. data/templates/dynatree/jquery.ui/dynatree.aqua.sass +0 -177
  1249. data/templates/dynatree/jquery.ui/dynatree.crystal/edit_add.png +0 -0
  1250. data/templates/dynatree/jquery.ui/dynatree.crystal.sass +0 -177
  1251. data/templates/dynatree/jquery.ui/dynatree.vista.sass +0 -177
  1252. data/templates/dynatree/jquery.ui/dynatree.xp/ui.dynatree.css +0 -287
  1253. data/templates/dynatree/jquery.ui/dynatree.xp.sass +0 -178
  1254. data/templates/jqgrid/jquery.ui/jqGrid.sass +0 -761
  1255. data/templates/jqtouch/jqtouch/apple.sass +0 -651
  1256. data/templates/jqtouch/jqtouch/iphone-emulator.sass +0 -17
  1257. data/templates/jqtouch/jqtouch/jqt.sass +0 -580
  1258. data/templates/jqtouch/jqtouch/jqtouch.sass +0 -75
  1259. data/templates/jrails/config/initializers/jrails.rb +0 -25
  1260. data/templates/jrails/i18n/jquery.ui/datepicker-ar.js +0 -20
  1261. data/templates/jrails/i18n/jquery.ui/datepicker-ar.min.js +0 -4
  1262. data/templates/jrails/i18n/jquery.ui/datepicker-bg.js +0 -20
  1263. data/templates/jrails/i18n/jquery.ui/datepicker-bg.min.js +0 -4
  1264. data/templates/jrails/i18n/jquery.ui/datepicker-ca.js +0 -19
  1265. data/templates/jrails/i18n/jquery.ui/datepicker-ca.min.js +0 -2
  1266. data/templates/jrails/i18n/jquery.ui/datepicker-cs.js +0 -19
  1267. data/templates/jrails/i18n/jquery.ui/datepicker-cs.min.js +0 -2
  1268. data/templates/jrails/i18n/jquery.ui/datepicker-da.js +0 -19
  1269. data/templates/jrails/i18n/jquery.ui/datepicker-da.min.js +0 -2
  1270. data/templates/jrails/i18n/jquery.ui/datepicker-de.js +0 -19
  1271. data/templates/jrails/i18n/jquery.ui/datepicker-de.min.js +0 -2
  1272. data/templates/jrails/i18n/jquery.ui/datepicker-el.js +0 -19
  1273. data/templates/jrails/i18n/jquery.ui/datepicker-el.min.js +0 -4
  1274. data/templates/jrails/i18n/jquery.ui/datepicker-eo.js +0 -19
  1275. data/templates/jrails/i18n/jquery.ui/datepicker-eo.min.js +0 -2
  1276. data/templates/jrails/i18n/jquery.ui/datepicker-es.js +0 -19
  1277. data/templates/jrails/i18n/jquery.ui/datepicker-es.min.js +0 -2
  1278. data/templates/jrails/i18n/jquery.ui/datepicker-fa.js +0 -19
  1279. data/templates/jrails/i18n/jquery.ui/datepicker-fa.min.js +0 -3
  1280. data/templates/jrails/i18n/jquery.ui/datepicker-fi.js +0 -19
  1281. data/templates/jrails/i18n/jquery.ui/datepicker-fi.min.js +0 -2
  1282. data/templates/jrails/i18n/jquery.ui/datepicker-fr.js +0 -19
  1283. data/templates/jrails/i18n/jquery.ui/datepicker-fr.min.js +0 -2
  1284. data/templates/jrails/i18n/jquery.ui/datepicker-he.js +0 -19
  1285. data/templates/jrails/i18n/jquery.ui/datepicker-he.min.js +0 -3
  1286. data/templates/jrails/i18n/jquery.ui/datepicker-hr.js +0 -19
  1287. data/templates/jrails/i18n/jquery.ui/datepicker-hr.min.js +0 -2
  1288. data/templates/jrails/i18n/jquery.ui/datepicker-hu.js +0 -19
  1289. data/templates/jrails/i18n/jquery.ui/datepicker-hu.min.js +0 -2
  1290. data/templates/jrails/i18n/jquery.ui/datepicker-hy.js +0 -19
  1291. data/templates/jrails/i18n/jquery.ui/datepicker-hy.min.js +0 -4
  1292. data/templates/jrails/i18n/jquery.ui/datepicker-id.js +0 -19
  1293. data/templates/jrails/i18n/jquery.ui/datepicker-id.min.js +0 -2
  1294. data/templates/jrails/i18n/jquery.ui/datepicker-is.js +0 -19
  1295. data/templates/jrails/i18n/jquery.ui/datepicker-is.min.js +0 -2
  1296. data/templates/jrails/i18n/jquery.ui/datepicker-it.js +0 -19
  1297. data/templates/jrails/i18n/jquery.ui/datepicker-it.min.js +0 -2
  1298. data/templates/jrails/i18n/jquery.ui/datepicker-ja.js +0 -20
  1299. data/templates/jrails/i18n/jquery.ui/datepicker-ja.min.js +0 -2
  1300. data/templates/jrails/i18n/jquery.ui/datepicker-ko.js +0 -19
  1301. data/templates/jrails/i18n/jquery.ui/datepicker-ko.min.js +0 -2
  1302. data/templates/jrails/i18n/jquery.ui/datepicker-lt.js +0 -19
  1303. data/templates/jrails/i18n/jquery.ui/datepicker-lt.min.js +0 -2
  1304. data/templates/jrails/i18n/jquery.ui/datepicker-lv.js +0 -19
  1305. data/templates/jrails/i18n/jquery.ui/datepicker-lv.min.js +0 -2
  1306. data/templates/jrails/i18n/jquery.ui/datepicker-ms.js +0 -19
  1307. data/templates/jrails/i18n/jquery.ui/datepicker-ms.min.js +0 -2
  1308. data/templates/jrails/i18n/jquery.ui/datepicker-nl.js +0 -19
  1309. data/templates/jrails/i18n/jquery.ui/datepicker-nl.min.js +0 -2
  1310. data/templates/jrails/i18n/jquery.ui/datepicker-no.js +0 -19
  1311. data/templates/jrails/i18n/jquery.ui/datepicker-no.min.js +0 -2
  1312. data/templates/jrails/i18n/jquery.ui/datepicker-pl.js +0 -19
  1313. data/templates/jrails/i18n/jquery.ui/datepicker-pl.min.js +0 -2
  1314. data/templates/jrails/i18n/jquery.ui/datepicker-pt-BR.js +0 -19
  1315. data/templates/jrails/i18n/jquery.ui/datepicker-pt-BR.min.js +0 -2
  1316. data/templates/jrails/i18n/jquery.ui/datepicker-ro.js +0 -22
  1317. data/templates/jrails/i18n/jquery.ui/datepicker-ro.min.js +0 -2
  1318. data/templates/jrails/i18n/jquery.ui/datepicker-ru.js +0 -19
  1319. data/templates/jrails/i18n/jquery.ui/datepicker-ru.min.js +0 -4
  1320. data/templates/jrails/i18n/jquery.ui/datepicker-sk.js +0 -19
  1321. data/templates/jrails/i18n/jquery.ui/datepicker-sk.min.js +0 -2
  1322. data/templates/jrails/i18n/jquery.ui/datepicker-sl.js +0 -20
  1323. data/templates/jrails/i18n/jquery.ui/datepicker-sl.min.js +0 -2
  1324. data/templates/jrails/i18n/jquery.ui/datepicker-sq.js +0 -19
  1325. data/templates/jrails/i18n/jquery.ui/datepicker-sq.min.js +0 -2
  1326. data/templates/jrails/i18n/jquery.ui/datepicker-sr-SR.js +0 -19
  1327. data/templates/jrails/i18n/jquery.ui/datepicker-sr-SR.min.js +0 -2
  1328. data/templates/jrails/i18n/jquery.ui/datepicker-sr.js +0 -19
  1329. data/templates/jrails/i18n/jquery.ui/datepicker-sr.min.js +0 -3
  1330. data/templates/jrails/i18n/jquery.ui/datepicker-sv.js +0 -19
  1331. data/templates/jrails/i18n/jquery.ui/datepicker-sv.min.js +0 -2
  1332. data/templates/jrails/i18n/jquery.ui/datepicker-th.js +0 -19
  1333. data/templates/jrails/i18n/jquery.ui/datepicker-th.min.js +0 -4
  1334. data/templates/jrails/i18n/jquery.ui/datepicker-tr.js +0 -19
  1335. data/templates/jrails/i18n/jquery.ui/datepicker-tr.min.js +0 -2
  1336. data/templates/jrails/i18n/jquery.ui/datepicker-uk.js +0 -25
  1337. data/templates/jrails/i18n/jquery.ui/datepicker-uk.min.js +0 -4
  1338. data/templates/jrails/i18n/jquery.ui/datepicker-zh-CN.js +0 -19
  1339. data/templates/jrails/i18n/jquery.ui/datepicker-zh-CN.min.js +0 -2
  1340. data/templates/jrails/i18n/jquery.ui/datepicker-zh-TW.js +0 -19
  1341. data/templates/jrails/i18n/jquery.ui/datepicker-zh-TW.min.js +0 -2
  1342. data/templates/jrails/jquery-ui.js +0 -18367
  1343. data/templates/jrails/jquery-ui.min.js +0 -1
  1344. data/templates/jrails/jquery.js +0 -7645
  1345. data/templates/jrails/jquery.min.js +0 -19
  1346. data/templates/jrails/jquery.pngFix.js +0 -11
  1347. data/templates/jrails/jquery.pngFix.min.js +0 -1
  1348. data/templates/jrails/jquery.ui/_theme.sass +0 -1462
  1349. data/templates/jrails/jquery.ui/base.sass +0 -85
  1350. data/templates/jrails/jquery.ui/black-tie.sass +0 -85
  1351. data/templates/jrails/jquery.ui/blitzer.sass +0 -85
  1352. data/templates/jrails/jquery.ui/cupertino.sass +0 -85
  1353. data/templates/jrails/jquery.ui/dark-hive.sass +0 -85
  1354. data/templates/jrails/jquery.ui/dot-luv.sass +0 -85
  1355. data/templates/jrails/jquery.ui/eggplant.sass +0 -85
  1356. data/templates/jrails/jquery.ui/excite-bike.sass +0 -85
  1357. data/templates/jrails/jquery.ui/flick.sass +0 -85
  1358. data/templates/jrails/jquery.ui/hot-sneaks.sass +0 -85
  1359. data/templates/jrails/jquery.ui/humanity.sass +0 -85
  1360. data/templates/jrails/jquery.ui/le-frog.sass +0 -85
  1361. data/templates/jrails/jquery.ui/mint-choc.sass +0 -85
  1362. data/templates/jrails/jquery.ui/overcast.sass +0 -85
  1363. data/templates/jrails/jquery.ui/pepper-grinder.sass +0 -85
  1364. data/templates/jrails/jquery.ui/redmond.sass +0 -85
  1365. data/templates/jrails/jquery.ui/smoothness.sass +0 -85
  1366. data/templates/jrails/jquery.ui/south-street.sass +0 -85
  1367. data/templates/jrails/jquery.ui/sunny.sass +0 -85
  1368. data/templates/jrails/jquery.ui/swanky-purse.sass +0 -85
  1369. data/templates/jrails/jquery.ui/trontastic.sass +0 -85
  1370. data/templates/jrails/jquery.ui/ui-darkness.sass +0 -85
  1371. data/templates/jrails/jquery.ui/ui-lightness.sass +0 -85
  1372. data/templates/jrails/jquery.ui/vader.sass +0 -85
  1373. data/templates/jrails/jrails.js +0 -192
  1374. data/templates/jrails/jrails.min.js +0 -1
  1375. data/templates/jrails/manifest.rb +0 -457
  1376. data/templates/secret_sauce/jquery.ui/secret_sauce.sass +0 -32
@@ -1,2047 +0,0 @@
1
- /*
2
- * jQuery.weekCalendar v1.2.1
3
- * http://www.redredred.com.au/
4
- *
5
- * Requires:
6
- * - jquery.weekcalendar.css
7
- * - jquery 1.3.x
8
- * - jquery-ui 1.7.x (widget, drag, drop, resize)
9
- *
10
- * Copyright (c) 2009 Rob Monie
11
- * Dual licensed under the MIT and GPL licenses:
12
- * http://www.opensource.org/licenses/mit-license.php
13
- * http://www.gnu.org/licenses/gpl.html
14
- *
15
- * If you're after a monthly calendar plugin, check out http://arshaw.com/fullcalendar/
16
- */
17
-
18
- (function($) {
19
-
20
- $.widget("ui.weekCalendar", {
21
-
22
- /***********************
23
- * Initialise calendar *
24
- ***********************/
25
- _init : function() {
26
- var self = this;
27
- self._computeOptions();
28
- self._setupEventDelegation();
29
- self._renderCalendar();
30
- self._loadCalEvents();
31
- self._resizeCalendar();
32
- //setTimeout(function() {
33
- self._scrollToHour(self.options.date.getHours());
34
- //}, 500);
35
-
36
- $(window).unbind("resize.weekcalendar");
37
- $(window).bind("resize.weekcalendar", function(){
38
- self._resizeCalendar();
39
- });
40
-
41
- },
42
-
43
- /********************
44
- * public functions *
45
- ********************/
46
- /*
47
- * Refresh the events for the currently displayed week.
48
- */
49
- refresh : function() {
50
- this._clearCalendar();
51
- this._loadCalEvents(this.element.data("startDate")); //reload with existing week
52
- },
53
-
54
- /*
55
- * Clear all events currently loaded into the calendar
56
- */
57
- clear : function() {
58
- this._clearCalendar();
59
- },
60
-
61
- /*
62
- * Go to this week
63
- */
64
- today : function() {
65
- this._clearCalendar();
66
- this._loadCalEvents(new Date());
67
- },
68
-
69
- /*
70
- * Go to the previous week relative to the currently displayed week
71
- */
72
- prevWeek : function() {
73
- //minus more than 1 day to be sure we're in previous week - account for daylight savings or other anomolies
74
- var newDate = new Date(this.element.data("startDate").getTime() - (MILLIS_IN_WEEK / 6));
75
- this._clearCalendar();
76
- this._loadCalEvents(newDate);
77
- },
78
-
79
- /*
80
- * Go to the next week relative to the currently displayed week
81
- */
82
- nextWeek : function() {
83
- //add 8 days to be sure of being in prev week - allows for daylight savings or other anomolies
84
- var newDate = new Date(this.element.data("startDate").getTime() + MILLIS_IN_WEEK + (MILLIS_IN_WEEK / 7));
85
- this._clearCalendar();
86
- this._loadCalEvents(newDate);
87
- },
88
-
89
- /*
90
- * Reload the calendar to whatever week the date passed in falls on.
91
- */
92
- gotoWeek : function(date) {
93
- this._clearCalendar();
94
- this._loadCalEvents(date);
95
- },
96
-
97
- /*
98
- * Remove an event based on it's id
99
- */
100
- removeEvent : function(eventId) {
101
- this.element.find(".cal-event").each(function(){
102
- if($(this).data("calEvent").id === eventId) {
103
- $(this).fadeOut(function(){
104
- $(this).remove();
105
- });
106
- return false;
107
- }
108
- });
109
- },
110
-
111
- /*
112
- * Removes any events that have been added but not yet saved (have no id).
113
- * This is useful to call after adding a freshly saved new event.
114
- */
115
- removeUnsavedEvents : function() {
116
- this.element.find(".new-cal-event").fadeOut(function(){
117
- $(this).remove();
118
- });
119
- },
120
-
121
- /*
122
- * update an event in the calendar. If the event exists it refreshes
123
- * it's rendering. If it's a new event that does not exist in the calendar
124
- * it will be added.
125
- */
126
- updateEvent : function (calEvent) {
127
- this._updateEventInCalendar(calEvent);
128
- },
129
-
130
- /*
131
- * Returns an array of timeslot start and end times based on
132
- * the configured grid of the calendar. Returns in both date and
133
- * formatted time based on the 'timeFormat' config option.
134
- */
135
- getTimeslotTimes : function(date) {
136
- var options = this.options;
137
- var firstHourDisplayed = options.businessHours.limitDisplay ? options.businessHours.start : 0;
138
- var startDate = new Date(date.getFullYear(), date.getMonth(), date.getDate(), firstHourDisplayed);
139
-
140
- var times = []
141
- var startMillis = startDate.getTime();
142
- for(var i=0; i < options.timeslotsPerDay; i++) {
143
- var endMillis = startMillis + options.millisPerTimeslot;
144
- times[i] = {
145
- start: new Date(startMillis),
146
- startFormatted: this._formatDate(new Date(startMillis), options.timeFormat),
147
- end: new Date(endMillis),
148
- endFormatted: this._formatDate(new Date(endMillis), options.timeFormat)
149
- };
150
- startMillis = endMillis;
151
- }
152
- return times;
153
- },
154
-
155
- formatDate : function(date, format) {
156
- if(format) {
157
- return this._formatDate(date, format);
158
- } else {
159
- return this._formatDate(date, this.options.dateFormat);
160
- }
161
- },
162
-
163
- formatTime : function(date, format) {
164
- if(format) {
165
- return this._formatDate(date, format);
166
- } else {
167
- return this._formatDate(date, this.options.timeFormat);
168
- }
169
- },
170
-
171
- getData : function(key) {
172
- return this._getData(key);
173
- },
174
-
175
- /*********************
176
- * private functions *
177
- *********************/
178
- // compute dynamic options based on other config values
179
- _computeOptions : function() {
180
-
181
- var options = this.options;
182
-
183
- if(options.businessHours.limitDisplay) {
184
- options.timeslotsPerDay = options.timeslotsPerHour * (options.businessHours.end - options.businessHours.start);
185
- options.millisToDisplay = (options.businessHours.end - options.businessHours.start) * 60 * 60 * 1000;
186
- options.millisPerTimeslot = options.millisToDisplay / options.timeslotsPerDay;
187
- } else {
188
- options.timeslotsPerDay = options.timeslotsPerHour * 24;
189
- options.millisToDisplay = MILLIS_IN_DAY;
190
- options.millisPerTimeslot = MILLIS_IN_DAY / options.timeslotsPerDay;
191
- }
192
- },
193
-
194
- /*
195
- * Resize the calendar scrollable height based on the provided function in options.
196
- */
197
- _resizeCalendar : function () {
198
-
199
- var options = this.options;
200
- if(options && $.isFunction(options.height)) {
201
- var calendarHeight = options.height(this.element);
202
- var headerHeight = this.element.find(".week-calendar-header").outerHeight();
203
- var navHeight = this.element.find(".calendar-nav").outerHeight();
204
- this.element.find(".calendar-scrollable-grid").height(calendarHeight - navHeight - headerHeight);
205
- }
206
- },
207
-
208
- /*
209
- * configure calendar interaction events that are able to use event
210
- * delegation for greater efficiency
211
- */
212
- _setupEventDelegation : function() {
213
- var self = this;
214
- var options = this.options;
215
- this.element.click(function(event) {
216
- var $target = $(event.target);
217
- if($target.data("preventClick")) {
218
- return;
219
- }
220
- if($target.hasClass("cal-event")) {
221
- options.eventClick($target.data("calEvent"), $target, event);
222
- } else if($target.parent().hasClass("cal-event")) {
223
- options.eventClick($target.parent().data("calEvent"), $target.parent(), event);
224
- }
225
- }).mouseover(function(event){
226
- var $target = $(event.target);
227
-
228
- if(self._isDraggingOrResizing($target)) {
229
- return;
230
- }
231
-
232
- if($target.hasClass("cal-event") ) {
233
- options.eventMouseover($target.data("calEvent"), $target, event);
234
- }
235
- }).mouseout(function(event){
236
- var $target = $(event.target);
237
- if(self._isDraggingOrResizing($target)) {
238
- return;
239
- }
240
- if($target.hasClass("cal-event")) {
241
- if($target.data("sizing")) return;
242
- options.eventMouseout($target.data("calEvent"), $target, event);
243
-
244
- }
245
- });
246
- },
247
-
248
- /*
249
- * check if a ui draggable or resizable is currently being dragged or resized
250
- */
251
- _isDraggingOrResizing : function ($target) {
252
- return $target.hasClass("ui-draggable-dragging") || $target.hasClass("ui-resizable-resizing");
253
- },
254
-
255
- /*
256
- * Render the main calendar layout
257
- */
258
- _renderCalendar : function() {
259
-
260
- var $calendarContainer, calendarNavHtml, calendarHeaderHtml, calendarBodyHtml, $weekDayColumns;
261
- var self = this;
262
- var options = this.options;
263
-
264
- $calendarContainer = $("<div class=\"week-calendar\">").appendTo(self.element);
265
-
266
- if(options.buttons) {
267
- calendarNavHtml = "<div class=\"calendar-nav\">\
268
- <button class=\"today\">" + options.buttonText.today + "</button>\
269
- <button class=\"prev\">" + options.buttonText.lastWeek + "</button>\
270
- <button class=\"next\">" + options.buttonText.nextWeek + "</button>\
271
- </div>";
272
-
273
- $(calendarNavHtml).appendTo($calendarContainer);
274
-
275
- $calendarContainer.find(".calendar-nav .today").click(function(){
276
- self.element.weekCalendar("today");
277
- return false;
278
- });
279
-
280
- $calendarContainer.find(".calendar-nav .prev").click(function(){
281
- self.element.weekCalendar("prevWeek");
282
- return false;
283
- });
284
-
285
- $calendarContainer.find(".calendar-nav .next").click(function(){
286
- self.element.weekCalendar("nextWeek");
287
- return false;
288
- });
289
-
290
- }
291
-
292
- //render calendar header
293
- calendarHeaderHtml = "<table class=\"week-calendar-header\"><tbody><tr><td class=\"time-column-header\"></td>";
294
- for(var i=1 ; i<=7; i++) {
295
- calendarHeaderHtml += "<td class=\"day-column-header day-" + i + "\"></td>";
296
- }
297
- calendarHeaderHtml += "<td class=\"scrollbar-shim\"></td></tr></tbody></table>";
298
-
299
- //render calendar body
300
- calendarBodyHtml = "<div class=\"calendar-scrollable-grid\">\
301
- <table class=\"week-calendar-time-slots\">\
302
- <tbody>\
303
- <tr>\
304
- <td class=\"grid-timeslot-header\"></td>\
305
- <td colspan=\"7\">\
306
- <div class=\"time-slot-wrapper\">\
307
- <div class=\"time-slots\">";
308
-
309
- var start = options.businessHours.limitDisplay ? options.businessHours.start : 0;
310
- var end = options.businessHours.limitDisplay ? options.businessHours.end : 24;
311
-
312
- for(var i = start ; i < end; i++) {
313
- for(var j=0;j<options.timeslotsPerHour - 1; j++) {
314
- calendarBodyHtml += "<div class=\"time-slot\"></div>";
315
- }
316
- calendarBodyHtml += "<div class=\"time-slot hour-end\"></div>";
317
- }
318
-
319
- calendarBodyHtml += "</div></div></td></tr><tr><td class=\"grid-timeslot-header\">";
320
-
321
- for(var i = start ; i < end; i++) {
322
-
323
- var bhClass = (options.businessHours.start <= i && options.businessHours.end > i) ? "business-hours" : "";
324
- calendarBodyHtml += "<div class=\"hour-header " + bhClass + "\">"
325
- if(options.use24Hour) {
326
- calendarBodyHtml += "<div class=\"time-header-cell\">" + self._24HourForIndex(i) + "</div>";
327
- } else {
328
- calendarBodyHtml += "<div class=\"time-header-cell\">" + self._hourForIndex(i) + "<span class=\"am-pm\">" + self._amOrPm(i) + "</span></div>";
329
- }
330
- calendarBodyHtml += "</div>";
331
- }
332
-
333
- calendarBodyHtml += "</td>";
334
-
335
- for(var i=1 ; i<=7; i++) {
336
- calendarBodyHtml += "<td class=\"day-column day-" + i + "\"><div class=\"day-column-inner\"></div></td>"
337
- }
338
-
339
- calendarBodyHtml += "</tr></tbody></table></div>";
340
-
341
- //append all calendar parts to container
342
- $(calendarHeaderHtml + calendarBodyHtml).appendTo($calendarContainer);
343
-
344
- $weekDayColumns = $calendarContainer.find(".day-column-inner");
345
- $weekDayColumns.each(function(i, val) {
346
- $(this).height(options.timeslotHeight * options.timeslotsPerDay);
347
- if(!options.readonly) {
348
- self._addDroppableToWeekDay($(this));
349
- self._setupEventCreationForWeekDay($(this));
350
- }
351
- });
352
-
353
- $calendarContainer.find(".time-slot").height(options.timeslotHeight -1); //account for border
354
-
355
- $calendarContainer.find(".time-header-cell").css({
356
- height : (options.timeslotHeight * options.timeslotsPerHour) - 11,
357
- padding: 5
358
- });
359
-
360
-
361
-
362
- },
363
-
364
- /*
365
- * setup mouse events for capturing new events
366
- */
367
- _setupEventCreationForWeekDay : function($weekDay) {
368
- var self = this;
369
- var options = this.options;
370
- $weekDay.mousedown(function(event) {
371
- var $target = $(event.target);
372
- if($target.hasClass("day-column-inner")) {
373
-
374
- var $newEvent = $("<div class=\"cal-event new-cal-event new-cal-event-creating\"></div>");
375
-
376
- $newEvent.css({lineHeight: (options.timeslotHeight - 2) + "px", fontSize: (options.timeslotHeight / 2) + "px"});
377
- $target.append($newEvent);
378
-
379
- var columnOffset = $target.offset().top;
380
- var clickY = event.pageY - columnOffset;
381
- var clickYRounded = (clickY - (clickY % options.timeslotHeight)) / options.timeslotHeight;
382
- var topPosition = clickYRounded * options.timeslotHeight;
383
- $newEvent.css({top: topPosition});
384
-
385
- $target.bind("mousemove.newevent", function(event){
386
- $newEvent.show();
387
- $newEvent.addClass("ui-resizable-resizing");
388
- var height = Math.round(event.pageY - columnOffset - topPosition);
389
- var remainder = height % options.timeslotHeight;
390
- //snap to closest timeslot
391
- if(remainder < (height / 2)) {
392
- var useHeight = height - remainder;
393
- $newEvent.css("height", useHeight < options.timeslotHeight ? options.timeslotHeight : useHeight);
394
- } else {
395
- $newEvent.css("height", height + (options.timeslotHeight - remainder));
396
- }
397
- }).mouseup(function(){
398
- $target.unbind("mousemove.newevent");
399
- $newEvent.addClass("ui-corner-all");
400
- });
401
- }
402
-
403
- }).mouseup(function(event) {
404
- var $target = $(event.target);
405
-
406
- var $weekDay = $target.closest(".day-column-inner");
407
- var $newEvent = $weekDay.find(".new-cal-event-creating");
408
-
409
- if($newEvent.length) {
410
- //if even created from a single click only, default height
411
- if(!$newEvent.hasClass("ui-resizable-resizing")) {
412
- $newEvent.css({height: options.timeslotHeight * options.defaultEventLength}).show();
413
- }
414
- var top = parseInt($newEvent.css("top"));
415
- var eventDuration = self._getEventDurationFromPositionedEventElement($weekDay, $newEvent, top);
416
-
417
- $newEvent.remove();
418
- var newCalEvent = {start: eventDuration.start, end: eventDuration.end, title: options.newEventText};
419
- var $renderedCalEvent = self._renderEvent(newCalEvent, $weekDay);
420
-
421
- if(!options.allowCalEventOverlap) {
422
- self._adjustForEventCollisions($weekDay, $renderedCalEvent, newCalEvent, newCalEvent);
423
- self._positionEvent($weekDay, $renderedCalEvent);
424
- } else {
425
- self._adjustOverlappingEvents($weekDay);
426
- }
427
-
428
- options.eventNew(eventDuration, $renderedCalEvent);
429
- }
430
- });
431
- },
432
-
433
- /*
434
- * load calendar events for the week based on the date provided
435
- */
436
- _loadCalEvents : function(dateWithinWeek) {
437
-
438
- var date, weekStartDate, endDate, $weekDayColumns;
439
- var self = this;
440
- var options = this.options;
441
- date = dateWithinWeek || options.date;
442
- weekStartDate = self._dateFirstDayOfWeek(date);
443
- weekEndDate = self._dateLastMilliOfWeek(date);
444
-
445
- options.calendarBeforeLoad(self.element);
446
-
447
- self.element.data("startDate", weekStartDate);
448
- self.element.data("endDate", weekEndDate);
449
-
450
- $weekDayColumns = self.element.find(".day-column-inner");
451
-
452
- self._updateDayColumnHeader($weekDayColumns);
453
-
454
- //load events by chosen means
455
- if (typeof options.data == 'string') {
456
- if (options.loading) options.loading(true);
457
- var jsonOptions = {};
458
- jsonOptions[options.startParam || 'start'] = Math.round(weekStartDate.getTime() / 1000);
459
- jsonOptions[options.endParam || 'end'] = Math.round(weekEndDate.getTime() / 1000);
460
- $.getJSON(options.data, jsonOptions, function(data) {
461
- self._renderEvents(data, $weekDayColumns);
462
- if (options.loading) options.loading(false);
463
- });
464
- }
465
- else if ($.isFunction(options.data)) {
466
- options.data(weekStartDate, weekEndDate,
467
- function(data) {
468
- self._renderEvents(data, $weekDayColumns);
469
- });
470
- }
471
- else if (options.data) {
472
- self._renderEvents(options.data, $weekDayColumns);
473
- }
474
-
475
- self._disableTextSelect($weekDayColumns);
476
-
477
-
478
- },
479
-
480
- /*
481
- * update the display of each day column header based on the calendar week
482
- */
483
- _updateDayColumnHeader : function ($weekDayColumns) {
484
- var self = this;
485
- var options = this.options;
486
- var currentDay = self._cloneDate(self.element.data("startDate"));
487
-
488
- self.element.find(".week-calendar-header td.day-column-header").each(function(i, val) {
489
-
490
- var dayName = options.useShortDayNames ? options.shortDays[currentDay.getDay()] : options.longDays[currentDay.getDay()];
491
-
492
- $(this).html(dayName + "<br/>" + self._formatDate(currentDay, options.dateFormat));
493
- if(self._isToday(currentDay)) {
494
- $(this).addClass("today");
495
- } else {
496
- $(this).removeClass("today");
497
- }
498
- currentDay = self._addDays(currentDay, 1);
499
-
500
- });
501
-
502
- currentDay = self._dateFirstDayOfWeek(self._cloneDate(self.element.data("startDate")));
503
-
504
- $weekDayColumns.each(function(i, val) {
505
-
506
- $(this).data("startDate", self._cloneDate(currentDay));
507
- $(this).data("endDate", new Date(currentDay.getTime() + (MILLIS_IN_DAY - 1)));
508
- if(self._isToday(currentDay)) {
509
- $(this).parent().addClass("today");
510
- } else {
511
- $(this).parent().removeClass("today");
512
- }
513
-
514
- currentDay = self._addDays(currentDay, 1);
515
- });
516
-
517
- },
518
-
519
- /*
520
- * Render the events into the calendar
521
- */
522
- _renderEvents : function (events, $weekDayColumns) {
523
- var self = this;
524
- var options = this.options;
525
- var eventsToRender;
526
-
527
- if($.isArray(events)) {
528
- eventsToRender = self._cleanEvents(events);
529
- } else if(events.events) {
530
- eventsToRender = self._cleanEvents(events.events);
531
- }
532
- if(events.options) {
533
-
534
- var updateLayout = false;
535
- //update options
536
- $.each(events.options, function(key, value){
537
- if(value !== options[key]) {
538
- options[key] = value;
539
- updateLayout = true;
540
- }
541
- });
542
-
543
- self._computeOptions();
544
-
545
- if(updateLayout) {
546
- self.element.empty();
547
- self._renderCalendar();
548
- $weekDayColumns = self.element.find(".week-calendar-time-slots .day-column-inner");
549
- self._updateDayColumnHeader($weekDayColumns);
550
- self._resizeCalendar();
551
- }
552
-
553
- }
554
-
555
-
556
- $.each(eventsToRender, function(i, calEvent){
557
-
558
- var $weekDay = self._findWeekDayForEvent(calEvent, $weekDayColumns);
559
-
560
- if($weekDay) {
561
- self._renderEvent(calEvent, $weekDay);
562
- }
563
- });
564
-
565
- $weekDayColumns.each(function(){
566
- self._adjustOverlappingEvents($(this));
567
- });
568
-
569
- options.calendarAfterLoad(self.element);
570
-
571
- if(!eventsToRender.length) {
572
- options.noEvents();
573
- }
574
-
575
- },
576
-
577
- /*
578
- * Render a specific event into the day provided. Assumes correct
579
- * day for calEvent date
580
- */
581
- _renderEvent: function (calEvent, $weekDay) {
582
- var self = this;
583
- var options = this.options;
584
- if(calEvent.start.getTime() > calEvent.end.getTime()) {
585
- return; // can't render a negative height
586
- }
587
-
588
- var eventClass, eventHtml, $calEvent, $modifiedEvent;
589
-
590
- eventClass = calEvent.id ? "cal-event" : "cal-event new-cal-event";
591
- eventHtml = "<div class=\"" + eventClass + " ui-corner-all\">\
592
- <div class=\"time ui-corner-all\"></div>\
593
- <div class=\"title\"></div></div>";
594
-
595
- $calEvent = $(eventHtml);
596
- $modifiedEvent = options.eventRender(calEvent, $calEvent);
597
- $calEvent = $modifiedEvent ? $modifiedEvent.appendTo($weekDay) : $calEvent.appendTo($weekDay);
598
- $calEvent.css({lineHeight: (options.timeslotHeight - 2) + "px", fontSize: (options.timeslotHeight / 2) + "px"});
599
-
600
- self._refreshEventDetails(calEvent, $calEvent);
601
- self._positionEvent($weekDay, $calEvent);
602
- $calEvent.show();
603
-
604
- if(!options.readonly && options.resizable(calEvent, $calEvent)) {
605
- self._addResizableToCalEvent(calEvent, $calEvent, $weekDay)
606
- }
607
- if(!options.readonly && options.draggable(calEvent, $calEvent)) {
608
- self._addDraggableToCalEvent(calEvent, $calEvent);
609
- }
610
-
611
- options.eventAfterRender(calEvent, $calEvent);
612
-
613
- return $calEvent;
614
-
615
- },
616
-
617
- /*
618
- * If overlapping is allowed, check for overlapping events and format
619
- * for greater readability
620
- */
621
- _adjustOverlappingEvents : function($weekDay) {
622
- var self = this;
623
- if(self.options.allowCalEventOverlap) {
624
- var groups = self._groupOverlappingEventElements($weekDay);
625
-
626
- $.each(groups, function(){
627
- var groupAmount = this.length;
628
- var curGroup = this;
629
- // do we want events to be displayed as overlapping
630
- if (self.options.overlapEventsSeparate){
631
- var newWidth = 100/groupAmount;
632
- var newLeftAdd = newWidth;
633
- } else {
634
- // TODO what happens when the group has more than 10 elements
635
- var newWidth = (100 - (groupAmount*10));
636
- var newLeftAdd = (100 - newWidth) / (groupAmount-1);
637
- }
638
- $.each(this, function(i){
639
- var newLeft = (i * newLeftAdd);
640
- // bring mouseovered event to the front
641
- if(!self.options.overlapEventsSeparate){
642
- $(this).bind("mouseover.z-index",function(){
643
- var $elem = $(this);
644
- $.each(curGroup, function() {
645
- $(this).css({"z-index": "1"});
646
- });
647
- $elem.css({"z-index": "3"});
648
- });
649
- }
650
- $(this).css({width: newWidth+"%", left: newLeft+"%", right: 0});
651
- });
652
- });
653
- }
654
- },
655
-
656
-
657
- /*
658
- * Find groups of overlapping events
659
- */
660
- _groupOverlappingEventElements : function($weekDay) {
661
- var self = this;
662
- var $events = $weekDay.find(".cal-event");
663
- var sortedEvents = $events.sort(function(a, b){
664
- return $(a).data("calEvent").start.getTime() - $(b).data("calEvent").start.getTime();
665
- });
666
-
667
- var $lastEvent;
668
- var groups = [];
669
- var currentGroup = [];
670
- var $curEvent;
671
- var currentGroupStartTime = 0;
672
- var currentGroupEndTime = 0;
673
- var lastGroupEndTime = 0;
674
- $.each(sortedEvents, function(){
675
-
676
- $curEvent = $(this);
677
- currentGroupStartTime = $curEvent.data("calEvent").start.getTime();
678
- currentGroupEndTime = $curEvent.data("calEvent").end.getTime();
679
- $curEvent.css({width: "100%", left: "0%", right: "", "z-index": "1"});
680
- $curEvent.unbind("mouseover.z-index");
681
- // if current start time is lower than current endtime time than either this event is earlier than the group, or already within the group
682
- if ($curEvent.data("calEvent").start.getTime() < lastGroupEndTime) {
683
- return;
684
- }
685
- // loop through all current weekday events to check if they belong to the same group
686
- $.each(sortedEvents, function() {
687
- // check for same element and possibility to even be in the same group note: somehow ($curEvent == $(this) doens't work
688
- if ($curEvent.data("calEvent").id == $(this).data("calEvent").id ||
689
- currentGroupStartTime > $(this).data("calEvent").start.getTime()+1 ||
690
- currentGroupEndTime < $(this).data("calEvent").start.getTime()+1) {
691
- return;
692
- }
693
- //set new endtime of the group
694
- if ($(this).data("calEvent").end.getTime() > currentGroupEndTime) {
695
- currentGroupEndTime = $(this).data("calEvent").end.getTime();
696
- }
697
- // ain't we adding the same element
698
- if ($.inArray($(this), currentGroup) == -1) {
699
- currentGroup.push($(this));
700
- }
701
- // ain't we adding the same element
702
- if ($.inArray($curEvent, currentGroup) == -1) {
703
- currentGroup.push($curEvent);
704
- }
705
- });
706
- if(currentGroup.length) {
707
- currentGroup.sort(function(a,b){
708
- if ($(a).data("calEvent").start.getTime() > $(b).data("calEvent").start.getTime()) {
709
- return 1;
710
- } else if ($(a).data("calEvent").start.getTime() < $(b).data("calEvent").start.getTime()) {
711
- return -1;
712
- } else {
713
- return ($(a).data("calEvent").end.getTime() - $(a).data("calEvent").start.getTime())
714
- - ($(b).data("calEvent").end.getTime() - $(b).data("calEvent").start.getTime());
715
- }
716
- });
717
- groups.push(currentGroup);
718
- currentGroup = [];
719
- lastGroupEndTime = currentGroupEndTime;
720
- }
721
-
722
- });
723
-
724
- return groups;
725
-
726
- },
727
- /*
728
- * Check if two groups containt the same events. It assumes the groups are sorted NOTE: might be obsolete
729
- */
730
- _compareGroups: function(thisGroup, thatGroup){
731
- if (thisGroup.length != thatGroup.length) {
732
- return false;
733
- }
734
-
735
- for (var i = 0; i < thisGroup.length; i++) {
736
- if (thisGroup[i].data("calEvent").id != thatGroup[i].data("calEvent").id) {
737
- return false;
738
- }
739
- }
740
-
741
- return true;
742
- },
743
-
744
-
745
-
746
- /*
747
- * find the weekday in the current calendar that the calEvent falls within
748
- */
749
- _findWeekDayForEvent : function(calEvent, $weekDayColumns) {
750
-
751
- var $weekDay;
752
- $weekDayColumns.each(function(){
753
- if($(this).data("startDate").getTime() <= calEvent.start.getTime() && $(this).data("endDate").getTime() >= calEvent.end.getTime()) {
754
- $weekDay = $(this);
755
- return false;
756
- }
757
- });
758
- return $weekDay;
759
- },
760
-
761
- /*
762
- * update the events rendering in the calendar. Add if does not yet exist.
763
- */
764
- _updateEventInCalendar : function (calEvent) {
765
- var self = this;
766
- var options = this.options;
767
- self._cleanEvent(calEvent);
768
-
769
- if(calEvent.id) {
770
- self.element.find(".cal-event").each(function(){
771
- if($(this).data("calEvent").id === calEvent.id || $(this).hasClass("new-cal-event")) {
772
- $(this).remove();
773
- return false;
774
- }
775
- });
776
- }
777
-
778
- var $weekDay = self._findWeekDayForEvent(calEvent, self.element.find(".week-calendar-time-slots .day-column-inner"));
779
- if($weekDay) {
780
- self._renderEvent(calEvent, $weekDay);
781
- self._adjustOverlappingEvents($weekDay);
782
- }
783
- },
784
-
785
- /*
786
- * Position the event element within the weekday based on it's start / end dates.
787
- */
788
- _positionEvent : function($weekDay, $calEvent) {
789
- var options = this.options;
790
- var calEvent = $calEvent.data("calEvent");
791
- var pxPerMillis = $weekDay.height() / options.millisToDisplay;
792
- var firstHourDisplayed = options.businessHours.limitDisplay ? options.businessHours.start : 0;
793
- var startMillis = calEvent.start.getTime() - new Date(calEvent.start.getFullYear(), calEvent.start.getMonth(), calEvent.start.getDate(), firstHourDisplayed).getTime();
794
- var eventMillis = calEvent.end.getTime() - calEvent.start.getTime();
795
- var pxTop = pxPerMillis * startMillis;
796
- var pxHeight = pxPerMillis * eventMillis;
797
- $calEvent.css({top: pxTop, height: pxHeight});
798
- },
799
-
800
- /*
801
- * Determine the actual start and end times of a calevent based on it's
802
- * relative position within the weekday column and the starting hour of the
803
- * displayed calendar.
804
- */
805
- _getEventDurationFromPositionedEventElement : function($weekDay, $calEvent, top) {
806
- var options = this.options;
807
- var startOffsetMillis = options.businessHours.limitDisplay ? options.businessHours.start * 60 *60 * 1000 : 0;
808
- var start = new Date($weekDay.data("startDate").getTime() + startOffsetMillis + Math.round(top / options.timeslotHeight) * options.millisPerTimeslot);
809
- var end = new Date(start.getTime() + ($calEvent.height() / options.timeslotHeight) * options.millisPerTimeslot);
810
- return {start: start, end: end};
811
- },
812
-
813
- /*
814
- * If the calendar does not allow event overlap, adjust the start or end date if necessary to
815
- * avoid overlapping of events. Typically, shortens the resized / dropped event to it's max possible
816
- * duration based on the overlap. If no satisfactory adjustment can be made, the event is reverted to
817
- * it's original location.
818
- */
819
- _adjustForEventCollisions : function($weekDay, $calEvent, newCalEvent, oldCalEvent, maintainEventDuration) {
820
- var options = this.options;
821
-
822
- if(options.allowCalEventOverlap) {
823
- return;
824
- }
825
- var adjustedStart, adjustedEnd;
826
- var self = this;
827
-
828
- $weekDay.find(".cal-event").not($calEvent).each(function(){
829
- var currentCalEvent = $(this).data("calEvent");
830
-
831
- //has been dropped onto existing event overlapping the end time
832
- if(newCalEvent.start.getTime() < currentCalEvent.end.getTime()
833
- && newCalEvent.end.getTime() >= currentCalEvent.end.getTime()) {
834
-
835
- adjustedStart = currentCalEvent.end;
836
- }
837
-
838
-
839
- //has been dropped onto existing event overlapping the start time
840
- if(newCalEvent.end.getTime() > currentCalEvent.start.getTime()
841
- && newCalEvent.start.getTime() <= currentCalEvent.start.getTime()) {
842
-
843
- adjustedEnd = currentCalEvent.start;
844
- }
845
- //has been dropped inside existing event with same or larger duration
846
- if(newCalEvent.end.getTime() <= currentCalEvent.end.getTime()
847
- && newCalEvent.start.getTime() >= currentCalEvent.start.getTime()) {
848
-
849
- adjustedStart = oldCalEvent.start;
850
- adjustedEnd = oldCalEvent.end;
851
- return false;
852
- }
853
-
854
- });
855
-
856
-
857
- newCalEvent.start = adjustedStart || newCalEvent.start;
858
-
859
- if(adjustedStart && maintainEventDuration) {
860
- newCalEvent.end = new Date(adjustedStart.getTime() + (oldCalEvent.end.getTime() - oldCalEvent.start.getTime()));
861
- self._adjustForEventCollisions($weekDay, $calEvent, newCalEvent, oldCalEvent);
862
- } else {
863
- newCalEvent.end = adjustedEnd || newCalEvent.end;
864
- }
865
-
866
-
867
-
868
- //reset if new cal event has been forced to zero size
869
- if(newCalEvent.start.getTime() >= newCalEvent.end.getTime()) {
870
- newCalEvent.start = oldCalEvent.start;
871
- newCalEvent.end = oldCalEvent.end;
872
- }
873
-
874
- $calEvent.data("calEvent", newCalEvent);
875
- },
876
-
877
- /*
878
- * Add draggable capabilities to an event
879
- */
880
- _addDraggableToCalEvent : function(calEvent, $calEvent) {
881
- var self = this;
882
- var options = this.options;
883
- var $weekDay = self._findWeekDayForEvent(calEvent, self.element.find(".week-calendar-time-slots .day-column-inner"));
884
- $calEvent.draggable({
885
- handle : ".time",
886
- containment: ".calendar-scrollable-grid",
887
- revert: 'valid',
888
- opacity: 0.5,
889
- grid : [$calEvent.outerWidth() + 1, options.timeslotHeight ],
890
- start : function(event, ui) {
891
- var $calEvent = ui.draggable;
892
- options.eventDrag(calEvent, $calEvent);
893
- }
894
- });
895
-
896
- },
897
-
898
- /*
899
- * Add droppable capabilites to weekdays to allow dropping of calEvents only
900
- */
901
- _addDroppableToWeekDay : function($weekDay) {
902
- var self = this;
903
- var options = this.options;
904
- $weekDay.droppable({
905
- accept: ".cal-event",
906
- drop: function(event, ui) {
907
- var $calEvent = ui.draggable;
908
- var top = Math.round(parseInt(ui.position.top));
909
- var eventDuration = self._getEventDurationFromPositionedEventElement($weekDay, $calEvent, top);
910
- var calEvent = $calEvent.data("calEvent");
911
- var newCalEvent = $.extend(true, {start: eventDuration.start, end: eventDuration.end}, calEvent);
912
- self._adjustForEventCollisions($weekDay, $calEvent, newCalEvent, calEvent, true);
913
- var $weekDayColumns = self.element.find(".day-column-inner");
914
- var $newEvent = self._renderEvent(newCalEvent, self._findWeekDayForEvent(newCalEvent, $weekDayColumns));
915
- $calEvent.hide();
916
-
917
- //trigger drop callback
918
- options.eventDrop(newCalEvent, calEvent, $newEvent);
919
- $calEvent.data("preventClick", true);
920
- setTimeout(function(){
921
- var $weekDayOld = self._findWeekDayForEvent($calEvent.data("calEvent"), self.element.find(".week-calendar-time-slots .day-column-inner"));
922
- $calEvent.remove();
923
- if ($weekDayOld.data("startDate") != $weekDay.data("startDate")) {
924
- self._adjustOverlappingEvents($weekDayOld);
925
- }
926
- self._adjustOverlappingEvents($weekDay);
927
- }, 500);
928
-
929
- }
930
- });
931
- },
932
-
933
- /*
934
- * Add resizable capabilities to a calEvent
935
- */
936
- _addResizableToCalEvent : function(calEvent, $calEvent, $weekDay) {
937
- var self = this;
938
- var options = this.options;
939
- $calEvent.resizable({
940
- grid: options.timeslotHeight,
941
- containment : $weekDay,
942
- handles: "s",
943
- minHeight: options.timeslotHeight,
944
- stop :function(event, ui){
945
- var $calEvent = ui.element;
946
- var newEnd = new Date($calEvent.data("calEvent").start.getTime() + ($calEvent.height() / options.timeslotHeight) * options.millisPerTimeslot);
947
- var newCalEvent = $.extend(true, {start: calEvent.start, end: newEnd}, calEvent);
948
- self._adjustForEventCollisions($weekDay, $calEvent, newCalEvent, calEvent);
949
-
950
- self._refreshEventDetails(newCalEvent, $calEvent);
951
- self._positionEvent($weekDay, $calEvent);
952
-
953
- //trigger resize callback
954
- options.eventResize(newCalEvent, calEvent, $calEvent);
955
- $calEvent.data("preventClick", true);
956
- setTimeout(function(){
957
- $calEvent.removeData("preventClick");
958
- }, 500);
959
- }
960
- });
961
- },
962
-
963
- /*
964
- * Refresh the displayed details of a calEvent in the calendar
965
- */
966
- _refreshEventDetails : function(calEvent, $calEvent) {
967
- var self = this;
968
- var options = this.options;
969
- $calEvent.find(".time").text(self._formatDate(calEvent.start, options.timeFormat) + options.timeSeparator + self._formatDate(calEvent.end, options.timeFormat));
970
- $calEvent.find(".title").text(calEvent.title);
971
- $calEvent.data("calEvent", calEvent);
972
- },
973
-
974
- /*
975
- * Clear all cal events from the calendar
976
- */
977
- _clearCalendar : function() {
978
- this.element.find(".day-column-inner div").remove();
979
- },
980
-
981
- /*
982
- * Scroll the calendar to a specific hour
983
- */
984
- _scrollToHour : function(hour) {
985
- var self = this;
986
- var options = this.options;
987
- var $scrollable = this.element.find(".calendar-scrollable-grid");
988
- var slot = hour;
989
- if(self.options.businessHours.limitDisplay) {
990
- if(hour < self.options.businessHours.start) {
991
- slot = 0;
992
- } else if(hour > self.options.businessHours.end) {
993
- slot = self.options.businessHours.end - self.options.businessHours.start - 1;
994
- }
995
- }
996
-
997
- var $target = this.element.find(".grid-timeslot-header .hour-header:eq(" + slot + ")");
998
-
999
- $scrollable.animate({scrollTop: 0}, 0, function(){
1000
- var targetOffset = $target.offset().top;
1001
- var scroll = targetOffset - $scrollable.offset().top - $target.outerHeight();
1002
- $scrollable.animate({scrollTop: scroll}, options.scrollToHourMillis);
1003
- });
1004
- },
1005
-
1006
- /*
1007
- * find the hour (12 hour day) for a given hour index
1008
- */
1009
- _hourForIndex : function(index) {
1010
- if(index === 0 ) { //midnight
1011
- return 12;
1012
- } else if(index < 13) { //am
1013
- return index;
1014
- } else { //pm
1015
- return index - 12;
1016
- }
1017
- },
1018
-
1019
- _24HourForIndex : function(index) {
1020
- if(index === 0 ) { //midnight
1021
- return "00:00";
1022
- } else if(index < 10) {
1023
- return "0"+index+":00";
1024
- } else {
1025
- return index+":00";
1026
- }
1027
- },
1028
-
1029
- _amOrPm : function (hourOfDay) {
1030
- return hourOfDay < 12 ? "AM" : "PM";
1031
- },
1032
-
1033
- _isToday : function(date) {
1034
- var clonedDate = this._cloneDate(date);
1035
- this._clearTime(clonedDate);
1036
- var today = new Date();
1037
- this._clearTime(today);
1038
- return today.getTime() === clonedDate.getTime();
1039
- },
1040
-
1041
- /*
1042
- * Clean events to ensure correct format
1043
- */
1044
- _cleanEvents : function(events) {
1045
- var self = this;
1046
- $.each(events, function(i, event) {
1047
- self._cleanEvent(event);
1048
- });
1049
- return events;
1050
- },
1051
-
1052
- /*
1053
- * Clean specific event
1054
- */
1055
- _cleanEvent : function (event) {
1056
- if (event.date) {
1057
- event.start = event.date;
1058
- }
1059
- event.start = this._cleanDate(event.start);
1060
- event.end = this._cleanDate(event.end);
1061
- if (!event.end) {
1062
- event.end = this._addDays(this._cloneDate(event.start), 1);
1063
- }
1064
- },
1065
-
1066
- /*
1067
- * Disable text selection of the elements in different browsers
1068
- */
1069
- _disableTextSelect : function($elements) {
1070
- $elements.each(function(){
1071
- if($.browser.mozilla){//Firefox
1072
- $(this).css('MozUserSelect','none');
1073
- }else if($.browser.msie){//IE
1074
- $(this).bind('selectstart',function(){return false;});
1075
- }else{//Opera, etc.
1076
- $(this).mousedown(function(){return false;});
1077
- }
1078
- });
1079
- },
1080
-
1081
- /*
1082
- * returns the date on the first millisecond of the week
1083
- */
1084
- _dateFirstDayOfWeek : function(date) {
1085
- var self = this;
1086
- var midnightCurrentDate = new Date(date.getFullYear(), date.getMonth(), date.getDate());
1087
- var millisToSubtract = self._getAdjustedDayIndex(midnightCurrentDate) * 86400000;
1088
- return new Date(midnightCurrentDate.getTime() - millisToSubtract);
1089
-
1090
- },
1091
-
1092
- /*
1093
- * returns the date on the first millisecond of the last day of the week
1094
- */
1095
- _dateLastDayOfWeek : function(date) {
1096
- var self = this;
1097
- var midnightCurrentDate = new Date(date.getFullYear(), date.getMonth(), date.getDate());
1098
- var millisToAdd = (6 - self._getAdjustedDayIndex(midnightCurrentDate)) * MILLIS_IN_DAY;
1099
- return new Date(midnightCurrentDate.getTime() + millisToAdd);
1100
- },
1101
-
1102
- /*
1103
- * gets the index of the current day adjusted based on options
1104
- */
1105
- _getAdjustedDayIndex : function(date) {
1106
-
1107
- var midnightCurrentDate = new Date(date.getFullYear(), date.getMonth(), date.getDate());
1108
- var currentDayOfStandardWeek = midnightCurrentDate.getDay();
1109
- var days = [0,1,2,3,4,5,6];
1110
- this._rotate(days, this.options.firstDayOfWeek);
1111
- return days[currentDayOfStandardWeek];
1112
- },
1113
-
1114
- /*
1115
- * returns the date on the last millisecond of the week
1116
- */
1117
- _dateLastMilliOfWeek : function(date) {
1118
- var lastDayOfWeek = this._dateLastDayOfWeek(date);
1119
- return new Date(lastDayOfWeek.getTime() + (MILLIS_IN_DAY - 1));
1120
-
1121
- },
1122
-
1123
- /*
1124
- * Clear the time components of a date leaving the date
1125
- * of the first milli of day
1126
- */
1127
- _clearTime : function(d) {
1128
- d.setHours(0);
1129
- d.setMinutes(0);
1130
- d.setSeconds(0);
1131
- d.setMilliseconds(0);
1132
- return d;
1133
- },
1134
-
1135
- /*
1136
- * add specific number of days to date
1137
- */
1138
- _addDays : function(d, n, keepTime) {
1139
- d.setDate(d.getDate() + n);
1140
- if (keepTime) {
1141
- return d;
1142
- }
1143
- return this._clearTime(d);
1144
- },
1145
-
1146
- /*
1147
- * Rotate an array by specified number of places.
1148
- */
1149
- _rotate : function(a /*array*/, p /* integer, positive integer rotate to the right, negative to the left... */){
1150
- for(var l = a.length, p = (Math.abs(p) >= l && (p %= l), p < 0 && (p += l), p), i, x; p; p = (Math.ceil(l / p) - 1) * p - l + (l = p)) {
1151
- for(i = l; i > p; x = a[--i], a[i] = a[i - p], a[i - p] = x);
1152
- }
1153
- return a;
1154
- },
1155
-
1156
- _cloneDate : function(d) {
1157
- return new Date(+d);
1158
- },
1159
-
1160
- /*
1161
- * return a date for different representations
1162
- */
1163
- _cleanDate : function(d) {
1164
- if (typeof d == 'string') {
1165
- return $.weekCalendar.parseISO8601(d, true) || Date.parse(d) || new Date(parseInt(d));
1166
- }
1167
- if (typeof d == 'number') {
1168
- return new Date(d);
1169
- }
1170
- return d;
1171
- },
1172
-
1173
- /*
1174
- * date formatting is adapted from
1175
- * http://jacwright.com/projects/javascript/date_format
1176
- */
1177
- _formatDate : function(date, format) {
1178
- var options = this.options;
1179
- var returnStr = '';
1180
- for (var i = 0; i < format.length; i++) {
1181
- var curChar = format.charAt(i);
1182
- if ($.isFunction(this._replaceChars[curChar])) {
1183
- returnStr += this._replaceChars[curChar](date, options);
1184
- } else {
1185
- returnStr += curChar;
1186
- }
1187
- }
1188
- return returnStr;
1189
- },
1190
-
1191
- _replaceChars : {
1192
-
1193
- // Day
1194
- d: function(date) { return (date.getDate() < 10 ? '0' : '') + date.getDate(); },
1195
- D: function(date, options) { return options.shortDays[date.getDay()]; },
1196
- j: function(date) { return date.getDate(); },
1197
- l: function(date, options) { return options.longDays[date.getDay()]; },
1198
- N: function(date) { return date.getDay() + 1; },
1199
- S: function(date) { return (date.getDate() % 10 == 1 && date.getDate() != 11 ? 'st' : (date.getDate() % 10 == 2 && date.getDate() != 12 ? 'nd' : (date.getDate() % 10 == 3 && date.getDate() != 13 ? 'rd' : 'th'))); },
1200
- w: function(date) { return date.getDay(); },
1201
- z: function(date) { return "Not Yet Supported"; },
1202
- // Week
1203
- W: function(date) { return "Not Yet Supported"; },
1204
- // Month
1205
- F: function(date, options) { return options.longMonths[date.getMonth()]; },
1206
- m: function(date) { return (date.getMonth() < 9 ? '0' : '') + (date.getMonth() + 1); },
1207
- M: function(date, options) { return options.shortMonths[date.getMonth()]; },
1208
- n: function(date) { return date.getMonth() + 1; },
1209
- t: function(date) { return "Not Yet Supported"; },
1210
- // Year
1211
- L: function(date) { return "Not Yet Supported"; },
1212
- o: function(date) { return "Not Supported"; },
1213
- Y: function(date) { return date.getFullYear(); },
1214
- y: function(date) { return ('' + date.getFullYear()).substr(2); },
1215
- // Time
1216
- a: function(date) { return date.getHours() < 12 ? 'am' : 'pm'; },
1217
- A: function(date) { return date.getHours() < 12 ? 'AM' : 'PM'; },
1218
- B: function(date) { return "Not Yet Supported"; },
1219
- g: function(date) { return date.getHours() % 12 || 12; },
1220
- G: function(date) { return date.getHours(); },
1221
- h: function(date) { return ((date.getHours() % 12 || 12) < 10 ? '0' : '') + (date.getHours() % 12 || 12); },
1222
- H: function(date) { return (date.getHours() < 10 ? '0' : '') + date.getHours(); },
1223
- i: function(date) { return (date.getMinutes() < 10 ? '0' : '') + date.getMinutes(); },
1224
- s: function(date) { return (date.getSeconds() < 10 ? '0' : '') + date.getSeconds(); },
1225
- // Timezone
1226
- e: function(date) { return "Not Yet Supported"; },
1227
- I: function(date) { return "Not Supported"; },
1228
- O: function(date) { return (date.getTimezoneOffset() < 0 ? '-' : '+') + (date.getTimezoneOffset() / 60 < 10 ? '0' : '') + (date.getTimezoneOffset() / 60) + '00'; },
1229
- T: function(date) { return "Not Yet Supported"; },
1230
- Z: function(date) { return date.getTimezoneOffset() * 60; },
1231
- // Full Date/Time
1232
- c: function(date) { return "Not Yet Supported"; },
1233
- r: function(date) { return date.toString(); },
1234
- U: function(date) { return date.getTime() / 1000; }
1235
- }
1236
-
1237
- });
1238
-
1239
- $.extend($.ui.weekCalendar, {
1240
- version: '1.2.1',
1241
- getter: ['getTimeslotTimes', 'getData', 'formatDate', 'formatTime'],
1242
- defaults: {
1243
- date: new Date(),
1244
- timeFormat : "h:i a",
1245
- dateFormat : "M d, Y",
1246
- use24Hour : false,
1247
- firstDayOfWeek : 0, // 0 = Sunday, 1 = Monday, 2 = Tuesday, ... , 6 = Saturday
1248
- useShortDayNames: false,
1249
- timeSeparator : " to ",
1250
- startParam : "start",
1251
- endParam : "end",
1252
- businessHours : {start: 8, end: 18, limitDisplay : false},
1253
- newEventText : "New Event",
1254
- timeslotHeight: 20,
1255
- defaultEventLength : 2,
1256
- timeslotsPerHour : 4,
1257
- buttons : true,
1258
- buttonText : {
1259
- today : "today",
1260
- lastWeek : "&nbsp;&lt;&nbsp;",
1261
- nextWeek : "&nbsp;&gt;&nbsp;"
1262
- },
1263
- scrollToHourMillis : 500,
1264
- allowCalEventOverlap : false,
1265
- overlapEventsSeparate: false,
1266
- readonly: false,
1267
- draggable : function(calEvent, element) { return true;},
1268
- resizable : function(calEvent, element) { return true;},
1269
- eventClick : function(){},
1270
- eventRender : function(calEvent, element) { return element;},
1271
- eventAfterRender : function(calEvent, element) { return element;},
1272
- eventDrag : function(calEvent, element) {},
1273
- eventDrop : function(calEvent, element){},
1274
- eventResize : function(calEvent, element){},
1275
- eventNew : function(calEvent, element) {},
1276
- eventMouseover : function(calEvent, $event) {},
1277
- eventMouseout : function(calEvent, $event) {},
1278
- calendarBeforeLoad : function(calendar) {},
1279
- calendarAfterLoad : function(calendar) {},
1280
- noEvents : function() {},
1281
- shortMonths : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
1282
- longMonths : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
1283
- shortDays : ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
1284
- longDays : ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
1285
- }
1286
- });
1287
-
1288
- var MILLIS_IN_DAY = 86400000;
1289
- var MILLIS_IN_WEEK = MILLIS_IN_DAY * 7;
1290
-
1291
- $.weekCalendar = function() {
1292
- return {
1293
- parseISO8601 : function(s, ignoreTimezone) {
1294
-
1295
- // derived from http://delete.me.uk/2005/03/iso8601.html
1296
- var regexp = "([0-9]{4})(-([0-9]{2})(-([0-9]{2})" +
1297
- "(T([0-9]{2}):([0-9]{2})(:([0-9]{2})(\.([0-9]+))?)?" +
1298
- "(Z|(([-+])([0-9]{2}):([0-9]{2})))?)?)?)?";
1299
- var d = s.match(new RegExp(regexp));
1300
- if (!d) return null;
1301
- var offset = 0;
1302
- var date = new Date(d[1], 0, 1);
1303
- if (d[3]) { date.setMonth(d[3] - 1); }
1304
- if (d[5]) { date.setDate(d[5]); }
1305
- if (d[7]) { date.setHours(d[7]); }
1306
- if (d[8]) { date.setMinutes(d[8]); }
1307
- if (d[10]) { date.setSeconds(d[10]); }
1308
- if (d[12]) { date.setMilliseconds(Number("0." + d[12]) * 1000); }
1309
- if (!ignoreTimezone) {
1310
- if (d[14]) {
1311
- offset = (Number(d[16]) * 60) + Number(d[17]);
1312
- offset *= ((d[15] == '-') ? 1 : -1);
1313
- }
1314
- offset -= date.getTimezoneOffset();
1315
- }
1316
- return new Date(Number(date) + (offset * 60 * 1000));
1317
- }
1318
- };
1319
- }();
1320
-
1321
-
1322
- })(jQuery);
1323
-
1324
-
1325
- /*!
1326
- * Title: jMonthCalendar 1.3.2-beta2
1327
- * Dependencies: jQuery 1.3.0 +
1328
- * Author: Kyle LeNeau
1329
- * Email: kyle.leneau@gmail.com
1330
- * Project Hompage: http://www.bytecyclist.com/projects/jmonthcalendar
1331
- * Source: http://code.google.com/p/jmonthcalendar
1332
- *
1333
- */
1334
- (function($) {
1335
- var _boxes = [];
1336
- var _eventObj = {};
1337
-
1338
- var _workingDate = null;
1339
- var _daysInMonth = 0;
1340
- var _firstOfMonth = null;
1341
- var _lastOfMonth = null;
1342
- var _gridOffset = 0;
1343
- var _totalDates = 0;
1344
- var _gridRows = 0;
1345
- var _totalBoxes = 0;
1346
- var _dateRange = { startDate: null, endDate: null };
1347
-
1348
-
1349
- var cEvents = [];
1350
- var def = {
1351
- containerId: "#jMonthCalendar",
1352
- headerHeight: 50,
1353
- firstDayOfWeek: 0,
1354
- calendarStartDate:new Date(),
1355
- dragableEvents: true,
1356
- dragHoverClass: 'DateBoxOver',
1357
- navLinks: {
1358
- enableToday: true,
1359
- enableNextYear: true,
1360
- enablePrevYear: true,
1361
- p:'&lsaquo; Prev',
1362
- n:'Next &rsaquo;',
1363
- t:'Today',
1364
- showMore: 'Show More'
1365
- },
1366
- onMonthChanging: function() {},
1367
- onMonthChanged: function() {},
1368
- onEventLinkClick: function() {},
1369
- onEventBlockClick: function() {},
1370
- onEventBlockOver: function() {},
1371
- onEventBlockOut: function() {},
1372
- onDayLinkClick: function() {},
1373
- onDayCellClick: function() {},
1374
- onDayCellDblClick: function() {},
1375
- onEventDropped: function() {},
1376
- onShowMoreClick: function() {}
1377
- };
1378
-
1379
- $.jMonthCalendar = $.J = function() {};
1380
-
1381
- var _getJSONDate = function(dateStr) {
1382
- //check conditions for different types of accepted dates
1383
- var tDt, k;
1384
- if (typeof dateStr == "string") {
1385
-
1386
- // "2008-12-28T00:00:00.0000000"
1387
- var isoRegPlus = /^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{7})$/;
1388
-
1389
- // "2008-12-28T00:00:00"
1390
- var isoReg = /^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})$/;
1391
-
1392
- //"2008-12-28"
1393
- var yyyyMMdd = /^([0-9]{4})-([0-9]{2})-([0-9]{2})$/;
1394
-
1395
- // "new Date(2009, 1, 1)"
1396
- // "new Date(1230444000000)
1397
- var newReg = /^new/;
1398
-
1399
- // "\/Date(1234418400000-0600)\/"
1400
- var stdReg = /^\\\/Date\(([0-9]{13})-([0-9]{4})\)\\\/$/;
1401
-
1402
- if (k = dateStr.match(isoRegPlus)) {
1403
- return new Date(k[1],k[2]-1,k[3],k[4],k[5],k[6]);
1404
- } else if (k = dateStr.match(isoReg)) {
1405
- return new Date(k[1],k[2]-1,k[3],k[4],k[5],k[6]);
1406
- } else if (k = dateStr.match(yyyyMMdd)) {
1407
- return new Date(k[1],k[2]-1,k[3]);
1408
- }
1409
-
1410
- if (k = dateStr.match(stdReg)) {
1411
- return new Date(k[1]);
1412
- }
1413
-
1414
- if (k = dateStr.match(newReg)) {
1415
- return eval('(' + dateStr + ')');
1416
- }
1417
-
1418
- return tDt;
1419
- }
1420
- };
1421
-
1422
- //This function will clean the JSON array, primaryly the dates and put the correct ones in the object. Intended to alwasy be called on event functions.
1423
- var _filterEventCollection = function() {
1424
- if (cEvents && cEvents.length > 0) {
1425
- var multi = [];
1426
- var single = [];
1427
-
1428
- //Update and parse all the dates
1429
- $.each(cEvents, function(){
1430
- var ev = this;
1431
- //Date Parse the JSON to create a new Date to work with here
1432
- if(ev.StartDateTime) {
1433
- if (typeof ev.StartDateTime == 'object' && ev.StartDateTime.getDate) { this.StartDateTime = ev.StartDateTime; }
1434
- if (typeof ev.StartDateTime == 'string' && ev.StartDateTime.split) { this.StartDateTime = _getJSONDate(ev.StartDateTime); }
1435
- } else if(ev.Date) { // DEPRECATED
1436
- if (typeof ev.Date == 'object' && ev.Date.getDate) { this.StartDateTime = ev.Date; }
1437
- if (typeof ev.Date == 'string' && ev.Date.split) { this.StartDateTime = _getJSONDate(ev.Date); }
1438
- } else {
1439
- return; //no start date, or legacy date. no event.
1440
- }
1441
-
1442
- if(ev.EndDateTime) {
1443
- if (typeof ev.EndDateTime == 'object' && ev.EndDateTime.getDate) { this.EndDateTime = ev.EndDateTime; }
1444
- if (typeof ev.EndDateTime == 'string' && ev.EndDateTime.split) { this.EndDateTime = _getJSONDate(ev.EndDateTime); }
1445
- } else {
1446
- this.EndDateTime = this.StartDateTime.clone();
1447
- }
1448
-
1449
- if (this.StartDateTime.clone().clearTime().compareTo(this.EndDateTime.clone().clearTime()) == 0) {
1450
- single.push(this);
1451
- } else if (this.StartDateTime.clone().clearTime().compareTo(this.EndDateTime.clone().clearTime()) == -1) {
1452
- multi.push(this);
1453
- }
1454
- });
1455
-
1456
- multi.sort(_eventSort);
1457
- single.sort(_eventSort);
1458
- cEvents = [];
1459
- $.merge(cEvents, multi);
1460
- $.merge(cEvents, single);
1461
- }
1462
- };
1463
-
1464
- var _eventSort = function(a, b) {
1465
- return a.StartDateTime.compareTo(b.StartDateTime);
1466
- };
1467
-
1468
- var _clearBoxes = function() {
1469
- _clearBoxEvents();
1470
- _boxes = [];
1471
- };
1472
-
1473
- var _clearBoxEvents = function() {
1474
- for (var i = 0; i < _boxes.length; i++) {
1475
- _boxes[i].clear();
1476
- }
1477
- _eventObj = {};
1478
- };
1479
-
1480
- var _initDates = function(dateIn) {
1481
- var today = def.calendarStartDate;
1482
- if(dateIn == undefined) {
1483
- _workingDate = new Date(today.getFullYear(), today.getMonth(), 1);
1484
- } else {
1485
- _workingDate = dateIn;
1486
- _workingDate.setDate(1);
1487
- }
1488
-
1489
- _daysInMonth = _workingDate.getDaysInMonth();
1490
- _firstOfMonth = _workingDate.clone().moveToFirstDayOfMonth();
1491
- _lastOfMonth = _workingDate.clone().moveToLastDayOfMonth();
1492
- _gridOffset = _firstOfMonth.getDay() - def.firstDayOfWeek;
1493
- _totalDates = _gridOffset + _daysInMonth;
1494
- _gridRows = Math.ceil(_totalDates / 7);
1495
- _totalBoxes = _gridRows * 7;
1496
-
1497
- _dateRange.startDate = _firstOfMonth.clone().addDays((-1) * _gridOffset);
1498
- _dateRange.endDate = _lastOfMonth.clone().addDays(_totalBoxes - (_daysInMonth + _gridOffset));
1499
- };
1500
-
1501
- var _initHeaders = function() {
1502
- // Create Previous Month link for later
1503
- var prevMonth = _workingDate.clone().addMonths(-1);
1504
- var prevMLink = $('<div class="MonthNavPrev"><a class="link-prev">'+ def.navLinks.p +'</a></div>').click(function() {
1505
- $.J.ChangeMonth(prevMonth);
1506
- return false;
1507
- });
1508
-
1509
- //Create Next Month link for later
1510
- var nextMonth = _workingDate.clone().addMonths(1);
1511
- var nextMLink = $('<div class="MonthNavNext"><a class="link-next">'+ def.navLinks.n +'</a></div>').click(function() {
1512
- $.J.ChangeMonth(nextMonth);
1513
- return false;
1514
- });
1515
-
1516
- //Create Previous Year link for later
1517
- var prevYear = _workingDate.clone().addYears(-1);
1518
- var prevYLink;
1519
- if(def.navLinks.enablePrevYear) {
1520
- prevYLink = $('<div class="YearNavPrev"><a>'+ prevYear.getFullYear() +'</a></div>').click(function() {
1521
- $.J.ChangeMonth(prevYear);
1522
- return false;
1523
- });
1524
- }
1525
-
1526
- //Create Next Year link for later
1527
- var nextYear = _workingDate.clone().addYears(1);
1528
- var nextYLink;
1529
- if(def.navLinks.enableNextYear) {
1530
- nextYLink = $('<div class="YearNavNext"><a>'+ nextYear.getFullYear() +'</a></div>').click(function() {
1531
- $.J.ChangeMonth(nextYear);
1532
- return false;
1533
- });
1534
- }
1535
-
1536
- var todayLink;
1537
- if(def.navLinks.enableToday) {
1538
- //Create Today link for later
1539
- todayLink = $('<div class="TodayLink"><a class="link-today">'+ def.navLinks.t +'</a></div>').click(function() {
1540
- $.J.ChangeMonth(new Date());
1541
- return false;
1542
- });
1543
- }
1544
-
1545
- //Build up the Header first, Navigation
1546
- var navRow = $('<tr><td colspan="7"><div class="FormHeader MonthNavigation"></div></td></tr>');
1547
- var navHead = $('.MonthNavigation', navRow);
1548
-
1549
- navHead.append(prevMLink, nextMLink);
1550
- if(def.navLinks.enableToday) { navHead.append(todayLink); }
1551
-
1552
- navHead.append($('<div class="MonthName"></div>').append(Date.CultureInfo.monthNames[_workingDate.getMonth()] + " " + _workingDate.getFullYear()));
1553
-
1554
- if(def.navLinks.enablePrevYear) { navHead.append(prevYLink); }
1555
- if(def.navLinks.enableNextYear) { navHead.append(nextYLink); }
1556
-
1557
-
1558
- // Days
1559
- var headRow = $("<tr></tr>");
1560
- for (var i = def.firstDayOfWeek; i < def.firstDayOfWeek+7; i++) {
1561
- var weekday = i % 7;
1562
- var wordday = Date.CultureInfo.dayNames[weekday];
1563
- headRow.append('<th title="' + wordday + '" class="DateHeader' + (weekday == 0 || weekday == 6 ? ' Weekend' : '') + '"><span>' + wordday + '</span></th>');
1564
- }
1565
-
1566
- headRow = $("<thead id=\"CalendarHead\"></thead>").css({ "height" : def.headerHeight + "px" }).append(headRow);
1567
- headRow = headRow.prepend(navRow);
1568
- return headRow;
1569
- };
1570
-
1571
-
1572
-
1573
- $.J.DrawCalendar = function(dateIn){
1574
- var now = new Date();
1575
- now.clearTime();
1576
-
1577
- var today = def.calendarStartDate;
1578
-
1579
- _clearBoxes();
1580
-
1581
- _initDates(dateIn);
1582
- var headerRow = _initHeaders();
1583
-
1584
- //properties
1585
- var isCurrentMonth = (_workingDate.getMonth() == today.getMonth() && _workingDate.getFullYear() == today.getFullYear());
1586
- var containerHeight = $(def.containerId).outerHeight();
1587
- var rowHeight = (containerHeight - def.headerHeight) / _gridRows;
1588
- var row = null;
1589
-
1590
- //Build up the Body
1591
- var tBody = $('<tbody id="CalendarBody"></tbody>');
1592
-
1593
- for (var i = 0; i < _totalBoxes; i++) {
1594
- var currentDate = _dateRange.startDate.clone().addDays(i);
1595
- if (i % 7 == 0 || i == 0) {
1596
- row = $("<tr></tr>");
1597
- row.css({ "height" : rowHeight + "px" });
1598
- tBody.append(row);
1599
- }
1600
-
1601
- var weekday = (def.firstDayOfWeek + i) % 7;
1602
- var atts = {'class':"DateBox" + (weekday == 0 || weekday == 6 ? ' Weekend ' : ''),
1603
- 'date':currentDate.toString("M/d/yyyy")
1604
- };
1605
-
1606
- //dates outside of month range.
1607
- if (currentDate.compareTo(_firstOfMonth) == -1 || currentDate.compareTo(_lastOfMonth) == 1) {
1608
- atts['class'] += ' Inactive';
1609
- }
1610
-
1611
- //check to see if current date rendering is today
1612
- if (currentDate.compareTo(now) == 0) {
1613
- atts['class'] += ' Today';
1614
- }
1615
-
1616
- //DateBox Events
1617
- var dateLink = $('<div class="DateLabel"><a>' + currentDate.getDate() + '</a></div>');
1618
- dateLink.bind('click', { Date: currentDate.clone() }, def.onDayLinkClick);
1619
-
1620
- var dateBox = $("<td></td>").attr(atts).append(dateLink);
1621
- dateBox.bind('dblclick', { Date: currentDate.clone() }, def.onDayCellDblClick);
1622
- dateBox.bind('click', { Date: currentDate.clone() }, def.onDayCellClick);
1623
-
1624
- if (def.dragableEvents) {
1625
- dateBox.droppable({
1626
- hoverClass: def.dragHoverClass,
1627
- tolerance: 'pointer',
1628
- drop: function(ev, ui) {
1629
- var eventId = ui.draggable.attr("eventid")
1630
- var newDate = new Date($(this).attr("date")).clearTime();
1631
-
1632
- var event;
1633
- $.each(cEvents, function() {
1634
- if (this.EventID == eventId) {
1635
- var days = new TimeSpan(newDate - this.StartDateTime).days;
1636
-
1637
- this.StartDateTime.addDays(days);
1638
- this.EndDateTime.addDays(days);
1639
-
1640
- event = this;
1641
- }
1642
- });
1643
-
1644
- $.J.ClearEventsOnCalendar();
1645
- _drawEventsOnCalendar();
1646
-
1647
- def.onEventDropped.call(this, event, newDate);
1648
- }
1649
- });
1650
- }
1651
-
1652
- _boxes.push(new CalendarBox(i, currentDate, dateBox, dateLink));
1653
- row.append(dateBox);
1654
- }
1655
- tBody.append(row);
1656
-
1657
- var a = $(def.containerId);
1658
- var cal = $('<table class="MonthlyCalendar" cellpadding="0" tablespacing="0"></table>').append(headerRow, tBody);
1659
-
1660
- a.hide();
1661
- a.html(cal);
1662
- a.fadeIn("normal");
1663
-
1664
- _drawEventsOnCalendar();
1665
- }
1666
-
1667
- var _drawEventsOnCalendar = function() {
1668
- //filter the JSON array for proper dates
1669
- _filterEventCollection();
1670
- _clearBoxEvents();
1671
-
1672
- if (cEvents && cEvents.length > 0) {
1673
- var container = $(def.containerId);
1674
-
1675
- $.each(cEvents, function(){
1676
- var ev = this;
1677
- //alert("eventID: " + ev.EventID + ", start: " + ev.StartDateTime + ",end: " + ev.EndDateTime);
1678
-
1679
- var tempStartDT = ev.StartDateTime.clone().clearTime();
1680
- var tempEndDT = ev.EndDateTime.clone().clearTime();
1681
-
1682
- var startI = new TimeSpan(tempStartDT - _dateRange.startDate).days;
1683
- var endI = new TimeSpan(tempEndDT - _dateRange.startDate).days;
1684
- //alert("start I: " + startI + " end I: " + endI);
1685
-
1686
- var istart = (startI < 0) ? 0 : startI;
1687
- var iend = (endI > _boxes.length - 1) ? _boxes.length - 1 : endI;
1688
- //alert("istart: " + istart + " iend: " + iend);
1689
-
1690
-
1691
- for (var i = istart; i <= iend; i++) {
1692
- var b = _boxes[i];
1693
-
1694
- var startBoxCompare = tempStartDT.compareTo(b.date);
1695
- var endBoxCompare = tempEndDT.compareTo(b.date);
1696
-
1697
- var continueEvent = ((i != 0 && startBoxCompare == -1 && endBoxCompare >= 0 && b.weekNumber != _boxes[i - 1].weekNumber) || (i == 0 && startBoxCompare == -1));
1698
- var toManyEvents = (startBoxCompare == 0 || (i == 0 && startBoxCompare == -1) ||
1699
- continueEvent || (startBoxCompare == -1 && endBoxCompare >= 0)) && b.vOffset >= (b.getCellBox().height() - b.getLabelHeight() - 32);
1700
-
1701
- //alert("b.vOffset: " + b.vOffset + ", cell height: " + (b.getCellBox().height() - b.getLabelHeight() - 32));
1702
- //alert(continueEvent);
1703
- //alert(toManyEvents);
1704
-
1705
- if (toManyEvents) {
1706
- if (!b.isTooManySet) {
1707
- var moreDiv = $('<div class="MoreEvents" id="ME_' + i + '">' + def.navLinks.showMore + '</div>');
1708
- var pos = b.getCellPosition();
1709
- var index = i;
1710
-
1711
- moreDiv.css({
1712
- "top" : (pos.top + (b.getCellBox().height() - b.getLabelHeight())),
1713
- "left" : pos.left,
1714
- "width" : (b.getLabelWidth() - 7),
1715
- "position" : "absolute" });
1716
-
1717
- moreDiv.click(function(e) { _showMoreClick(e, index); });
1718
-
1719
- _eventObj[moreDiv.attr("id")] = moreDiv;
1720
- b.isTooManySet = true;
1721
- } //else update the +more to show??
1722
- b.events.push(ev);
1723
- } else if (startBoxCompare == 0 || (i == 0 && startBoxCompare == -1) || continueEvent) {
1724
- var block = _buildEventBlock(ev, b.weekNumber);
1725
- var pos = b.getCellPosition();
1726
-
1727
- block.css({
1728
- "top" : (pos.top + b.getLabelHeight() + b.vOffset),
1729
- "left" : pos.left,
1730
- "width" : (b.getLabelWidth() - 7),
1731
- "position" : "absolute" });
1732
-
1733
- b.vOffset += 19;
1734
-
1735
- if (continueEvent) {
1736
- block.prepend($('<span />').addClass("ui-icon").addClass("ui-icon-triangle-1-w"));
1737
-
1738
- var e = _eventObj['Event_' + ev.EventID + '_' + (b.weekNumber - 1)];
1739
- if (e) { e.prepend($('<span />').addClass("ui-icon").addClass("ui-icon-triangle-1-e")); }
1740
- }
1741
-
1742
- _eventObj[block.attr("id")] = block;
1743
-
1744
- b.events.push(ev);
1745
- } else if (startBoxCompare == -1 && endBoxCompare >= 0) {
1746
- var e = _eventObj['Event_' + ev.EventID + '_' + b.weekNumber];
1747
- if (e) {
1748
- var w = e.css("width")
1749
- e.css({ "width" : (parseInt(w) + b.getLabelWidth() + 1) });
1750
- b.vOffset += 19;
1751
- b.events.push(ev);
1752
- }
1753
- }
1754
-
1755
- //end of month continue
1756
- if (i == iend && endBoxCompare > 0) {
1757
- var e = _eventObj['Event_' + ev.EventID + '_' + b.weekNumber];
1758
- if (e) { e.prepend($('<span />').addClass("ui-icon").addClass("ui-icon-triangle-1-e")); }
1759
- }
1760
- }
1761
- });
1762
-
1763
- for (var o in _eventObj) {
1764
- _eventObj[o].hide();
1765
- container.append(_eventObj[o]);
1766
- _eventObj[o].show();
1767
- }
1768
- }
1769
- }
1770
-
1771
- var _buildEventBlock = function(ev, weekNumber) {
1772
- var block = $('<div class="Event" id="Event_' + ev.EventID + '_' + weekNumber + '" eventid="' + ev.EventID +'"></div>');
1773
-
1774
- if(ev.CssClass) { block.addClass(ev.CssClass) }
1775
- block.bind('click', { Event: ev }, def.onEventBlockClick);
1776
- block.bind('mouseover', { Event: ev }, def.onEventBlockOver);
1777
- block.bind('mouseout', { Event: ev }, def.onEventBlockOut);
1778
-
1779
- if (def.dragableEvents) {
1780
- _dragableEvent(ev, block, weekNumber);
1781
- }
1782
-
1783
- var link;
1784
- if (ev.URL && ev.URL.length > 0) {
1785
- link = $('<a href="' + ev.URL + '">' + ev.Title + '</a>');
1786
- } else {
1787
- link = $('<a>' + ev.Title + '</a>');
1788
- }
1789
-
1790
- link.bind('click', { Event: ev }, def.onEventLinkClick);
1791
- block.append(link);
1792
- return block;
1793
- }
1794
-
1795
- var _dragableEvent = function(event, block, weekNumber) {
1796
- block.draggable({
1797
- zIndex: 4,
1798
- delay: 50,
1799
- opacity: 0.5,
1800
- revertDuration: 1000,
1801
- cursorAt: { left: 5 },
1802
- start: function(ev, ui) {
1803
- //hide any additional event parts
1804
- for (var i = 0; i <= _gridRows; i++) {
1805
- if (i == weekNumber) {
1806
- continue;
1807
- }
1808
-
1809
- var e = _eventObj['Event_' + event.EventID + '_' + i];
1810
- if (e) { e.hide(); }
1811
- }
1812
- }
1813
- });
1814
- }
1815
-
1816
- var _showMoreClick = function(e, boxIndex) {
1817
- var box = _boxes[boxIndex];
1818
- def.onShowMoreClick.call(this, box.events);
1819
- e.stopPropagation();
1820
- }
1821
-
1822
-
1823
- $.J.ClearEventsOnCalendar = function() {
1824
- _clearBoxEvents();
1825
- $(".Event", $(def.containerId)).remove();
1826
- $(".MoreEvents", $(def.containerId)).remove();
1827
- }
1828
-
1829
- $.J.AddEvents = function(eventCollection) {
1830
- if(eventCollection) {
1831
- if(eventCollection.length > 0) {
1832
- $.merge(cEvents, eventCollection);
1833
- } else {
1834
- cEvents.push(eventCollection);
1835
- }
1836
- $.J.ClearEventsOnCalendar();
1837
- _drawEventsOnCalendar();
1838
- }
1839
- }
1840
-
1841
- $.J.ReplaceEventCollection = function(eventCollection) {
1842
- if(eventCollection) {
1843
- cEvents = [];
1844
- cEvents = eventCollection;
1845
- }
1846
-
1847
- $.J.ClearEventsOnCalendar();
1848
- _drawEventsOnCalendar();
1849
- }
1850
-
1851
- $.J.ChangeMonth = function(dateIn) {
1852
- var returned = def.onMonthChanging.call(this, dateIn);
1853
- if (!returned) {
1854
- $.J.DrawCalendar(dateIn);
1855
- def.onMonthChanged.call(this, dateIn);
1856
- }
1857
- }
1858
-
1859
- $.J.Initialize = function(options, events) {
1860
- var today = new Date();
1861
-
1862
- options = $.extend(def, options);
1863
-
1864
- if (events) {
1865
- $.J.ClearEventsOnCalendar();
1866
- cEvents = events;
1867
- }
1868
-
1869
- $.J.DrawCalendar();
1870
- };
1871
-
1872
-
1873
- function CalendarBox(id, boxDate, cell, label) {
1874
- this.id = id;
1875
- this.date = boxDate;
1876
- this.cell = cell;
1877
- this.label = label;
1878
- this.weekNumber = Math.floor(id / 7);
1879
- this.events= [];
1880
- this.isTooManySet = false;
1881
- this.vOffset = 0;
1882
-
1883
- this.echo = function() {
1884
- alert("Date: " + this.date + " WeekNumber: " + this.weekNumber + " ID: " + this.id);
1885
- }
1886
-
1887
- this.clear = function() {
1888
- this.events = [];
1889
- this.isTooManySet = false;
1890
- this.vOffset = 0;
1891
- }
1892
-
1893
- this.getCellPosition = function() {
1894
- if (this.cell) {
1895
- return this.cell.position();
1896
- }
1897
- return;
1898
- }
1899
-
1900
- this.getCellBox = function() {
1901
- if (this.cell) {
1902
- return this.cell;
1903
- }
1904
- return;
1905
- }
1906
-
1907
- this.getLabelWidth = function() {
1908
- if (this.label) {
1909
- return this.label.innerWidth();
1910
- }
1911
- return;
1912
- }
1913
-
1914
- this.getLabelHeight = function() {
1915
- if (this.label) {
1916
- return this.label.height();
1917
- }
1918
- return;
1919
- }
1920
-
1921
- this.getDate = function() {
1922
- return this.date;
1923
- }
1924
- }
1925
- })(jQuery);/**
1926
- * Version: 1.0 Alpha-1
1927
- * Build Date: 13-Nov-2007
1928
- * Copyright (c) 2006-2007, Coolite Inc. (http://www.coolite.com/). All rights reserved.
1929
- * License: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
1930
- * Website: http://www.datejs.com/ or http://www.coolite.com/datejs/
1931
- */
1932
- Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}};
1933
- Date.getMonthNumberFromName=function(name){var n=Date.CultureInfo.monthNames,m=Date.CultureInfo.abbreviatedMonthNames,s=name.toLowerCase();for(var i=0;i<n.length;i++){if(n[i].toLowerCase()==s||m[i].toLowerCase()==s){return i;}}
1934
- return-1;};Date.getDayNumberFromName=function(name){var n=Date.CultureInfo.dayNames,m=Date.CultureInfo.abbreviatedDayNames,o=Date.CultureInfo.shortestDayNames,s=name.toLowerCase();for(var i=0;i<n.length;i++){if(n[i].toLowerCase()==s||m[i].toLowerCase()==s){return i;}}
1935
- return-1;};Date.isLeapYear=function(year){return(((year%4===0)&&(year%100!==0))||(year%400===0));};Date.getDaysInMonth=function(year,month){return[31,(Date.isLeapYear(year)?29:28),31,30,31,30,31,31,30,31,30,31][month];};Date.getTimezoneOffset=function(s,dst){return(dst||false)?Date.CultureInfo.abbreviatedTimeZoneDST[s.toUpperCase()]:Date.CultureInfo.abbreviatedTimeZoneStandard[s.toUpperCase()];};Date.getTimezoneAbbreviation=function(offset,dst){var n=(dst||false)?Date.CultureInfo.abbreviatedTimeZoneDST:Date.CultureInfo.abbreviatedTimeZoneStandard,p;for(p in n){if(n[p]===offset){return p;}}
1936
- return null;};Date.prototype.clone=function(){return new Date(this.getTime());};Date.prototype.compareTo=function(date){if(isNaN(this)){throw new Error(this);}
1937
- if(date instanceof Date&&!isNaN(date)){return(this>date)?1:(this<date)?-1:0;}else{throw new TypeError(date);}};Date.prototype.equals=function(date){return(this.compareTo(date)===0);};Date.prototype.between=function(start,end){var t=this.getTime();return t>=start.getTime()&&t<=end.getTime();};Date.prototype.addMilliseconds=function(value){this.setMilliseconds(this.getMilliseconds()+value);return this;};Date.prototype.addSeconds=function(value){return this.addMilliseconds(value*1000);};Date.prototype.addMinutes=function(value){return this.addMilliseconds(value*60000);};Date.prototype.addHours=function(value){return this.addMilliseconds(value*3600000);};Date.prototype.addDays=function(value){return this.addMilliseconds(value*86400000);};Date.prototype.addWeeks=function(value){return this.addMilliseconds(value*604800000);};Date.prototype.addMonths=function(value){var n=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+value);this.setDate(Math.min(n,this.getDaysInMonth()));return this;};Date.prototype.addYears=function(value){return this.addMonths(value*12);};Date.prototype.add=function(config){if(typeof config=="number"){this._orient=config;return this;}
1938
- var x=config;if(x.millisecond||x.milliseconds){this.addMilliseconds(x.millisecond||x.milliseconds);}
1939
- if(x.second||x.seconds){this.addSeconds(x.second||x.seconds);}
1940
- if(x.minute||x.minutes){this.addMinutes(x.minute||x.minutes);}
1941
- if(x.hour||x.hours){this.addHours(x.hour||x.hours);}
1942
- if(x.month||x.months){this.addMonths(x.month||x.months);}
1943
- if(x.year||x.years){this.addYears(x.year||x.years);}
1944
- if(x.day||x.days){this.addDays(x.day||x.days);}
1945
- return this;};Date._validate=function(value,min,max,name){if(typeof value!="number"){throw new TypeError(value+" is not a Number.");}else if(value<min||value>max){throw new RangeError(value+" is not a valid value for "+name+".");}
1946
- return true;};Date.validateMillisecond=function(n){return Date._validate(n,0,999,"milliseconds");};Date.validateSecond=function(n){return Date._validate(n,0,59,"seconds");};Date.validateMinute=function(n){return Date._validate(n,0,59,"minutes");};Date.validateHour=function(n){return Date._validate(n,0,23,"hours");};Date.validateDay=function(n,year,month){return Date._validate(n,1,Date.getDaysInMonth(year,month),"days");};Date.validateMonth=function(n){return Date._validate(n,0,11,"months");};Date.validateYear=function(n){return Date._validate(n,1,9999,"seconds");};Date.prototype.set=function(config){var x=config;if(!x.millisecond&&x.millisecond!==0){x.millisecond=-1;}
1947
- if(!x.second&&x.second!==0){x.second=-1;}
1948
- if(!x.minute&&x.minute!==0){x.minute=-1;}
1949
- if(!x.hour&&x.hour!==0){x.hour=-1;}
1950
- if(!x.day&&x.day!==0){x.day=-1;}
1951
- if(!x.month&&x.month!==0){x.month=-1;}
1952
- if(!x.year&&x.year!==0){x.year=-1;}
1953
- if(x.millisecond!=-1&&Date.validateMillisecond(x.millisecond)){this.addMilliseconds(x.millisecond-this.getMilliseconds());}
1954
- if(x.second!=-1&&Date.validateSecond(x.second)){this.addSeconds(x.second-this.getSeconds());}
1955
- if(x.minute!=-1&&Date.validateMinute(x.minute)){this.addMinutes(x.minute-this.getMinutes());}
1956
- if(x.hour!=-1&&Date.validateHour(x.hour)){this.addHours(x.hour-this.getHours());}
1957
- if(x.month!==-1&&Date.validateMonth(x.month)){this.addMonths(x.month-this.getMonth());}
1958
- if(x.year!=-1&&Date.validateYear(x.year)){this.addYears(x.year-this.getFullYear());}
1959
- if(x.day!=-1&&Date.validateDay(x.day,this.getFullYear(),this.getMonth())){this.addDays(x.day-this.getDate());}
1960
- if(x.timezone){this.setTimezone(x.timezone);}
1961
- if(x.timezoneOffset){this.setTimezoneOffset(x.timezoneOffset);}
1962
- return this;};Date.prototype.clearTime=function(){this.setHours(0);this.setMinutes(0);this.setSeconds(0);this.setMilliseconds(0);return this;};Date.prototype.isLeapYear=function(){var y=this.getFullYear();return(((y%4===0)&&(y%100!==0))||(y%400===0));};Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun());};Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth());};Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1});};Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()});};Date.prototype.moveToDayOfWeek=function(day,orient){var diff=(day-this.getDay()+7*(orient||+1))%7;return this.addDays((diff===0)?diff+=7*(orient||+1):diff);};Date.prototype.moveToMonth=function(month,orient){var diff=(month-this.getMonth()+12*(orient||+1))%12;return this.addMonths((diff===0)?diff+=12*(orient||+1):diff);};Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/86400000);};Date.prototype.getWeekOfYear=function(firstDayOfWeek){var y=this.getFullYear(),m=this.getMonth(),d=this.getDate();var dow=firstDayOfWeek||Date.CultureInfo.firstDayOfWeek;var offset=7+1-new Date(y,0,1).getDay();if(offset==8){offset=1;}
1963
- var daynum=((Date.UTC(y,m,d,0,0,0)-Date.UTC(y,0,1,0,0,0))/86400000)+1;var w=Math.floor((daynum-offset+7)/7);if(w===dow){y--;var prevOffset=7+1-new Date(y,0,1).getDay();if(prevOffset==2||prevOffset==8){w=53;}else{w=52;}}
1964
- return w;};Date.prototype.isDST=function(){console.log('isDST');return this.toString().match(/(E|C|M|P)(S|D)T/)[2]=="D";};Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST());};Date.prototype.setTimezoneOffset=function(s){var here=this.getTimezoneOffset(),there=Number(s)*-6/10;this.addMinutes(there-here);return this;};Date.prototype.setTimezone=function(s){return this.setTimezoneOffset(Date.getTimezoneOffset(s));};Date.prototype.getUTCOffset=function(){var n=this.getTimezoneOffset()*-10/6,r;if(n<0){r=(n-10000).toString();return r[0]+r.substr(2);}else{r=(n+10000).toString();return"+"+r.substr(1);}};Date.prototype.getDayName=function(abbrev){return abbrev?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()];};Date.prototype.getMonthName=function(abbrev){return abbrev?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()];};Date.prototype._toString=Date.prototype.toString;Date.prototype.toString=function(format){var self=this;var p=function p(s){return(s.toString().length==1)?"0"+s:s;};return format?format.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(format){switch(format){case"hh":return p(self.getHours()<13?self.getHours():(self.getHours()-12));case"h":return self.getHours()<13?self.getHours():(self.getHours()-12);case"HH":return p(self.getHours());case"H":return self.getHours();case"mm":return p(self.getMinutes());case"m":return self.getMinutes();case"ss":return p(self.getSeconds());case"s":return self.getSeconds();case"yyyy":return self.getFullYear();case"yy":return self.getFullYear().toString().substring(2,4);case"dddd":return self.getDayName();case"ddd":return self.getDayName(true);case"dd":return p(self.getDate());case"d":return self.getDate().toString();case"MMMM":return self.getMonthName();case"MMM":return self.getMonthName(true);case"MM":return p((self.getMonth()+1));case"M":return self.getMonth()+1;case"t":return self.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case"tt":return self.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case"zzz":case"zz":case"z":return"";}}):this._toString();};
1965
- Date.now=function(){return new Date();};Date.today=function(){return Date.now().clearTime();};Date.prototype._orient=+1;Date.prototype.next=function(){this._orient=+1;return this;};Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){this._orient=-1;return this;};Date.prototype._is=false;Date.prototype.is=function(){this._is=true;return this;};Number.prototype._dateElement="day";Number.prototype.fromNow=function(){var c={};c[this._dateElement]=this;return Date.now().add(c);};Number.prototype.ago=function(){var c={};c[this._dateElement]=this*-1;return Date.now().add(c);};(function(){var $D=Date.prototype,$N=Number.prototype;var dx=("sunday monday tuesday wednesday thursday friday saturday").split(/\s/),mx=("january february march april may june july august september october november december").split(/\s/),px=("Millisecond Second Minute Hour Day Week Month Year").split(/\s/),de;var df=function(n){return function(){if(this._is){this._is=false;return this.getDay()==n;}
1966
- return this.moveToDayOfWeek(n,this._orient);};};for(var i=0;i<dx.length;i++){$D[dx[i]]=$D[dx[i].substring(0,3)]=df(i);}
1967
- var mf=function(n){return function(){if(this._is){this._is=false;return this.getMonth()===n;}
1968
- return this.moveToMonth(n,this._orient);};};for(var j=0;j<mx.length;j++){$D[mx[j]]=$D[mx[j].substring(0,3)]=mf(j);}
1969
- var ef=function(j){return function(){if(j.substring(j.length-1)!="s"){j+="s";}
1970
- return this["add"+j](this._orient);};};var nf=function(n){return function(){this._dateElement=n;return this;};};for(var k=0;k<px.length;k++){de=px[k].toLowerCase();$D[de]=$D[de+"s"]=ef(px[k]);$N[de]=$N[de+"s"]=nf(de);}}());Date.prototype.toJSONString=function(){return this.toString("yyyy-MM-ddThh:mm:ssZ");};Date.prototype.toShortDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortDatePattern);};Date.prototype.toLongDateString=function(){return this.toString(Date.CultureInfo.formatPatterns.longDatePattern);};Date.prototype.toShortTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.shortTimePattern);};Date.prototype.toLongTimeString=function(){return this.toString(Date.CultureInfo.formatPatterns.longTimePattern);};Date.prototype.getOrdinal=function(){switch(this.getDate()){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th";}};
1971
- (function(){Date.Parsing={Exception:function(s){this.message="Parse error at '"+s.substring(0,10)+" ...'";}};var $P=Date.Parsing;var _=$P.Operators={rtoken:function(r){return function(s){var mx=s.match(r);if(mx){return([mx[0],s.substring(mx[0].length)]);}else{throw new $P.Exception(s);}};},token:function(s){return function(s){return _.rtoken(new RegExp("^\s*"+s+"\s*"))(s);};},stoken:function(s){return _.rtoken(new RegExp("^"+s));},until:function(p){return function(s){var qx=[],rx=null;while(s.length){try{rx=p.call(this,s);}catch(e){qx.push(rx[0]);s=rx[1];continue;}
1972
- break;}
1973
- return[qx,s];};},many:function(p){return function(s){var rx=[],r=null;while(s.length){try{r=p.call(this,s);}catch(e){return[rx,s];}
1974
- rx.push(r[0]);s=r[1];}
1975
- return[rx,s];};},optional:function(p){return function(s){var r=null;try{r=p.call(this,s);}catch(e){return[null,s];}
1976
- return[r[0],r[1]];};},not:function(p){return function(s){try{p.call(this,s);}catch(e){return[null,s];}
1977
- throw new $P.Exception(s);};},ignore:function(p){return p?function(s){var r=null;r=p.call(this,s);return[null,r[1]];}:null;},product:function(){var px=arguments[0],qx=Array.prototype.slice.call(arguments,1),rx=[];for(var i=0;i<px.length;i++){rx.push(_.each(px[i],qx));}
1978
- return rx;},cache:function(rule){var cache={},r=null;return function(s){try{r=cache[s]=(cache[s]||rule.call(this,s));}catch(e){r=cache[s]=e;}
1979
- if(r instanceof $P.Exception){throw r;}else{return r;}};},any:function(){var px=arguments;return function(s){var r=null;for(var i=0;i<px.length;i++){if(px[i]==null){continue;}
1980
- try{r=(px[i].call(this,s));}catch(e){r=null;}
1981
- if(r){return r;}}
1982
- throw new $P.Exception(s);};},each:function(){var px=arguments;return function(s){var rx=[],r=null;for(var i=0;i<px.length;i++){if(px[i]==null){continue;}
1983
- try{r=(px[i].call(this,s));}catch(e){throw new $P.Exception(s);}
1984
- rx.push(r[0]);s=r[1];}
1985
- return[rx,s];};},all:function(){var px=arguments,_=_;return _.each(_.optional(px));},sequence:function(px,d,c){d=d||_.rtoken(/^\s*/);c=c||null;if(px.length==1){return px[0];}
1986
- return function(s){var r=null,q=null;var rx=[];for(var i=0;i<px.length;i++){try{r=px[i].call(this,s);}catch(e){break;}
1987
- rx.push(r[0]);try{q=d.call(this,r[1]);}catch(ex){q=null;break;}
1988
- s=q[1];}
1989
- if(!r){throw new $P.Exception(s);}
1990
- if(q){throw new $P.Exception(q[1]);}
1991
- if(c){try{r=c.call(this,r[1]);}catch(ey){throw new $P.Exception(r[1]);}}
1992
- return[rx,(r?r[1]:s)];};},between:function(d1,p,d2){d2=d2||d1;var _fn=_.each(_.ignore(d1),p,_.ignore(d2));return function(s){var rx=_fn.call(this,s);return[[rx[0][0],r[0][2]],rx[1]];};},list:function(p,d,c){d=d||_.rtoken(/^\s*/);c=c||null;return(p instanceof Array?_.each(_.product(p.slice(0,-1),_.ignore(d)),p.slice(-1),_.ignore(c)):_.each(_.many(_.each(p,_.ignore(d))),px,_.ignore(c)));},set:function(px,d,c){d=d||_.rtoken(/^\s*/);c=c||null;return function(s){var r=null,p=null,q=null,rx=null,best=[[],s],last=false;for(var i=0;i<px.length;i++){q=null;p=null;r=null;last=(px.length==1);try{r=px[i].call(this,s);}catch(e){continue;}
1993
- rx=[[r[0]],r[1]];if(r[1].length>0&&!last){try{q=d.call(this,r[1]);}catch(ex){last=true;}}else{last=true;}
1994
- if(!last&&q[1].length===0){last=true;}
1995
- if(!last){var qx=[];for(var j=0;j<px.length;j++){if(i!=j){qx.push(px[j]);}}
1996
- p=_.set(qx,d).call(this,q[1]);if(p[0].length>0){rx[0]=rx[0].concat(p[0]);rx[1]=p[1];}}
1997
- if(rx[1].length<best[1].length){best=rx;}
1998
- if(best[1].length===0){break;}}
1999
- if(best[0].length===0){return best;}
2000
- if(c){try{q=c.call(this,best[1]);}catch(ey){throw new $P.Exception(best[1]);}
2001
- best[1]=q[1];}
2002
- return best;};},forward:function(gr,fname){return function(s){return gr[fname].call(this,s);};},replace:function(rule,repl){return function(s){var r=rule.call(this,s);return[repl,r[1]];};},process:function(rule,fn){return function(s){var r=rule.call(this,s);return[fn.call(this,r[0]),r[1]];};},min:function(min,rule){return function(s){var rx=rule.call(this,s);if(rx[0].length<min){throw new $P.Exception(s);}
2003
- return rx;};}};var _generator=function(op){return function(){var args=null,rx=[];if(arguments.length>1){args=Array.prototype.slice.call(arguments);}else if(arguments[0]instanceof Array){args=arguments[0];}
2004
- if(args){for(var i=0,px=args.shift();i<px.length;i++){args.unshift(px[i]);rx.push(op.apply(null,args));args.shift();return rx;}}else{return op.apply(null,arguments);}};};var gx="optional not ignore cache".split(/\s/);for(var i=0;i<gx.length;i++){_[gx[i]]=_generator(_[gx[i]]);}
2005
- var _vector=function(op){return function(){if(arguments[0]instanceof Array){return op.apply(null,arguments[0]);}else{return op.apply(null,arguments);}};};var vx="each any all".split(/\s/);for(var j=0;j<vx.length;j++){_[vx[j]]=_vector(_[vx[j]]);}}());(function(){var flattenAndCompact=function(ax){var rx=[];for(var i=0;i<ax.length;i++){if(ax[i]instanceof Array){rx=rx.concat(flattenAndCompact(ax[i]));}else{if(ax[i]){rx.push(ax[i]);}}}
2006
- return rx;};Date.Grammar={};Date.Translator={hour:function(s){return function(){this.hour=Number(s);};},minute:function(s){return function(){this.minute=Number(s);};},second:function(s){return function(){this.second=Number(s);};},meridian:function(s){return function(){this.meridian=s.slice(0,1).toLowerCase();};},timezone:function(s){return function(){var n=s.replace(/[^\d\+\-]/g,"");if(n.length){this.timezoneOffset=Number(n);}else{this.timezone=s.toLowerCase();}};},day:function(x){var s=x[0];return function(){this.day=Number(s.match(/\d+/)[0]);};},month:function(s){return function(){this.month=((s.length==3)?Date.getMonthNumberFromName(s):(Number(s)-1));};},year:function(s){return function(){var n=Number(s);this.year=((s.length>2)?n:(n+(((n+2000)<Date.CultureInfo.twoDigitYearMax)?2000:1900)));};},rday:function(s){return function(){switch(s){case"yesterday":this.days=-1;break;case"tomorrow":this.days=1;break;case"today":this.days=0;break;case"now":this.days=0;this.now=true;break;}};},finishExact:function(x){x=(x instanceof Array)?x:[x];var now=new Date();this.year=now.getFullYear();this.month=now.getMonth();this.day=1;this.hour=0;this.minute=0;this.second=0;for(var i=0;i<x.length;i++){if(x[i]){x[i].call(this);}}
2007
- this.hour=(this.meridian=="p"&&this.hour<13)?this.hour+12:this.hour;if(this.day>Date.getDaysInMonth(this.year,this.month)){throw new RangeError(this.day+" is not a valid value for days.");}
2008
- var r=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);if(this.timezone){r.set({timezone:this.timezone});}else if(this.timezoneOffset){r.set({timezoneOffset:this.timezoneOffset});}
2009
- return r;},finish:function(x){x=(x instanceof Array)?flattenAndCompact(x):[x];if(x.length===0){return null;}
2010
- for(var i=0;i<x.length;i++){if(typeof x[i]=="function"){x[i].call(this);}}
2011
- if(this.now){return new Date();}
2012
- var today=Date.today();var method=null;var expression=!!(this.days!=null||this.orient||this.operator);if(expression){var gap,mod,orient;orient=((this.orient=="past"||this.operator=="subtract")?-1:1);if(this.weekday){this.unit="day";gap=(Date.getDayNumberFromName(this.weekday)-today.getDay());mod=7;this.days=gap?((gap+(orient*mod))%mod):(orient*mod);}
2013
- if(this.month){this.unit="month";gap=(this.month-today.getMonth());mod=12;this.months=gap?((gap+(orient*mod))%mod):(orient*mod);this.month=null;}
2014
- if(!this.unit){this.unit="day";}
2015
- if(this[this.unit+"s"]==null||this.operator!=null){if(!this.value){this.value=1;}
2016
- if(this.unit=="week"){this.unit="day";this.value=this.value*7;}
2017
- this[this.unit+"s"]=this.value*orient;}
2018
- return today.add(this);}else{if(this.meridian&&this.hour){this.hour=(this.hour<13&&this.meridian=="p")?this.hour+12:this.hour;}
2019
- if(this.weekday&&!this.day){this.day=(today.addDays((Date.getDayNumberFromName(this.weekday)-today.getDay()))).getDate();}
2020
- if(this.month&&!this.day){this.day=1;}
2021
- return today.set(this);}}};var _=Date.Parsing.Operators,g=Date.Grammar,t=Date.Translator,_fn;g.datePartDelimiter=_.rtoken(/^([\s\-\.\,\/\x27]+)/);g.timePartDelimiter=_.stoken(":");g.whiteSpace=_.rtoken(/^\s*/);g.generalDelimiter=_.rtoken(/^(([\s\,]|at|on)+)/);var _C={};g.ctoken=function(keys){var fn=_C[keys];if(!fn){var c=Date.CultureInfo.regexPatterns;var kx=keys.split(/\s+/),px=[];for(var i=0;i<kx.length;i++){px.push(_.replace(_.rtoken(c[kx[i]]),kx[i]));}
2022
- fn=_C[keys]=_.any.apply(null,px);}
2023
- return fn;};g.ctoken2=function(key){return _.rtoken(Date.CultureInfo.regexPatterns[key]);};g.h=_.cache(_.process(_.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),t.hour));g.hh=_.cache(_.process(_.rtoken(/^(0[0-9]|1[0-2])/),t.hour));g.H=_.cache(_.process(_.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),t.hour));g.HH=_.cache(_.process(_.rtoken(/^([0-1][0-9]|2[0-3])/),t.hour));g.m=_.cache(_.process(_.rtoken(/^([0-5][0-9]|[0-9])/),t.minute));g.mm=_.cache(_.process(_.rtoken(/^[0-5][0-9]/),t.minute));g.s=_.cache(_.process(_.rtoken(/^([0-5][0-9]|[0-9])/),t.second));g.ss=_.cache(_.process(_.rtoken(/^[0-5][0-9]/),t.second));g.hms=_.cache(_.sequence([g.H,g.mm,g.ss],g.timePartDelimiter));g.t=_.cache(_.process(g.ctoken2("shortMeridian"),t.meridian));g.tt=_.cache(_.process(g.ctoken2("longMeridian"),t.meridian));g.z=_.cache(_.process(_.rtoken(/^(\+|\-)?\s*\d\d\d\d?/),t.timezone));g.zz=_.cache(_.process(_.rtoken(/^(\+|\-)\s*\d\d\d\d/),t.timezone));g.zzz=_.cache(_.process(g.ctoken2("timezone"),t.timezone));g.timeSuffix=_.each(_.ignore(g.whiteSpace),_.set([g.tt,g.zzz]));g.time=_.each(_.optional(_.ignore(_.stoken("T"))),g.hms,g.timeSuffix);g.d=_.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1]|\d)/),_.optional(g.ctoken2("ordinalSuffix"))),t.day));g.dd=_.cache(_.process(_.each(_.rtoken(/^([0-2]\d|3[0-1])/),_.optional(g.ctoken2("ordinalSuffix"))),t.day));g.ddd=g.dddd=_.cache(_.process(g.ctoken("sun mon tue wed thu fri sat"),function(s){return function(){this.weekday=s;};}));g.M=_.cache(_.process(_.rtoken(/^(1[0-2]|0\d|\d)/),t.month));g.MM=_.cache(_.process(_.rtoken(/^(1[0-2]|0\d)/),t.month));g.MMM=g.MMMM=_.cache(_.process(g.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),t.month));g.y=_.cache(_.process(_.rtoken(/^(\d\d?)/),t.year));g.yy=_.cache(_.process(_.rtoken(/^(\d\d)/),t.year));g.yyy=_.cache(_.process(_.rtoken(/^(\d\d?\d?\d?)/),t.year));g.yyyy=_.cache(_.process(_.rtoken(/^(\d\d\d\d)/),t.year));_fn=function(){return _.each(_.any.apply(null,arguments),_.not(g.ctoken2("timeContext")));};g.day=_fn(g.d,g.dd);g.month=_fn(g.M,g.MMM);g.year=_fn(g.yyyy,g.yy);g.orientation=_.process(g.ctoken("past future"),function(s){return function(){this.orient=s;};});g.operator=_.process(g.ctoken("add subtract"),function(s){return function(){this.operator=s;};});g.rday=_.process(g.ctoken("yesterday tomorrow today now"),t.rday);g.unit=_.process(g.ctoken("minute hour day week month year"),function(s){return function(){this.unit=s;};});g.value=_.process(_.rtoken(/^\d\d?(st|nd|rd|th)?/),function(s){return function(){this.value=s.replace(/\D/g,"");};});g.expression=_.set([g.rday,g.operator,g.value,g.unit,g.orientation,g.ddd,g.MMM]);_fn=function(){return _.set(arguments,g.datePartDelimiter);};g.mdy=_fn(g.ddd,g.month,g.day,g.year);g.ymd=_fn(g.ddd,g.year,g.month,g.day);g.dmy=_fn(g.ddd,g.day,g.month,g.year);g.date=function(s){return((g[Date.CultureInfo.dateElementOrder]||g.mdy).call(this,s));};g.format=_.process(_.many(_.any(_.process(_.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(fmt){if(g[fmt]){return g[fmt];}else{throw Date.Parsing.Exception(fmt);}}),_.process(_.rtoken(/^[^dMyhHmstz]+/),function(s){return _.ignore(_.stoken(s));}))),function(rules){return _.process(_.each.apply(null,rules),t.finishExact);});var _F={};var _get=function(f){return _F[f]=(_F[f]||g.format(f)[0]);};g.formats=function(fx){if(fx instanceof Array){var rx=[];for(var i=0;i<fx.length;i++){rx.push(_get(fx[i]));}
2024
- return _.any.apply(null,rx);}else{return _get(fx);}};g._formats=g.formats(["yyyy-MM-ddTHH:mm:ss","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","d"]);g._start=_.process(_.set([g.date,g.time,g.expression],g.generalDelimiter,g.whiteSpace),t.finish);g.start=function(s){try{var r=g._formats.call({},s);if(r[1].length===0){return r;}}catch(e){}
2025
- return g._start.call({},s);};}());Date._parse=Date.parse;Date.parse=function(s){var r=null;if(!s){return null;}
2026
- try{r=Date.Grammar.start.call({},s);}catch(e){return null;}
2027
- return((r[1].length===0)?r[0]:null);};Date.getParseFunction=function(fx){var fn=Date.Grammar.formats(fx);return function(s){var r=null;try{r=fn.call({},s);}catch(e){return null;}
2028
- return((r[1].length===0)?r[0]:null);};};Date.parseExact=function(s,fx){return Date.getParseFunction(fx)(s);};
2029
- /**
2030
- * Version: 1.0 Alpha-1
2031
- * Build Date: 13-Nov-2007
2032
- * Copyright (c) 2006-2007, Coolite Inc. (http://www.coolite.com/). All rights reserved.
2033
- * License: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
2034
- * Website: http://www.datejs.com/ or http://www.coolite.com/datejs/
2035
- */
2036
- TimeSpan=function(days,hours,minutes,seconds,milliseconds){this.days=0;this.hours=0;this.minutes=0;this.seconds=0;this.milliseconds=0;if(arguments.length==5){this.days=days;this.hours=hours;this.minutes=minutes;this.seconds=seconds;this.milliseconds=milliseconds;}
2037
- else if(arguments.length==1&&typeof days=="number"){var orient=(days<0)?-1:+1;this.milliseconds=Math.abs(days);this.days=Math.floor(this.milliseconds/(24*60*60*1000))*orient;this.milliseconds=this.milliseconds%(24*60*60*1000);this.hours=Math.floor(this.milliseconds/(60*60*1000))*orient;this.milliseconds=this.milliseconds%(60*60*1000);this.minutes=Math.floor(this.milliseconds/(60*1000))*orient;this.milliseconds=this.milliseconds%(60*1000);this.seconds=Math.floor(this.milliseconds/1000)*orient;this.milliseconds=this.milliseconds%1000;this.milliseconds=this.milliseconds*orient;return this;}
2038
- else{return null;}};TimeSpan.prototype.compare=function(timeSpan){var t1=new Date(1970,1,1,this.hours(),this.minutes(),this.seconds()),t2;if(timeSpan===null){t2=new Date(1970,1,1,0,0,0);}
2039
- else{t2=new Date(1970,1,1,timeSpan.hours(),timeSpan.minutes(),timeSpan.seconds());}
2040
- return(t1>t2)?1:(t1<t2)?-1:0;};TimeSpan.prototype.add=function(timeSpan){return(timeSpan===null)?this:this.addSeconds(timeSpan.getTotalMilliseconds()/1000);};TimeSpan.prototype.subtract=function(timeSpan){return(timeSpan===null)?this:this.addSeconds(-timeSpan.getTotalMilliseconds()/1000);};TimeSpan.prototype.addDays=function(n){return new TimeSpan(this.getTotalMilliseconds()+(n*24*60*60*1000));};TimeSpan.prototype.addHours=function(n){return new TimeSpan(this.getTotalMilliseconds()+(n*60*60*1000));};TimeSpan.prototype.addMinutes=function(n){return new TimeSpan(this.getTotalMilliseconds()+(n*60*1000));};TimeSpan.prototype.addSeconds=function(n){return new TimeSpan(this.getTotalMilliseconds()+(n*1000));};TimeSpan.prototype.addMilliseconds=function(n){return new TimeSpan(this.getTotalMilliseconds()+n);};TimeSpan.prototype.getTotalMilliseconds=function(){return(this.days()*(24*60*60*1000))+(this.hours()*(60*60*1000))+(this.minutes()*(60*1000))+(this.seconds()*(1000));};TimeSpan.prototype.get12HourHour=function(){return((h=this.hours()%12)?h:12);};TimeSpan.prototype.getDesignator=function(){return(this.hours()<12)?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;};TimeSpan.prototype.toString=function(format){function _toString(){if(this.days()!==null&&this.days()>0){return this.days()+"."+this.hours()+":"+p(this.minutes())+":"+p(this.seconds());}
2041
- else{return this.hours()+":"+p(this.minutes())+":"+p(this.seconds());}}
2042
- function p(s){return(s.toString().length<2)?"0"+s:s;}
2043
- var self=this;return format?format.replace(/d|dd|HH|H|hh|h|mm|m|ss|s|tt|t/g,function(format){switch(format){case"d":return self.days();case"dd":return p(self.days());case"H":return self.hours();case"HH":return p(self.hours());case"h":return self.get12HourHour();case"hh":return p(self.get12HourHour());case"m":return self.minutes();case"mm":return p(self.minutes());case"s":return self.seconds();case"ss":return p(self.seconds());case"t":return((this.hours()<12)?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator).substring(0,1);case"tt":return(this.hours()<12)?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;}}):this._toString();};var TimePeriod=function(years,months,days,hours,minutes,seconds,milliseconds){this.years=0;this.months=0;this.days=0;this.hours=0;this.minutes=0;this.seconds=0;this.milliseconds=0;if(arguments.length==2&&arguments[0]instanceof Date&&arguments[1]instanceof Date){var date1=years.clone();var date2=months.clone();var temp=date1.clone();var orient=(date1>date2)?-1:+1;this.years=date2.getFullYear()-date1.getFullYear();temp.addYears(this.years);if(orient==+1){if(temp>date2){if(this.years!==0){this.years--;}}}else{if(temp<date2){if(this.years!==0){this.years++;}}}
2044
- date1.addYears(this.years);if(orient==+1){while(date1<date2&&date1.clone().addDays(date1.getDaysInMonth())<date2){date1.addMonths(1);this.months++;}}
2045
- else{while(date1>date2&&date1.clone().addDays(-date1.getDaysInMonth())>date2){date1.addMonths(-1);this.months--;}}
2046
- var diff=date2-date1;if(diff!==0){var ts=new TimeSpan(diff);this.days=ts.days;this.hours=ts.hours;this.minutes=ts.minutes;this.seconds=ts.seconds;this.milliseconds=ts.milliseconds;}
2047
- return this;}};