compass-jquery-plugin 0.3.0.beta.22 → 0.3.0.beta.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1192) hide show
  1. data/README.textile +59 -17
  2. data/Rakefile +51 -51
  3. data/VERSION.yml +1 -1
  4. data/compass-jquery-plugin.gemspec +1132 -1049
  5. data/gem_tasks/dynatree.rake +76 -76
  6. data/gem_tasks/emulators.rake +57 -0
  7. data/gem_tasks/jqgrid.rake +118 -118
  8. data/gem_tasks/jqical.rake +85 -85
  9. data/gem_tasks/jqtools.rake +60 -0
  10. data/gem_tasks/jqtouch.rake +20 -40
  11. data/gem_tasks/jrails.rake +35 -25
  12. data/gem_tasks/jstree.rake +96 -95
  13. data/gem_tasks/mobile.rake +113 -0
  14. data/gem_tasks/ribbon.rake +77 -77
  15. data/gem_tasks/rubygems.rake +6 -6
  16. data/gem_tasks/secret_sauce.rake +63 -63
  17. data/lib/jquery.mobile.rb +33 -0
  18. data/lib/jquery.ui.rb +140 -140
  19. data/lib/jquery/emulators.rb +3 -0
  20. data/lib/jquery/jqical/helpers/ui_event_helper.rb +13 -13
  21. data/lib/jquery/jqtools.rb +2 -0
  22. data/lib/jquery/mobile.rb +3 -0
  23. data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +117 -117
  24. data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +225 -225
  25. data/templates/dynatree/config/initializers/dynatree.rb +4 -4
  26. data/templates/dynatree/{jquery.ui/dynatree.aero.scss → jquery/dynatree/aero.scss} +31 -31
  27. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbChecked.png +0 -0
  28. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbChecked_hover.png +0 -0
  29. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbIntermediate.png +0 -0
  30. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbIntermediate_hover.png +0 -0
  31. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbUnchecked.png +0 -0
  32. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/cbUnchecked_hover.png +0 -0
  33. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/collapsed.png +0 -0
  34. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/collapsed_hover.png +0 -0
  35. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/copy_here.png +0 -0
  36. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/customDoc1.png +0 -0
  37. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/customFolder1.png +0 -0
  38. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/doc_with_children.png +0 -0
  39. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/document.png +0 -0
  40. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/drop_accept.png +0 -0
  41. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/drop_here.png +0 -0
  42. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/drop_reject.png +0 -0
  43. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/empty.png +0 -0
  44. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/expanded.png +0 -0
  45. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/expanded_hover.png +0 -0
  46. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder.png +0 -0
  47. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder_docs.png +0 -0
  48. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder_images.png +0 -0
  49. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/folder_page.png +0 -0
  50. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/ltDoc.png +0 -0
  51. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/ltError.png +0 -0
  52. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/ltWait.gif +0 -0
  53. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/move_here.png +0 -0
  54. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbChecked.png +0 -0
  55. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbChecked_hover.png +0 -0
  56. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbIntermediate.png +0 -0
  57. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbIntermediate_hover.png +0 -0
  58. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbUnchecked.png +0 -0
  59. data/templates/dynatree/{jquery.ui/dynatree.aero → jquery/dynatree/aero}/rbUnchecked_hover.png +0 -0
  60. data/templates/dynatree/{jquery.ui/dynatree.crystal.scss → jquery/dynatree/aqua.scss} +32 -32
  61. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbChecked.png +0 -0
  62. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbChecked_hover.png +0 -0
  63. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbIntermediate.png +0 -0
  64. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbIntermediate_hover.png +0 -0
  65. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbUnchecked.png +0 -0
  66. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/cbUnchecked_hover.png +0 -0
  67. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/collapsed.png +0 -0
  68. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/collapsed_hover.png +0 -0
  69. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/copy_here.png +0 -0
  70. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/customDoc1.png +0 -0
  71. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/customFolder1.png +0 -0
  72. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/doc_with_children.png +0 -0
  73. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/document.png +0 -0
  74. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/drop_accept.png +0 -0
  75. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/drop_here.png +0 -0
  76. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/drop_reject.png +0 -0
  77. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/empty.png +0 -0
  78. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/expanded.png +0 -0
  79. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/expanded_hover.png +0 -0
  80. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder.png +0 -0
  81. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_docs.png +0 -0
  82. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_images.png +0 -0
  83. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_open.png +0 -0
  84. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/folder_page.png +0 -0
  85. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/ltDoc.png +0 -0
  86. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/ltError.png +0 -0
  87. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/ltWait.gif +0 -0
  88. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/move_here.png +0 -0
  89. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbChecked.png +0 -0
  90. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbChecked_hover.png +0 -0
  91. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbIntermediate.png +0 -0
  92. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbIntermediate_hover.png +0 -0
  93. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbUnchecked.png +0 -0
  94. data/templates/dynatree/{jquery.ui/dynatree.aqua → jquery/dynatree/aqua}/rbUnchecked_hover.png +0 -0
  95. data/templates/dynatree/{jquery.ui/dynatree.aqua.scss → jquery/dynatree/crystal.scss} +32 -32
  96. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbChecked.png +0 -0
  97. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbChecked_hover.png +0 -0
  98. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbIntermediate.png +0 -0
  99. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbIntermediate_hover.png +0 -0
  100. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbUnchecked.png +0 -0
  101. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/cbUnchecked_hover.png +0 -0
  102. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/collapsed.png +0 -0
  103. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/collapsed_hover.png +0 -0
  104. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/copy_here.png +0 -0
  105. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/customDoc1.png +0 -0
  106. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/customFolder1.png +0 -0
  107. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/doc_with_children.png +0 -0
  108. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/document.png +0 -0
  109. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/drop_accept.png +0 -0
  110. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/drop_here.png +0 -0
  111. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/drop_reject.png +0 -0
  112. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/empty.png +0 -0
  113. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/expanded.png +0 -0
  114. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/expanded_hover.png +0 -0
  115. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder.png +0 -0
  116. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_docs.png +0 -0
  117. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_images.png +0 -0
  118. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_open.png +0 -0
  119. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/folder_page.png +0 -0
  120. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/ltDoc.png +0 -0
  121. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/ltError.png +0 -0
  122. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/ltWait.gif +0 -0
  123. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/move_here.png +0 -0
  124. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbChecked.png +0 -0
  125. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbChecked_hover.png +0 -0
  126. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbIntermediate.png +0 -0
  127. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbIntermediate_hover.png +0 -0
  128. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbUnchecked.png +0 -0
  129. data/templates/dynatree/{jquery.ui/dynatree.crystal → jquery/dynatree/crystal}/rbUnchecked_hover.png +0 -0
  130. data/templates/dynatree/{jquery.ui/dynatree.xp.scss → jquery/dynatree/xp.scss} +35 -35
  131. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbChecked.png +0 -0
  132. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbChecked_hover.png +0 -0
  133. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbIntermediate.png +0 -0
  134. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbIntermediate_hover.png +0 -0
  135. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbUnchecked.png +0 -0
  136. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/cbUnchecked_hover.png +0 -0
  137. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/copy_here.png +0 -0
  138. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/customDoc1.png +0 -0
  139. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/customFolder1.png +0 -0
  140. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/drop_accept.png +0 -0
  141. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/drop_here.png +0 -0
  142. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/drop_reject.png +0 -0
  143. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltD_ne.png +0 -0
  144. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltD_nes.png +0 -0
  145. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltDoc.png +0 -0
  146. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltError.png +0 -0
  147. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltFld.png +0 -0
  148. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltFld_o.png +0 -0
  149. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_.png +0 -0
  150. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_ne.png +0 -0
  151. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_nes.png +0 -0
  152. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltL_ns.png +0 -0
  153. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltM_ne.png +0 -0
  154. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltM_nes.png +0 -0
  155. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltP_ne.png +0 -0
  156. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltP_nes.png +0 -0
  157. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/ltWait.gif +0 -0
  158. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/move_here.png +0 -0
  159. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbChecked.png +0 -0
  160. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbChecked_hover.png +0 -0
  161. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbIntermediate.png +0 -0
  162. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbIntermediate_hover.png +0 -0
  163. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbUnchecked.png +0 -0
  164. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/rbUnchecked_hover.png +0 -0
  165. data/templates/dynatree/{jquery.ui/dynatree.xp → jquery/dynatree/xp}/vline.png +0 -0
  166. data/templates/dynatree/manifest.rb +140 -140
  167. data/templates/emulators/config/initializers/emulators.rb +10 -0
  168. data/templates/emulators/emulators/blackberry.landscape.scss +15 -0
  169. data/templates/emulators/emulators/blackberry.portrait.scss +15 -0
  170. data/templates/emulators/emulators/blackberry.torch.landscape.png +0 -0
  171. data/templates/emulators/emulators/blackberry.torch.portrait.png +0 -0
  172. data/templates/emulators/emulators/ipad.landscape.png +0 -0
  173. data/templates/emulators/emulators/ipad.landscape.scss +15 -0
  174. data/templates/emulators/emulators/ipad.portrait.png +0 -0
  175. data/templates/emulators/emulators/ipad.portrait.scss +15 -0
  176. data/templates/emulators/emulators/iphone.landscape.png +0 -0
  177. data/templates/emulators/emulators/iphone.landscape.scss +15 -0
  178. data/templates/emulators/emulators/iphone.portrait.png +0 -0
  179. data/templates/emulators/emulators/iphone.portrait.scss +15 -0
  180. data/templates/emulators/emulators/palm.landscape.scss +15 -0
  181. data/templates/emulators/emulators/palm.portrait.scss +15 -0
  182. data/templates/emulators/emulators/palm.pre.landscape.png +0 -0
  183. data/templates/emulators/emulators/palm.pre.portrait.png +0 -0
  184. data/templates/emulators/manifest.rb +20 -0
  185. data/templates/jqgrid/config/initializers/jqgrid.rb +1 -1
  186. data/templates/jqgrid/i18n/jqgrid/locale-cat.js +1 -1
  187. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +1 -1
  188. data/templates/jqgrid/i18n/jqgrid/locale-de.js +23 -18
  189. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +6 -6
  190. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +2 -2
  191. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +1 -1
  192. data/templates/jqgrid/jquery.jqGrid.js +1858 -1850
  193. data/templates/jqgrid/jquery.jqGrid.min.js +214 -214
  194. data/templates/jqgrid/{jquery.ui → jquery}/jqGrid.scss +0 -0
  195. data/templates/jqgrid/manifest.rb +1 -1
  196. data/templates/jqical/app/views/{ui → shared}/_ui_event_for.js.haml +0 -0
  197. data/templates/jqical/config/initializers/jqical.rb +1 -1
  198. data/templates/jqical/{jquery.ui → jquery}/jqical.scss +0 -0
  199. data/templates/jqical/{jquery.ui → jquery}/jqical/calendar.png +0 -0
  200. data/templates/jqical/{jquery.ui → jquery}/jqical/clock.png +0 -0
  201. data/templates/jqical/manifest.rb +4 -4
  202. data/templates/jqtools/config/initializers/jqtools.rb +3 -0
  203. data/templates/jqtools/jquery.tools.js +4576 -0
  204. data/templates/jqtools/jquery.tools.min.js +255 -0
  205. data/templates/jqtools/manifest.rb +6 -0
  206. data/templates/jqtouch/config/initializers/jqtouch.rb +5 -6
  207. data/templates/jqtouch/jquery.jqtouch.js +656 -414
  208. data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
  209. data/templates/jqtouch/{jqtouch/jqt.apple.scss → jquery/touch/apple.scss} +30 -36
  210. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/activeButton.png +0 -0
  211. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/backButton.png +0 -0
  212. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/cancel.png +0 -0
  213. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/chevron.png +0 -0
  214. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/grayButton.png +0 -0
  215. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/greenButton.png +0 -0
  216. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/listArrowSel.png +0 -0
  217. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/listGroup.png +0 -0
  218. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/loading.gif +0 -0
  219. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/on_off.png +0 -0
  220. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/pinstripes.png +0 -0
  221. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/redButton.png +0 -0
  222. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/selection.png +0 -0
  223. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/thumb.png +0 -0
  224. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toggle.png +0 -0
  225. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toggleOn.png +0 -0
  226. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toolButton.png +0 -0
  227. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/toolbar.png +0 -0
  228. data/templates/jqtouch/{jqtouch → jquery/touch}/apple/whiteButton.png +0 -0
  229. data/templates/jqtouch/{jqtouch/jqt.default.scss → jquery/touch/default.scss} +31 -43
  230. data/templates/jqtouch/{jqtouch → jquery/touch}/default/backButton.png +0 -0
  231. data/templates/jqtouch/{jqtouch → jquery/touch}/default/backButtonActive.png +0 -0
  232. data/templates/jqtouch/{jqtouch → jquery/touch}/default/bigButton.png +0 -0
  233. data/templates/jqtouch/{jqtouch → jquery/touch}/default/bigButtonActive.png +0 -0
  234. data/templates/jqtouch/{jqtouch → jquery/touch}/default/button.png +0 -0
  235. data/templates/jqtouch/{jqtouch → jquery/touch}/default/buttonActive.png +0 -0
  236. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevron.png +0 -0
  237. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevronActive.png +0 -0
  238. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevronCircle.png +0 -0
  239. data/templates/jqtouch/{jqtouch → jquery/touch}/default/chevronCircleActive.png +0 -0
  240. data/templates/jqtouch/{jqtouch → jquery/touch}/default/loading.gif +0 -0
  241. data/templates/jqtouch/{jqtouch → jquery/touch}/default/toggleSwitch.png +0 -0
  242. data/templates/jqtouch/{jqtouch → jquery/touch}/default/toolbarBackground.png +0 -0
  243. data/templates/jqtouch/jqtouch/glyphish/Read me first - license.txt b/data/templates/jqtouch/jquery/touch/glyphish/Read me first - → license.txt +0 -0
  244. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/01-refresh.png +0 -0
  245. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/02-redo.png +0 -0
  246. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/03-loopback.png +0 -0
  247. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/04-squiggle.png +0 -0
  248. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/05-shuffle.png +0 -0
  249. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/06-magnifying-glass.png +0 -0
  250. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/07-map-marker.png +0 -0
  251. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/08-chat.png +0 -0
  252. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/09-chat2.png +0 -0
  253. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/10-medical.png +0 -0
  254. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/100-coffee.png +0 -0
  255. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/101-gameplan.png +0 -0
  256. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/102-walk.png +0 -0
  257. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/103-map.png +0 -0
  258. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/104-index-cards.png +0 -0
  259. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/105-piano.png +0 -0
  260. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/106-sliders.png +0 -0
  261. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/107-widescreen.png +0 -0
  262. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/108-badge.png +0 -0
  263. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/109-chicken.png +0 -0
  264. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/11-clock.png +0 -0
  265. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/110-bug.png +0 -0
  266. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/111-user.png +0 -0
  267. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/112-group.png +0 -0
  268. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/113-navigation.png +0 -0
  269. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/114-balloon.png +0 -0
  270. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/115-bow-and-arrow.png +0 -0
  271. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/116-controller.png +0 -0
  272. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/117-todo.png +0 -0
  273. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/118-coathanger.png +0 -0
  274. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/119-piggybank.png +0 -0
  275. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/12-eye.png +0 -0
  276. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/120-headphones.png +0 -0
  277. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/121-lanscape.png +0 -0
  278. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/122-stats.png +0 -0
  279. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/123-id-card.png +0 -0
  280. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/124-bullhorn.png +0 -0
  281. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/125-food.png +0 -0
  282. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/126-moon.png +0 -0
  283. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/127-sock.png +0 -0
  284. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/128-bone.png +0 -0
  285. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/129-golf.png +0 -0
  286. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/13-target.png +0 -0
  287. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/130-dice.png +0 -0
  288. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/14-tag.png +0 -0
  289. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/15-tags.png +0 -0
  290. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/16-line-chart.png +0 -0
  291. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/17-bar-chart.png +0 -0
  292. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/18-envelope.png +0 -0
  293. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/19-gear.png +0 -0
  294. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/20-gear2.png +0 -0
  295. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/21-skull.png +0 -0
  296. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/22-skull-n-crossbones.png +0 -0
  297. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/23-bird.png +0 -0
  298. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/24-gift.png +0 -0
  299. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/25-weather.png +0 -0
  300. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/26-bandaid.png +0 -0
  301. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/27-planet.png +0 -0
  302. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/28-star.png +0 -0
  303. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/29-heart.png +0 -0
  304. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/30-key.png +0 -0
  305. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/31-ipod.png +0 -0
  306. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/32-iphone.png +0 -0
  307. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/33-cabinet.png +0 -0
  308. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/34-coffee.png +0 -0
  309. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/35-shopping-bag.png +0 -0
  310. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/36-toolbox.png +0 -0
  311. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/37-suitcase.png +0 -0
  312. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/38-airplane.png +0 -0
  313. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/39-spraycan.png +0 -0
  314. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/40-inbox.png +0 -0
  315. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/41-picture-frame.png +0 -0
  316. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/42-photos.png +0 -0
  317. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/43-film-roll.png +0 -0
  318. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/44-shoebox.png +0 -0
  319. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/45-movie1.png +0 -0
  320. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/46-movie2.png +0 -0
  321. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/47-fuel.png +0 -0
  322. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/48-fork-and-knife.png +0 -0
  323. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/49-battery.png +0 -0
  324. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/50-beaker.png +0 -0
  325. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/51-outlet.png +0 -0
  326. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/52-pinetree.png +0 -0
  327. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/53-house.png +0 -0
  328. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/54-lock.png +0 -0
  329. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/55-network.png +0 -0
  330. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/56-cloud.png +0 -0
  331. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/57-download.png +0 -0
  332. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/58-bookmark.png +0 -0
  333. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/59-flag.png +0 -0
  334. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/60-signpost.png +0 -0
  335. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/61-brightness.png +0 -0
  336. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/62-contrast.png +0 -0
  337. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/63-runner.png +0 -0
  338. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/64-zap.png +0 -0
  339. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/65-note.png +0 -0
  340. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/66-microphone.png +0 -0
  341. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/67-tshirt.png +0 -0
  342. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/68-paperclip.png +0 -0
  343. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/69-display.png +0 -0
  344. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/70-tv.png +0 -0
  345. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/71-compass.png +0 -0
  346. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/72-pin.png +0 -0
  347. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/73-radar.png +0 -0
  348. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/74-location.png +0 -0
  349. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/75-phone.png +0 -0
  350. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/76-baby.png +0 -0
  351. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/77-ekg.png +0 -0
  352. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/78-stopwatch.png +0 -0
  353. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/79-medical-bag.png +0 -0
  354. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/80-shopping-cart.png +0 -0
  355. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/81-dashboard.png +0 -0
  356. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/82-dogpaw.png +0 -0
  357. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/83-calendar.png +0 -0
  358. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/84-lightbulb.png +0 -0
  359. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/85-trophy.png +0 -0
  360. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/86-camera.png +0 -0
  361. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/87-wineglass.png +0 -0
  362. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/88-beermug.png +0 -0
  363. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/89-dumbbell.png +0 -0
  364. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/90-lifebuoy.png +0 -0
  365. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/91-beaker2.png +0 -0
  366. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/92-testtube.png +0 -0
  367. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/93-thermometer.png +0 -0
  368. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/94-pill.png +0 -0
  369. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/95-equalizer.png +0 -0
  370. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/96-book.png +0 -0
  371. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/97-puzzle.png +0 -0
  372. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/98-palette.png +0 -0
  373. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/icons/99-umbrella.png +0 -0
  374. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/01-refresh.png +0 -0
  375. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/02-redo.png +0 -0
  376. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/03-loopback.png +0 -0
  377. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/04-squiggle.png +0 -0
  378. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/05-shuffle.png +0 -0
  379. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/06-magnifying-glass.png +0 -0
  380. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/07-map-marker.png +0 -0
  381. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/08-chat.png +0 -0
  382. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/09-chat2.png +0 -0
  383. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/10-medical.png +0 -0
  384. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/100-coffee.png +0 -0
  385. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/101-gameplan.png +0 -0
  386. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/102-walk.png +0 -0
  387. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/103-map.png +0 -0
  388. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/104-index-cards.png +0 -0
  389. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/105-piano.png +0 -0
  390. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/106-sliders.png +0 -0
  391. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/107-widescreen.png +0 -0
  392. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/108-badge.png +0 -0
  393. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/109-chicken.png +0 -0
  394. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/11-clock.png +0 -0
  395. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/110-bug.png +0 -0
  396. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/111-user.png +0 -0
  397. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/112-group.png +0 -0
  398. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/113-navigation.png +0 -0
  399. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/114-balloon.png +0 -0
  400. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/115-bow-and-arrow.png +0 -0
  401. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/116-controller.png +0 -0
  402. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/117-todo.png +0 -0
  403. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/118-coathanger.png +0 -0
  404. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/119-piggybank.png +0 -0
  405. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/12-eye.png +0 -0
  406. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/120-headphones.png +0 -0
  407. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/121-lanscape.png +0 -0
  408. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/122-stats.png +0 -0
  409. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/123-id-card.png +0 -0
  410. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/124-bullhorn.png +0 -0
  411. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/125-food.png +0 -0
  412. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/126-moon.png +0 -0
  413. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/127-sock.png +0 -0
  414. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/128-bone.png +0 -0
  415. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/129-golf.png +0 -0
  416. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/13-target.png +0 -0
  417. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/130-dice.png +0 -0
  418. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/14-tag.png +0 -0
  419. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/15-tags.png +0 -0
  420. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/16-line-chart.png +0 -0
  421. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/17-bar-chart.png +0 -0
  422. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/18-envelope.png +0 -0
  423. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/19-gear.png +0 -0
  424. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/20-gear2.png +0 -0
  425. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/21-skull.png +0 -0
  426. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/22-skull-n-crossbones.png +0 -0
  427. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/23-bird.png +0 -0
  428. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/24-gift.png +0 -0
  429. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/25-weather.png +0 -0
  430. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/26-bandaid.png +0 -0
  431. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/27-planet.png +0 -0
  432. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/28-star.png +0 -0
  433. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/29-heart.png +0 -0
  434. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/30-key.png +0 -0
  435. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/31-ipod.png +0 -0
  436. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/32-iphone.png +0 -0
  437. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/33-cabinet.png +0 -0
  438. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/34-coffee.png +0 -0
  439. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/35-shopping-bag.png +0 -0
  440. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/36-toolbox.png +0 -0
  441. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/37-suitcase.png +0 -0
  442. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/38-airplane.png +0 -0
  443. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/39-spraycan.png +0 -0
  444. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/40-inbox.png +0 -0
  445. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/41-picture-frame.png +0 -0
  446. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/42-photos.png +0 -0
  447. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/43-film-roll.png +0 -0
  448. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/44-shoebox.png +0 -0
  449. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/45-movie1.png +0 -0
  450. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/46-movie2.png +0 -0
  451. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/47-fuel.png +0 -0
  452. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/48-fork-and-knife.png +0 -0
  453. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/49-battery.png +0 -0
  454. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/50-beaker.png +0 -0
  455. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/51-outlet.png +0 -0
  456. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/52-pinetree.png +0 -0
  457. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/53-house.png +0 -0
  458. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/54-lock.png +0 -0
  459. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/55-network.png +0 -0
  460. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/56-cloud.png +0 -0
  461. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/57-download.png +0 -0
  462. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/58-bookmark.png +0 -0
  463. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/59-flag.png +0 -0
  464. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/60-signpost.png +0 -0
  465. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/61-brightness.png +0 -0
  466. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/62-contrast.png +0 -0
  467. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/63-runner.png +0 -0
  468. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/64-zap.png +0 -0
  469. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/65-note.png +0 -0
  470. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/66-microphone.png +0 -0
  471. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/67-tshirt.png +0 -0
  472. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/68-paperclip.png +0 -0
  473. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/69-display.png +0 -0
  474. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/70-tv.png +0 -0
  475. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/71-compass.png +0 -0
  476. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/72-pin.png +0 -0
  477. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/73-radar.png +0 -0
  478. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/74-location.png +0 -0
  479. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/75-phone.png +0 -0
  480. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/76-baby.png +0 -0
  481. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/77-ekg.png +0 -0
  482. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/78-stopwatch.png +0 -0
  483. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/79-medical-bag.png +0 -0
  484. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/80-shopping-cart.png +0 -0
  485. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/81-dashboard.png +0 -0
  486. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/82-dogpaw.png +0 -0
  487. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/83-calendar.png +0 -0
  488. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/84-lightbulb.png +0 -0
  489. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/85-trophy.png +0 -0
  490. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/86-camera.png +0 -0
  491. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/87-wineglass.png +0 -0
  492. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/88-beermug.png +0 -0
  493. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/89-dumbbell.png +0 -0
  494. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/90-lifebuoy.png +0 -0
  495. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/91-beaker2.png +0 -0
  496. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/92-testtube.png +0 -0
  497. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/93-thermometer.png +0 -0
  498. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/94-pill.png +0 -0
  499. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/95-equalizer.png +0 -0
  500. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/96-book.png +0 -0
  501. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/97-puzzle.png +0 -0
  502. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/98-palette.png +0 -0
  503. data/templates/jqtouch/{jqtouch → jquery/touch}/glyphish/mini-icons/99-umbrella.png +0 -0
  504. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/bottom_bar.png +0 -0
  505. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/calpad.jpg +0 -0
  506. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/cells.png +0 -0
  507. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/footer.png +0 -0
  508. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/header.png +0 -0
  509. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/header_left.png +0 -0
  510. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/header_right.png +0 -0
  511. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/jqt_startup.png +0 -0
  512. data/templates/jqtouch/{jqtouch → jquery/touch}/ical/jqtouch-ical.png +0 -0
  513. data/templates/jqtouch/{jqtouch/jqt.jqt.scss → jquery/touch/jqt.scss} +36 -40
  514. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/activeButton.png +0 -0
  515. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/back_button.png +0 -0
  516. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/back_button_clicked.png +0 -0
  517. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/blueButton.png +0 -0
  518. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/button.png +0 -0
  519. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/button_clicked.png +0 -0
  520. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/chevron.png +0 -0
  521. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/chevron_circle.png +0 -0
  522. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/grayButton.png +0 -0
  523. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/greenButton.png +0 -0
  524. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/loading.gif +0 -0
  525. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/on_off.png +0 -0
  526. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/redButton.png +0 -0
  527. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/rowhead.png +0 -0
  528. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/toggle.png +0 -0
  529. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/toggleOn.png +0 -0
  530. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/toolbar.png +0 -0
  531. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt/whiteButton.png +0 -0
  532. data/templates/jqtouch/{jqtouch → jquery/touch}/jqt_startup.png +0 -0
  533. data/templates/jqtouch/{jqtouch → jquery/touch}/jqtouch.png +0 -0
  534. data/templates/jqtouch/{jqtouch → jquery/touch}/jqtouch.scss +276 -254
  535. data/templates/jqtouch/jquery/touch/jqtouch4.png +0 -0
  536. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/btnBack.png +0 -0
  537. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/loading.gif +0 -0
  538. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navNext.png +0 -0
  539. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navPause.png +0 -0
  540. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navPlay.png +0 -0
  541. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/navPrev.png +0 -0
  542. data/templates/jqtouch/{jqtouch → jquery/touch}/photo/toolbar.png +0 -0
  543. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/alpha.png +0 -0
  544. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/button-cancel.png +0 -0
  545. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/button-done.png +0 -0
  546. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/header.png +0 -0
  547. data/templates/jqtouch/{jqtouch → jquery/touch}/sw/slot-border.png +0 -0
  548. data/templates/jqtouch/manifest.rb +339 -342
  549. data/templates/jrails/config/initializers/jrails.rb +8 -4
  550. data/templates/jrails/i18n/jquery.ui/datepicker-gl.js +23 -0
  551. data/templates/jrails/i18n/jquery.ui/datepicker-gl.min.js +2 -0
  552. data/templates/jrails/i18n/jquery.ui/datepicker-pt.js +22 -0
  553. data/templates/jrails/i18n/jquery.ui/datepicker-pt.min.js +2 -0
  554. data/templates/jrails/i18n/jquery.ui/datepicker-ru.js +1 -1
  555. data/templates/jrails/i18n/jquery.ui/datepicker-ru.min.js +1 -1
  556. data/templates/jrails/jquery-1.4.3.js +6944 -0
  557. data/templates/jrails/jquery-1.4.3.min.js +152 -0
  558. data/templates/jrails/{jquery-ui-1.8.5.js → jquery-ui-1.8.6.js} +514 -356
  559. data/templates/jrails/jquery-ui-1.8.6.min.js +825 -0
  560. data/templates/jrails/jquery.bgiframe.js +37 -8
  561. data/templates/jrails/jquery.bgiframe.min.js +2 -2
  562. data/templates/jrails/jquery.cookie.js +89 -0
  563. data/templates/jrails/jquery.cookie.min.js +2 -0
  564. data/templates/jrails/jquery.flash_messages.js +5 -0
  565. data/templates/jrails/jquery.flash_messages.min.js +1 -0
  566. data/templates/jrails/jquery.form.js +660 -0
  567. data/templates/jrails/jquery.form.min.js +17 -0
  568. data/templates/jrails/jquery.layout.js +2507 -0
  569. data/templates/jrails/jquery.layout.min.js +49 -0
  570. data/templates/jrails/jquery.themeswitchertool.js +4 -4
  571. data/templates/jrails/jquery.themeswitchertool.min.js +4 -4
  572. data/templates/jrails/{jquery.ui → jquery/ui}/_theme.scss +20 -15
  573. data/templates/jrails/{jquery.ui → jquery/ui}/base.scss +18 -18
  574. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-anim_basic_16x16.gif +0 -0
  575. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  576. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  577. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  578. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  579. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  580. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  581. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  582. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  583. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_222222_256x240.png +0 -0
  584. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_2e83ff_256x240.png +0 -0
  585. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_454545_256x240.png +0 -0
  586. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_888888_256x240.png +0 -0
  587. data/templates/jrails/{jquery.ui → jquery/ui}/base/ui-icons_cd0a0a_256x240.png +0 -0
  588. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie.scss +18 -18
  589. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-anim_basic_16x16.gif +0 -0
  590. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  591. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_flat_65_ffffff_40x100.png +0 -0
  592. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_glass_40_111111_1x400.png +0 -0
  593. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  594. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  595. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  596. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  597. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  598. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  599. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_222222_256x240.png +0 -0
  600. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_4ca300_256x240.png +0 -0
  601. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
  602. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_ededed_256x240.png +0 -0
  603. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_ffcf29_256x240.png +0 -0
  604. data/templates/jrails/{jquery.ui → jquery/ui}/black-tie/ui-icons_ffffff_256x240.png +0 -0
  605. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer.scss +18 -18
  606. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-anim_basic_16x16.gif +0 -0
  607. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  608. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  609. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_flat_0_333333_40x100.png +0 -0
  610. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_flat_65_ffffff_40x100.png +0 -0
  611. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_flat_75_ffffff_40x100.png +0 -0
  612. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  613. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  614. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  615. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  616. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-icons_004276_256x240.png +0 -0
  617. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-icons_cc0000_256x240.png +0 -0
  618. data/templates/jrails/{jquery.ui → jquery/ui}/blitzer/ui-icons_ffffff_256x240.png +0 -0
  619. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu.scss +6 -6
  620. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/cut.png +0 -0
  621. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/door.png +0 -0
  622. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_copy.png +0 -0
  623. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_delete.png +0 -0
  624. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_edit.png +0 -0
  625. data/templates/jrails/{jquery.ui → jquery/ui}/contextMenu/page_white_paste.png +0 -0
  626. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino.scss +18 -18
  627. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-anim_basic_16x16.gif +0 -0
  628. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  629. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  630. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  631. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  632. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  633. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  634. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  635. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  636. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  637. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_2694e8_256x240.png +0 -0
  638. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  639. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  640. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  641. data/templates/jrails/{jquery.ui → jquery/ui}/cupertino/ui-icons_ffffff_256x240.png +0 -0
  642. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive.scss +18 -18
  643. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-anim_basic_16x16.gif +0 -0
  644. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_flat_30_cccccc_40x100.png +0 -0
  645. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  646. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  647. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  648. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  649. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  650. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  651. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  652. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-bg_loop_25_000000_21x21.png +0 -0
  653. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_222222_256x240.png +0 -0
  654. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_4b8e0b_256x240.png +0 -0
  655. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_a83300_256x240.png +0 -0
  656. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_cccccc_256x240.png +0 -0
  657. data/templates/jrails/{jquery.ui → jquery/ui}/dark-hive/ui-icons_ffffff_256x240.png +0 -0
  658. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv.scss +18 -18
  659. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-anim_basic_16x16.gif +0 -0
  660. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  661. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  662. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-small_20_333333_2x2.png +0 -0
  663. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  664. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  665. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  666. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_flat_40_292929_40x100.png +0 -0
  667. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  668. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_00498f_256x240.png +0 -0
  669. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_98d2fb_256x240.png +0 -0
  670. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_9ccdfc_256x240.png +0 -0
  671. data/templates/jrails/{jquery.ui → jquery/ui}/dot-luv/ui-icons_ffffff_256x240.png +0 -0
  672. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant.scss +18 -18
  673. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-anim_basic_16x16.gif +0 -0
  674. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  675. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  676. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_55_994d53_40x100.png +0 -0
  677. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_flat_55_fafafa_40x100.png +0 -0
  678. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  679. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  680. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  681. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  682. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  683. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_454545_256x240.png +0 -0
  684. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_734d99_256x240.png +0 -0
  685. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_8d78a5_256x240.png +0 -0
  686. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_a8a3ae_256x240.png +0 -0
  687. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_ebccce_256x240.png +0 -0
  688. data/templates/jrails/{jquery.ui → jquery/ui}/eggplant/ui-icons_ffffff_256x240.png +0 -0
  689. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike.scss +18 -18
  690. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-anim_basic_16x16.gif +0 -0
  691. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  692. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  693. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  694. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  695. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_flat_0_e69700_40x100.png +0 -0
  696. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_flat_0_e6b900_40x100.png +0 -0
  697. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  698. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  699. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_0a82eb_256x240.png +0 -0
  700. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_0b54d5_256x240.png +0 -0
  701. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_5fa5e3_256x240.png +0 -0
  702. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_fcdd4a_256x240.png +0 -0
  703. data/templates/jrails/{jquery.ui → jquery/ui}/excite-bike/ui-icons_ffffff_256x240.png +0 -0
  704. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic.scss +3 -3
  705. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic/marker.png +0 -0
  706. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic/mask.png +0 -0
  707. data/templates/jrails/{jquery.ui → jquery/ui}/farbtastic/wheel.png +0 -0
  708. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-check.png +0 -0
  709. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-error-bg.png +0 -0
  710. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-error.png +0 -0
  711. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-notice-bg.png +0 -0
  712. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-warning-bg.png +0 -0
  713. data/templates/jrails/{jquery.ui → jquery/ui}/flash_messages/flash-warning.png +0 -0
  714. data/templates/jrails/{jquery.ui → jquery/ui}/flick.scss +18 -18
  715. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-anim_basic_16x16.gif +0 -0
  716. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  717. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  718. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
  719. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
  720. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
  721. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  722. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  723. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  724. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_0073ea_256x240.png +0 -0
  725. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_454545_256x240.png +0 -0
  726. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_666666_256x240.png +0 -0
  727. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_ff0084_256x240.png +0 -0
  728. data/templates/jrails/{jquery.ui → jquery/ui}/flick/ui-icons_ffffff_256x240.png +0 -0
  729. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks.scss +18 -18
  730. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-anim_basic_16x16.gif +0 -0
  731. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  732. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  733. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  734. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  735. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  736. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  737. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_flat_75_ba9217_40x100.png +0 -0
  738. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_flat_75_ffffff_40x100.png +0 -0
  739. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  740. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_454545_256x240.png +0 -0
  741. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_88a206_256x240.png +0 -0
  742. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_c02669_256x240.png +0 -0
  743. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_e1e463_256x240.png +0 -0
  744. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_ffeb33_256x240.png +0 -0
  745. data/templates/jrails/{jquery.ui → jquery/ui}/hot-sneaks/ui-icons_ffffff_256x240.png +0 -0
  746. data/templates/jrails/{jquery.ui → jquery/ui}/humanity.scss +18 -18
  747. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-anim_basic_16x16.gif +0 -0
  748. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  749. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  750. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  751. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  752. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  753. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  754. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  755. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  756. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_c47a23_256x240.png +0 -0
  757. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_cb672b_256x240.png +0 -0
  758. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_f08000_256x240.png +0 -0
  759. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_f35f07_256x240.png +0 -0
  760. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_ff7519_256x240.png +0 -0
  761. data/templates/jrails/{jquery.ui → jquery/ui}/humanity/ui-icons_ffffff_256x240.png +0 -0
  762. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog.scss +18 -18
  763. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-anim_basic_16x16.gif +0 -0
  764. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  765. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  766. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  767. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  768. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  769. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  770. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  771. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  772. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  773. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_4eb305_256x240.png +0 -0
  774. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_72b42d_256x240.png +0 -0
  775. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_cd0a0a_256x240.png +0 -0
  776. data/templates/jrails/{jquery.ui → jquery/ui}/le-frog/ui-icons_ffffff_256x240.png +0 -0
  777. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc.scss +18 -18
  778. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-anim_basic_16x16.gif +0 -0
  779. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  780. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_glass_15_5f391b_1x400.png +0 -0
  781. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  782. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  783. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  784. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  785. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  786. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  787. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_222222_256x240.png +0 -0
  788. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_9bcc60_256x240.png +0 -0
  789. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_add978_256x240.png +0 -0
  790. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_e3ddc9_256x240.png +0 -0
  791. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_f1fd86_256x240.png +0 -0
  792. data/templates/jrails/{jquery.ui → jquery/ui}/mint-choc/ui-icons_ffffff_256x240.png +0 -0
  793. data/templates/jrails/{jquery.ui → jquery/ui}/overcast.scss +18 -18
  794. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-anim_basic_16x16.gif +0 -0
  795. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  796. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  797. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_55_c0402a_40x100.png +0 -0
  798. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  799. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  800. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_glass_35_dddddd_1x400.png +0 -0
  801. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  802. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  803. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  804. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_3383bb_256x240.png +0 -0
  805. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_454545_256x240.png +0 -0
  806. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_70b2e1_256x240.png +0 -0
  807. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_999999_256x240.png +0 -0
  808. data/templates/jrails/{jquery.ui → jquery/ui}/overcast/ui-icons_fbc856_256x240.png +0 -0
  809. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder.scss +18 -18
  810. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-anim_basic_16x16.gif +0 -0
  811. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  812. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  813. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  814. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  815. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  816. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  817. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  818. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  819. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  820. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_222222_256x240.png +0 -0
  821. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_3572ac_256x240.png +0 -0
  822. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_8c291d_256x240.png +0 -0
  823. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_b83400_256x240.png +0 -0
  824. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_fbdb93_256x240.png +0 -0
  825. data/templates/jrails/{jquery.ui → jquery/ui}/pepper-grinder/ui-icons_ffffff_256x240.png +0 -0
  826. data/templates/jrails/{jquery.ui → jquery/ui}/redmond.scss +18 -18
  827. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-anim_basic_16x16.gif +0 -0
  828. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  829. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  830. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  831. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  832. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  833. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  834. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  835. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  836. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_217bc0_256x240.png +0 -0
  837. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_2e83ff_256x240.png +0 -0
  838. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_469bdd_256x240.png +0 -0
  839. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_6da8d5_256x240.png +0 -0
  840. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  841. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  842. data/templates/jrails/{jquery.ui → jquery/ui}/redmond/ui-icons_f9bd01_256x240.png +0 -0
  843. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness.scss +18 -18
  844. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-anim_basic_16x16.gif +0 -0
  845. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  846. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_flat_75_ffffff_40x100.png +0 -0
  847. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  848. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  849. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  850. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  851. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  852. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  853. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_222222_256x240.png +0 -0
  854. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_2e83ff_256x240.png +0 -0
  855. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_454545_256x240.png +0 -0
  856. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_888888_256x240.png +0 -0
  857. data/templates/jrails/{jquery.ui → jquery/ui}/smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  858. data/templates/jrails/{jquery.ui → jquery/ui}/south-street.scss +18 -18
  859. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-anim_basic_16x16.gif +0 -0
  860. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  861. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  862. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  863. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  864. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  865. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  866. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  867. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  868. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  869. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_808080_256x240.png +0 -0
  870. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_847e71_256x240.png +0 -0
  871. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_8dc262_256x240.png +0 -0
  872. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_cd0a0a_256x240.png +0 -0
  873. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_eeeeee_256x240.png +0 -0
  874. data/templates/jrails/{jquery.ui → jquery/ui}/south-street/ui-icons_ffffff_256x240.png +0 -0
  875. data/templates/jrails/{jquery.ui → jquery/ui}/start.scss +18 -18
  876. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-anim_basic_16x16.gif +0 -0
  877. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_flat_55_999999_40x100.png +0 -0
  878. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  879. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_glass_45_0078ae_1x400.png +0 -0
  880. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  881. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  882. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  883. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  884. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  885. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  886. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_0078ae_256x240.png +0 -0
  887. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_056b93_256x240.png +0 -0
  888. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_d8e7f3_256x240.png +0 -0
  889. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_e0fdff_256x240.png +0 -0
  890. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_f5e175_256x240.png +0 -0
  891. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_f7a50d_256x240.png +0 -0
  892. data/templates/jrails/{jquery.ui → jquery/ui}/start/ui-icons_fcd113_256x240.png +0 -0
  893. data/templates/jrails/{jquery.ui → jquery/ui}/sunny.scss +18 -18
  894. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-anim_basic_16x16.gif +0 -0
  895. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  896. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_flat_30_cccccc_40x100.png +0 -0
  897. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  898. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  899. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  900. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  901. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  902. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  903. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  904. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_3d3d3d_256x240.png +0 -0
  905. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_bd7b00_256x240.png +0 -0
  906. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_d19405_256x240.png +0 -0
  907. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_eb990f_256x240.png +0 -0
  908. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_ed9f26_256x240.png +0 -0
  909. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_fadc7a_256x240.png +0 -0
  910. data/templates/jrails/{jquery.ui → jquery/ui}/sunny/ui-icons_ffe180_256x240.png +0 -0
  911. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse.scss +18 -18
  912. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-anim_basic_16x16.gif +0 -0
  913. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  914. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_20_372806_10x8.png +0 -0
  915. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_25_675423_10x8.png +0 -0
  916. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  917. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_8_261803_10x8.png +0 -0
  918. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_diamond_8_443113_10x8.png +0 -0
  919. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  920. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  921. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_070603_256x240.png +0 -0
  922. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_e8e2b5_256x240.png +0 -0
  923. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_e9cd86_256x240.png +0 -0
  924. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_efec9f_256x240.png +0 -0
  925. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_f2ec64_256x240.png +0 -0
  926. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_f9f2bd_256x240.png +0 -0
  927. data/templates/jrails/{jquery.ui → jquery/ui}/swanky-purse/ui-icons_ff7519_256x240.png +0 -0
  928. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/buttonbg.png +0 -0
  929. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/icon_color_arrow.gif +0 -0
  930. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/menuhoverbg.png +0 -0
  931. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_black_matte.png +0 -0
  932. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_black_tie.png +0 -0
  933. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_blitzer.png +0 -0
  934. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_cupertino.png +0 -0
  935. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_dark_hive.png +0 -0
  936. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_dot_luv.png +0 -0
  937. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_eggplant.png +0 -0
  938. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_excite_bike.png +0 -0
  939. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_flick.png +0 -0
  940. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_hot_sneaks.png +0 -0
  941. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_humanity.png +0 -0
  942. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_le_frog.png +0 -0
  943. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_mint_choco.png +0 -0
  944. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_overcast.png +0 -0
  945. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_pepper_grinder.png +0 -0
  946. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_smoothness.png +0 -0
  947. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_south_street.png +0 -0
  948. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_start_menu.png +0 -0
  949. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_sunny.png +0 -0
  950. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_swanky_purse.png +0 -0
  951. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_trontastic.png +0 -0
  952. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_ui_dark.png +0 -0
  953. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_ui_light.png +0 -0
  954. data/templates/jrails/{jquery.ui → jquery/ui}/themeSwitcher/theme_90_windoze.png +0 -0
  955. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic.scss +18 -18
  956. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-anim_basic_16x16.gif +0 -0
  957. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  958. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_flat_0_303030_40x100.png +0 -0
  959. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  960. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  961. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  962. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_glass_60_000000_1x400.png +0 -0
  963. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  964. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  965. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  966. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_000000_256x240.png +0 -0
  967. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_1f1f1f_256x240.png +0 -0
  968. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_9fda58_256x240.png +0 -0
  969. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_b8ec79_256x240.png +0 -0
  970. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_cd0a0a_256x240.png +0 -0
  971. data/templates/jrails/{jquery.ui → jquery/ui}/trontastic/ui-icons_ffffff_256x240.png +0 -0
  972. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness.scss +18 -18
  973. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-anim_basic_16x16.gif +0 -0
  974. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  975. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  976. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  977. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  978. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  979. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  980. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  981. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  982. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  983. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_222222_256x240.png +0 -0
  984. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  985. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_a83300_256x240.png +0 -0
  986. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  987. data/templates/jrails/{jquery.ui → jquery/ui}/ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  988. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness.scss +18 -18
  989. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-anim_basic_16x16.gif +0 -0
  990. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  991. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  992. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_flat_10_000000_40x100.png +0 -0
  993. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  994. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  995. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  996. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  997. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  998. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  999. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_222222_256x240.png +0 -0
  1000. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_228ef1_256x240.png +0 -0
  1001. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_ef8c08_256x240.png +0 -0
  1002. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_ffd27a_256x240.png +0 -0
  1003. data/templates/jrails/{jquery.ui → jquery/ui}/ui-lightness/ui-icons_ffffff_256x240.png +0 -0
  1004. data/templates/jrails/{jquery.ui → jquery/ui}/vader.scss +18 -18
  1005. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-anim_basic_16x16.gif +0 -0
  1006. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1007. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1008. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  1009. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  1010. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  1011. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  1012. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  1013. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  1014. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_666666_256x240.png +0 -0
  1015. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_aaaaaa_256x240.png +0 -0
  1016. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_bbbbbb_256x240.png +0 -0
  1017. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_c98000_256x240.png +0 -0
  1018. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_cccccc_256x240.png +0 -0
  1019. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_cd0a0a_256x240.png +0 -0
  1020. data/templates/jrails/{jquery.ui → jquery/ui}/vader/ui-icons_f29a00_256x240.png +0 -0
  1021. data/templates/jrails/manifest.rb +466 -454
  1022. data/templates/jrails/partials/_flash_messages.scss +8 -8
  1023. data/templates/jstree/config/initializers/jstree.rb +4 -4
  1024. data/templates/jstree/jquery.jstree.js +4534 -3513
  1025. data/templates/jstree/jquery.jstree.min.js +220 -172
  1026. data/templates/jstree/{jquery.ui/jstree.aero.scss → jquery/jstree/aero.scss} +10 -10
  1027. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/clicked.png +0 -0
  1028. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/d.gif +0 -0
  1029. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/d.png +0 -0
  1030. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/hovered.png +0 -0
  1031. data/templates/jstree/{jquery.ui/jstree.aero → jquery/jstree/aero}/throbber.gif +0 -0
  1032. data/templates/jstree/{jquery.ui/jstree.aqua.scss → jquery/jstree/aqua.scss} +10 -10
  1033. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/clicked.png +0 -0
  1034. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/d.gif +0 -0
  1035. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/d.png +0 -0
  1036. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/hovered.png +0 -0
  1037. data/templates/jstree/{jquery.ui/jstree.aqua → jquery/jstree/aqua}/throbber.gif +0 -0
  1038. data/templates/jstree/{jquery.ui/jstree.classic.scss → jquery/jstree/classic.scss} +5 -5
  1039. data/templates/jstree/{jquery.ui/jstree.classic → jquery/jstree/classic}/d.png +0 -0
  1040. data/templates/jstree/{jquery.ui/jstree.classic → jquery/jstree/classic}/dot_for_ie.gif +0 -0
  1041. data/templates/jstree/{jquery.ui/jstree.classic → jquery/jstree/classic}/throbber.gif +0 -0
  1042. data/templates/jstree/{jquery.ui/jstree.crystal.scss → jquery/jstree/crystal.scss} +8 -8
  1043. data/templates/jstree/{jquery.ui/jstree.crystal → jquery/jstree/crystal}/d.gif +0 -0
  1044. data/templates/jstree/{jquery.ui/jstree.crystal → jquery/jstree/crystal}/d.png +0 -0
  1045. data/templates/jstree/{jquery.ui/jstree.crystal → jquery/jstree/crystal}/throbber.gif +0 -0
  1046. data/templates/jstree/{jquery.ui/jstree.default-rtl.scss → jquery/jstree/default-rtl.scss} +9 -9
  1047. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/d.gif +0 -0
  1048. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/d.png +0 -0
  1049. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/dots.gif +0 -0
  1050. data/templates/jstree/{jquery.ui/jstree.default-rtl → jquery/jstree/default-rtl}/throbber.gif +0 -0
  1051. data/templates/jstree/{jquery.ui/jstree.default.scss → jquery/jstree/default.scss} +8 -8
  1052. data/templates/jstree/{jquery.ui/jstree.default → jquery/jstree/default}/d.gif +0 -0
  1053. data/templates/jstree/{jquery.ui/jstree.default → jquery/jstree/default}/d.png +0 -0
  1054. data/templates/jstree/{jquery.ui/jstree.default → jquery/jstree/default}/throbber.gif +0 -0
  1055. data/templates/jstree/manifest.rb +29 -29
  1056. data/templates/mobile/config/initializers/mobile.rb +6 -0
  1057. data/templates/mobile/jquery.mobile.js +3189 -0
  1058. data/templates/mobile/jquery.mobile.min.js +28 -0
  1059. data/templates/mobile/jquery/mobile/_base.scss +1326 -0
  1060. data/templates/mobile/jquery/mobile/default.scss +742 -0
  1061. data/templates/mobile/jquery/mobile/default/ajax-loader.gif +0 -0
  1062. data/templates/mobile/jquery/mobile/default/ajax-loader.png +0 -0
  1063. data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
  1064. data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
  1065. data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
  1066. data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
  1067. data/templates/mobile/jquery/mobile/default/icon-arrow-white-down.png +0 -0
  1068. data/templates/mobile/jquery/mobile/default/icon-arrow-white-left.png +0 -0
  1069. data/templates/mobile/jquery/mobile/default/icon-arrow-white-right.png +0 -0
  1070. data/templates/mobile/jquery/mobile/default/icon-arrow-white-up.png +0 -0
  1071. data/templates/mobile/jquery/mobile/default/icon-delete.png +0 -0
  1072. data/templates/mobile/jquery/mobile/default/icon-minus-white.png +0 -0
  1073. data/templates/mobile/jquery/mobile/default/icon-plus-white.png +0 -0
  1074. data/templates/mobile/jquery/mobile/default/icon-search-black.png +0 -0
  1075. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  1076. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  1077. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  1078. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  1079. data/templates/mobile/jquery/mobile/valencia.scss +804 -0
  1080. data/templates/mobile/jquery/mobile/valencia/ajax-loader.gif +0 -0
  1081. data/templates/mobile/jquery/mobile/valencia/ajax-loader.png +0 -0
  1082. data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
  1083. data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
  1084. data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
  1085. data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
  1086. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-down.png +0 -0
  1087. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-left.png +0 -0
  1088. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-right.png +0 -0
  1089. data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-up.png +0 -0
  1090. data/templates/mobile/jquery/mobile/valencia/icon-delete.png +0 -0
  1091. data/templates/mobile/jquery/mobile/valencia/icon-minus-white.png +0 -0
  1092. data/templates/mobile/jquery/mobile/valencia/icon-plus-white.png +0 -0
  1093. data/templates/mobile/jquery/mobile/valencia/icon-search-black.png +0 -0
  1094. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  1095. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  1096. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  1097. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  1098. data/templates/mobile/jquery/mobile/valencia/texture_05.png +0 -0
  1099. data/templates/mobile/jquery/mobile/valencia/texture_075.png +0 -0
  1100. data/templates/mobile/manifest.rb +47 -0
  1101. data/templates/ribbon/config/initializers/ribbon.rb +3 -3
  1102. data/templates/ribbon/jquery.ribbon.js +4 -4
  1103. data/templates/ribbon/jquery.ribbon.min.js +3 -3
  1104. data/templates/ribbon/{jquery.ui/ribbon.windows7.scss → jquery/ribbon/office.scss} +20 -20
  1105. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/arrow.png +0 -0
  1106. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/arrow_down.png +0 -0
  1107. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/bg.png +0 -0
  1108. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/item_background.png +0 -0
  1109. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/item_small_background.png +0 -0
  1110. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_background.png +0 -0
  1111. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_bottom.png +0 -0
  1112. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_dropdownitembg.png +0 -0
  1113. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_dropdownitembghover.png +0 -0
  1114. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_item_hover.png +0 -0
  1115. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_middle.png +0 -0
  1116. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_top.png +0 -0
  1117. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_top_backstage.png +0 -0
  1118. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menu_top_backstage2.png +0 -0
  1119. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/menuitem_background.png +0 -0
  1120. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb.png +0 -0
  1121. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_hover.png +0 -0
  1122. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_office.png +0 -0
  1123. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_office_hover.png +0 -0
  1124. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/orb_submenu_item_hover.png +0 -0
  1125. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-firstLevel-hover.png +0 -0
  1126. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-rightColumn-wide.png +0 -0
  1127. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-item-hover.png +0 -0
  1128. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-item.png +0 -0
  1129. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-itemSquare-hover.png +0 -0
  1130. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/ribbon-backstage-subMenu-itemSquare.png +0 -0
  1131. data/templates/ribbon/{jquery.ui/ribbon.office → jquery/ribbon/office}/top_background.png +0 -0
  1132. data/templates/ribbon/{jquery.ui/ribbon.simple.scss → jquery/ribbon/simple.scss} +13 -13
  1133. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/arrow.png +0 -0
  1134. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/arrow_down.png +0 -0
  1135. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/bg.png +0 -0
  1136. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/item_background.png +0 -0
  1137. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/item_small_background.png +0 -0
  1138. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_background.png +0 -0
  1139. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_bottom.png +0 -0
  1140. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_dropdownitembg.png +0 -0
  1141. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_dropdownitembghover.png +0 -0
  1142. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_item_hover.png +0 -0
  1143. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_middle.png +0 -0
  1144. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menu_top.png +0 -0
  1145. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/menuitem_background.png +0 -0
  1146. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/orb.png +0 -0
  1147. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/orb_hover.png +0 -0
  1148. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/orb_submenu_item_hover.png +0 -0
  1149. data/templates/ribbon/{jquery.ui/ribbon.simple → jquery/ribbon/simple}/top_background.png +0 -0
  1150. data/templates/ribbon/{jquery.ui/ribbon.office.scss → jquery/ribbon/windows7.scss} +20 -20
  1151. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/arrow.png +0 -0
  1152. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/arrow_down.png +0 -0
  1153. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/bg.png +0 -0
  1154. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/item_background.png +0 -0
  1155. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/item_small_background.png +0 -0
  1156. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_background.png +0 -0
  1157. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_bottom.png +0 -0
  1158. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_dropdownitembg.png +0 -0
  1159. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_dropdownitembghover.png +0 -0
  1160. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_item_hover.png +0 -0
  1161. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_middle.png +0 -0
  1162. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_top.png +0 -0
  1163. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_top_backstage.png +0 -0
  1164. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menu_top_backstage2.png +0 -0
  1165. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/menuitem_background.png +0 -0
  1166. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb.png +0 -0
  1167. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_hover.png +0 -0
  1168. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_office.png +0 -0
  1169. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_office_hover.png +0 -0
  1170. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/orb_submenu_item_hover.png +0 -0
  1171. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-firstLevel-hover.png +0 -0
  1172. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-rightColumn-wide.png +0 -0
  1173. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-item-hover.png +0 -0
  1174. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-item.png +0 -0
  1175. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-itemSquare-hover.png +0 -0
  1176. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/ribbon-backstage-subMenu-itemSquare.png +0 -0
  1177. data/templates/ribbon/{jquery.ui/ribbon.windows7 → jquery/ribbon/windows7}/top_background.png +0 -0
  1178. data/templates/ribbon/manifest.rb +74 -74
  1179. data/templates/secret_sauce/app/views/{ui → shared}/_ui_form_error_messages.html.haml +0 -0
  1180. data/templates/secret_sauce/app/views/{ui → shared}/_ui_grid_for_without_block.js.haml +8 -8
  1181. data/templates/secret_sauce/app/views/{ui → shared}/_ui_static_dialog.html.haml +0 -0
  1182. data/templates/secret_sauce/config/initializers/secret_sauce.rb +1 -1
  1183. data/templates/secret_sauce/{jquery.ui → jquery}/secret_sauce.scss +0 -0
  1184. data/templates/secret_sauce/manifest.rb +4 -4
  1185. metadata +1134 -1051
  1186. data/templates/jqtouch/jqtouch/apple/actionButton.png +0 -0
  1187. data/templates/jqtouch/jqtouch/icons/iphone_16x16.png +0 -0
  1188. data/templates/jqtouch/jqtouch/iphone-emulator.scss +0 -21
  1189. data/templates/jqtouch/jqtouch/iphone_fullsize.png +0 -0
  1190. data/templates/jrails/jquery-1.4.2.js +0 -9502
  1191. data/templates/jrails/jquery-1.4.2.min.js +0 -210
  1192. data/templates/jrails/jquery-ui-1.8.5.min.js +0 -823
File without changes
@@ -66,5 +66,5 @@ javascript 'i18n/jqgrid/locale-tr.js'
66
66
  javascript 'i18n/jqgrid/locale-tr.min.js'
67
67
  javascript 'i18n/jqgrid/locale-ua.js'
68
68
  javascript 'i18n/jqgrid/locale-ua.min.js'
69
- stylesheet 'jquery.ui/jqGrid.scss'
69
+ stylesheet 'jquery/jqGrid.scss'
70
70
  file 'public/stylesheets/ellipsis-xbl.xml'
@@ -1,7 +1,7 @@
1
1
  require 'jquery/jqical'
2
2
  require 'jquery/jqical/helpers/ui_event_helper'
3
3
 
4
- ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jqical => ['compiled/jquery.ui/jqical.css']
4
+ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jqical => ['compiled/jquery/jqical.css']
5
5
  ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jqical => ['jquery.jqical.min']
6
6
 
7
7
  ActionView::Base.send :include, JqIcal::Helpers::UiEventHelper
File without changes
@@ -1,10 +1,10 @@
1
1
  # Generated by compass-jquery-plugin/gem-tasks/jqical.rake
2
2
  # Install with: compass install jquery/jqical
3
3
 
4
- file 'app/views/ui/_ui_event_for.js.haml'
4
+ file 'app/views/shared/_ui_event_for.js.haml'
5
5
  file 'config/initializers/jqical.rb'
6
6
  javascript 'jquery.jqical.js'
7
7
  javascript 'jquery.jqical.min.js'
8
- stylesheet 'jquery.ui/jqical.scss'
9
- image 'jquery.ui/jqical/calendar.png'
10
- image 'jquery.ui/jqical/clock.png'
8
+ stylesheet 'jquery/jqical.scss'
9
+ image 'jquery/jqical/calendar.png'
10
+ image 'jquery/jqical/clock.png'
@@ -0,0 +1,3 @@
1
+ require 'jquery/jqtools'
2
+
3
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jqtools => ['jquery.tools.min']
@@ -0,0 +1,4576 @@
1
+ /**
2
+ * @license
3
+ * jQuery Tools @VERSION Dateinput - <input type="date" /> for humans
4
+ *
5
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
6
+ *
7
+ * http://flowplayer.org/tools/form/dateinput/
8
+ *
9
+ * Since: Mar 2010
10
+ * Date: @DATE
11
+ */
12
+ (function($) {
13
+
14
+ /* TODO:
15
+ preserve today highlighted
16
+ */
17
+
18
+ $.tools = $.tools || {version: '@VERSION'};
19
+
20
+ var instances = [],
21
+ tool,
22
+
23
+ // h=72, j=74, k=75, l=76, down=40, left=37, up=38, right=39
24
+ KEYS = [75, 76, 38, 39, 74, 72, 40, 37],
25
+ LABELS = {};
26
+
27
+ tool = $.tools.dateinput = {
28
+
29
+ conf: {
30
+ format: 'mm/dd/yy',
31
+ selectors: false,
32
+ yearRange: [-5, 5],
33
+ lang: 'en',
34
+ offset: [0, 0],
35
+ speed: 0,
36
+ firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
37
+ min: undefined,
38
+ max: undefined,
39
+ trigger: false,
40
+
41
+ css: {
42
+
43
+ prefix: 'cal',
44
+ input: 'date',
45
+
46
+ // ids
47
+ root: 0,
48
+ head: 0,
49
+ title: 0,
50
+ prev: 0,
51
+ next: 0,
52
+ month: 0,
53
+ year: 0,
54
+ days: 0,
55
+
56
+ body: 0,
57
+ weeks: 0,
58
+ today: 0,
59
+ current: 0,
60
+
61
+ // classnames
62
+ week: 0,
63
+ off: 0,
64
+ sunday: 0,
65
+ focus: 0,
66
+ disabled: 0,
67
+ trigger: 0
68
+ }
69
+ },
70
+
71
+ localize: function(language, labels) {
72
+ $.each(labels, function(key, val) {
73
+ labels[key] = val.split(",");
74
+ });
75
+ LABELS[language] = labels;
76
+ }
77
+
78
+ };
79
+
80
+ tool.localize("en", {
81
+ months: 'January,February,March,April,May,June,July,August,September,October,November,December',
82
+ shortMonths: 'Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec',
83
+ days: 'Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday',
84
+ shortDays: 'Sun,Mon,Tue,Wed,Thu,Fri,Sat'
85
+ });
86
+
87
+
88
+ //{{{ private functions
89
+
90
+
91
+ // @return amount of days in certain month
92
+ function dayAm(year, month) {
93
+ return 32 - new Date(year, month, 32).getDate();
94
+ }
95
+
96
+ function zeropad(val, len) {
97
+ val = '' + val;
98
+ len = len || 2;
99
+ while (val.length < len) { val = "0" + val; }
100
+ return val;
101
+ }
102
+
103
+ // thanks: http://stevenlevithan.com/assets/misc/date.format.js
104
+ var Re = /d{1,4}|m{1,4}|yy(?:yy)?|"[^"]*"|'[^']*'/g, tmpTag = $("<a/>");
105
+
106
+ function format(date, fmt, lang) {
107
+
108
+ var d = date.getDate(),
109
+ D = date.getDay(),
110
+ m = date.getMonth(),
111
+ y = date.getFullYear(),
112
+
113
+ flags = {
114
+ d: d,
115
+ dd: zeropad(d),
116
+ ddd: LABELS[lang].shortDays[D],
117
+ dddd: LABELS[lang].days[D],
118
+ m: m + 1,
119
+ mm: zeropad(m + 1),
120
+ mmm: LABELS[lang].shortMonths[m],
121
+ mmmm: LABELS[lang].months[m],
122
+ yy: String(y).slice(2),
123
+ yyyy: y
124
+ };
125
+
126
+ var ret = fmt.replace(Re, function ($0) {
127
+ return $0 in flags ? flags[$0] : $0.slice(1, $0.length - 1);
128
+ });
129
+
130
+ // a small trick to handle special characters
131
+ return tmpTag.html(ret).html();
132
+
133
+ }
134
+
135
+ function integer(val) {
136
+ return parseInt(val, 10);
137
+ }
138
+
139
+ function isSameDay(d1, d2) {
140
+ return d1.getFullYear() === d2.getFullYear() &&
141
+ d1.getMonth() == d2.getMonth() &&
142
+ d1.getDate() == d2.getDate();
143
+ }
144
+
145
+ function parseDate(val) {
146
+
147
+ if (!val) { return; }
148
+ if (val.constructor == Date) { return val; }
149
+
150
+ if (typeof val == 'string') {
151
+
152
+ // rfc3339?
153
+ var els = val.split("-");
154
+ if (els.length == 3) {
155
+ return new Date(integer(els[0]), integer(els[1]) -1, integer(els[2]));
156
+ }
157
+
158
+ // invalid offset
159
+ if (!/^-?\d+$/.test(val)) { return; }
160
+
161
+ // convert to integer
162
+ val = integer(val);
163
+ }
164
+
165
+ var date = new Date();
166
+ date.setDate(date.getDate() + val);
167
+ return date;
168
+ }
169
+
170
+ //}}}
171
+
172
+
173
+ function Dateinput(input, conf) {
174
+
175
+ // variables
176
+ var self = this,
177
+ now = new Date(),
178
+ css = conf.css,
179
+ labels = LABELS[conf.lang],
180
+ root = $("#" + css.root),
181
+ title = root.find("#" + css.title),
182
+ trigger,
183
+ pm, nm,
184
+ currYear, currMonth, currDay,
185
+ value = input.attr("data-value") || conf.value || input.val(),
186
+ min = input.attr("min") || conf.min,
187
+ max = input.attr("max") || conf.max,
188
+ opened;
189
+
190
+ // zero min is not undefined
191
+ if (min === 0) { min = "0"; }
192
+
193
+ // use sane values for value, min & max
194
+ value = parseDate(value) || now;
195
+ min = parseDate(min || conf.yearRange[0] * 365);
196
+ max = parseDate(max || conf.yearRange[1] * 365);
197
+
198
+
199
+ // check that language exists
200
+ if (!labels) { throw "Dateinput: invalid language: " + conf.lang; }
201
+
202
+ // Replace built-in date input: NOTE: input.attr("type", "text") throws exception by the browser
203
+ if (input.attr("type") == 'date') {
204
+ var tmp = $("<input/>");
205
+
206
+ $.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","), function(i, attr) {
207
+ tmp.attr(attr, input.attr(attr));
208
+ });
209
+ input.replaceWith(tmp);
210
+ input = tmp;
211
+ }
212
+ input.addClass(css.input);
213
+
214
+ var fire = input.add(self);
215
+
216
+ // construct layout
217
+ if (!root.length) {
218
+
219
+ // root
220
+ root = $('<div><div><a/><div/><a/></div><div><div/><div/></div></div>')
221
+ .hide().css({position: 'absolute'}).attr("id", css.root);
222
+
223
+ // elements
224
+ root.children()
225
+ .eq(0).attr("id", css.head).end()
226
+ .eq(1).attr("id", css.body).children()
227
+ .eq(0).attr("id", css.days).end()
228
+ .eq(1).attr("id", css.weeks).end().end().end()
229
+ .find("a").eq(0).attr("id", css.prev).end().eq(1).attr("id", css.next);
230
+
231
+ // title
232
+ title = root.find("#" + css.head).find("div").attr("id", css.title);
233
+
234
+ // year & month selectors
235
+ if (conf.selectors) {
236
+ var monthSelector = $("<select/>").attr("id", css.month),
237
+ yearSelector = $("<select/>").attr("id", css.year);
238
+ title.html(monthSelector.add(yearSelector));
239
+ }
240
+
241
+ // day titles
242
+ var days = root.find("#" + css.days);
243
+
244
+ // days of the week
245
+ for (var d = 0; d < 7; d++) {
246
+ days.append($("<span/>").text(labels.shortDays[(d + conf.firstDay) % 7]));
247
+ }
248
+
249
+ $("body").append(root);
250
+ }
251
+
252
+
253
+ // trigger icon
254
+ if (conf.trigger) {
255
+ trigger = $("<a/>").attr("href", "#").addClass(css.trigger).click(function(e) {
256
+ self.show();
257
+ return e.preventDefault();
258
+ }).insertAfter(input);
259
+ }
260
+
261
+
262
+ // layout elements
263
+ var weeks = root.find("#" + css.weeks);
264
+ yearSelector = root.find("#" + css.year);
265
+ monthSelector = root.find("#" + css.month);
266
+
267
+
268
+ //{{{ pick
269
+
270
+ function select(date, conf, e) {
271
+
272
+ // current value
273
+ value = date;
274
+ currYear = date.getFullYear();
275
+ currMonth = date.getMonth();
276
+ currDay = date.getDate();
277
+
278
+
279
+ // change
280
+ e = e || $.Event("api");
281
+ e.type = "change";
282
+
283
+ fire.trigger(e, [date]);
284
+ if (e.isDefaultPrevented()) { return; }
285
+
286
+ // formatting
287
+ input.val(format(date, conf.format, conf.lang));
288
+
289
+ // store value into input
290
+ input.data("date", date);
291
+
292
+ self.hide(e);
293
+ }
294
+ //}}}
295
+
296
+
297
+ //{{{ onShow
298
+
299
+ function onShow(ev) {
300
+
301
+ ev.type = "onShow";
302
+ fire.trigger(ev);
303
+
304
+ $(document).bind("keydown.d", function(e) {
305
+
306
+ if (e.ctrlKey) { return true; }
307
+ var key = e.keyCode;
308
+
309
+ // backspace clears the value
310
+ if (key == 8) {
311
+ input.val("");
312
+ return self.hide(e);
313
+ }
314
+
315
+ // esc key
316
+ if (key == 27) { return self.hide(e); }
317
+
318
+ if ($(KEYS).index(key) >= 0) {
319
+
320
+ if (!opened) {
321
+ self.show(e);
322
+ return e.preventDefault();
323
+ }
324
+
325
+ var days = $("#" + css.weeks + " a"),
326
+ el = $("." + css.focus),
327
+ index = days.index(el);
328
+
329
+ el.removeClass(css.focus);
330
+
331
+ if (key == 74 || key == 40) { index += 7; }
332
+ else if (key == 75 || key == 38) { index -= 7; }
333
+ else if (key == 76 || key == 39) { index += 1; }
334
+ else if (key == 72 || key == 37) { index -= 1; }
335
+
336
+
337
+ if (index > 41) {
338
+ self.addMonth();
339
+ el = $("#" + css.weeks + " a:eq(" + (index-42) + ")");
340
+ } else if (index < 0) {
341
+ self.addMonth(-1);
342
+ el = $("#" + css.weeks + " a:eq(" + (index+42) + ")");
343
+ } else {
344
+ el = days.eq(index);
345
+ }
346
+
347
+ el.addClass(css.focus);
348
+ return e.preventDefault();
349
+
350
+ }
351
+
352
+ // pageUp / pageDown
353
+ if (key == 34) { return self.addMonth(); }
354
+ if (key == 33) { return self.addMonth(-1); }
355
+
356
+ // home
357
+ if (key == 36) { return self.today(); }
358
+
359
+ // enter
360
+ if (key == 13) {
361
+ if (!$(e.target).is("select")) {
362
+ $("." + css.focus).click();
363
+ }
364
+ }
365
+
366
+ return $([16, 17, 18, 9]).index(key) >= 0;
367
+ });
368
+
369
+
370
+ // click outside dateinput
371
+ $(document).bind("click.d", function(e) {
372
+ var el = e.target;
373
+
374
+ if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0])) {
375
+ self.hide(e);
376
+ }
377
+
378
+ });
379
+ }
380
+ //}}}
381
+
382
+
383
+ $.extend(self, {
384
+
385
+ //{{{ show
386
+
387
+ show: function(e) {
388
+
389
+ if (input.attr("readonly") || input.attr("disabled") || opened) { return; }
390
+
391
+ // onBeforeShow
392
+ e = e || $.Event();
393
+ e.type = "onBeforeShow";
394
+ fire.trigger(e);
395
+ if (e.isDefaultPrevented()) { return; }
396
+
397
+ $.each(instances, function() {
398
+ this.hide();
399
+ });
400
+
401
+ opened = true;
402
+
403
+ // month selector
404
+ monthSelector.unbind("change").change(function() {
405
+ self.setValue(yearSelector.val(), $(this).val());
406
+ });
407
+
408
+ // year selector
409
+ yearSelector.unbind("change").change(function() {
410
+ self.setValue($(this).val(), monthSelector.val());
411
+ });
412
+
413
+ // prev / next month
414
+ pm = root.find("#" + css.prev).unbind("click").click(function(e) {
415
+ if (!pm.hasClass(css.disabled)) {
416
+ self.addMonth(-1);
417
+ }
418
+ return false;
419
+ });
420
+
421
+ nm = root.find("#" + css.next).unbind("click").click(function(e) {
422
+ if (!nm.hasClass(css.disabled)) {
423
+ self.addMonth();
424
+ }
425
+ return false;
426
+ });
427
+
428
+ // set date
429
+ self.setValue(value);
430
+
431
+ // show calendar
432
+ var pos = input.offset();
433
+
434
+ // iPad position fix
435
+ if (/iPad/i.test(navigator.userAgent)) {
436
+ pos.top -= $(window).scrollTop();
437
+ }
438
+
439
+ root.css({
440
+ top: pos.top + input.outerHeight({margins: true}) + conf.offset[0],
441
+ left: pos.left + conf.offset[1]
442
+ });
443
+
444
+ if (conf.speed) {
445
+ root.show(conf.speed, function() {
446
+ onShow(e);
447
+ });
448
+ } else {
449
+ root.show();
450
+ onShow(e);
451
+ }
452
+
453
+ return self;
454
+ },
455
+ //}}}
456
+
457
+
458
+ //{{{ setValue
459
+
460
+ setValue: function(year, month, day) {
461
+
462
+ var date = integer(month) >= -1 ? new Date(integer(year), integer(month), integer(day || 1)) :
463
+ year || value;
464
+
465
+ if (date < min) { date = min; }
466
+ else if (date > max) { date = max; }
467
+
468
+ year = date.getFullYear();
469
+ month = date.getMonth();
470
+ day = date.getDate();
471
+
472
+
473
+ // roll year & month
474
+ if (month == -1) {
475
+ month = 11;
476
+ year--;
477
+ } else if (month == 12) {
478
+ month = 0;
479
+ year++;
480
+ }
481
+
482
+ if (!opened) {
483
+ select(date, conf);
484
+ return self;
485
+ }
486
+
487
+ currMonth = month;
488
+ currYear = year;
489
+
490
+ // variables
491
+ var tmp = new Date(year, month, 1 - conf.firstDay), begin = tmp.getDay(),
492
+ days = dayAm(year, month),
493
+ prevDays = dayAm(year, month - 1),
494
+ week;
495
+
496
+ // selectors
497
+ if (conf.selectors) {
498
+
499
+ // month selector
500
+ monthSelector.empty();
501
+ $.each(labels.months, function(i, m) {
502
+ if (min < new Date(year, i + 1, -1) && max > new Date(year, i, 0)) {
503
+ monthSelector.append($("<option/>").html(m).attr("value", i));
504
+ }
505
+ });
506
+
507
+ // year selector
508
+ yearSelector.empty();
509
+ var yearNow = now.getFullYear();
510
+
511
+ for (var i = yearNow + conf.yearRange[0]; i < yearNow + conf.yearRange[1]; i++) {
512
+ if (min <= new Date(i + 1, -1, 1) && max > new Date(i, 0, 0)) {
513
+ yearSelector.append($("<option/>").text(i));
514
+ }
515
+ }
516
+
517
+ monthSelector.val(month);
518
+ yearSelector.val(year);
519
+
520
+ // title
521
+ } else {
522
+ title.html(labels.months[month] + " " + year);
523
+ }
524
+
525
+ // populate weeks
526
+ weeks.empty();
527
+ pm.add(nm).removeClass(css.disabled);
528
+
529
+ // !begin === "sunday"
530
+ for (var j = !begin ? -7 : 0, a, num; j < (!begin ? 35 : 42); j++) {
531
+
532
+ a = $("<a/>");
533
+
534
+ if (j % 7 === 0) {
535
+ week = $("<div/>").addClass(css.week);
536
+ weeks.append(week);
537
+ }
538
+
539
+ if (j < begin) {
540
+ a.addClass(css.off);
541
+ num = prevDays - begin + j + 1;
542
+ date = new Date(year, month-1, num);
543
+
544
+ } else if (j >= begin + days) {
545
+ a.addClass(css.off);
546
+ num = j - days - begin + 1;
547
+ date = new Date(year, month+1, num);
548
+
549
+ } else {
550
+ num = j - begin + 1;
551
+ date = new Date(year, month, num);
552
+
553
+ // current date
554
+ if (isSameDay(value, date)) {
555
+ a.attr("id", css.current).addClass(css.focus);
556
+
557
+ // today
558
+ } else if (isSameDay(now, date)) {
559
+ a.attr("id", css.today);
560
+ }
561
+ }
562
+
563
+ // disabled
564
+ if (min && date < min) {
565
+ a.add(pm).addClass(css.disabled);
566
+ }
567
+
568
+ if (max && date > max) {
569
+ a.add(nm).addClass(css.disabled);
570
+ }
571
+
572
+ a.attr("href", "#" + num).text(num).data("date", date);
573
+
574
+ week.append(a);
575
+ }
576
+
577
+ // date picking
578
+ weeks.find("a").click(function(e) {
579
+ var el = $(this);
580
+ if (!el.hasClass(css.disabled)) {
581
+ $("#" + css.current).removeAttr("id");
582
+ el.attr("id", css.current);
583
+ select(el.data("date"), conf, e);
584
+ }
585
+ return false;
586
+ });
587
+
588
+ // sunday
589
+ if (css.sunday) {
590
+ weeks.find(css.week).each(function() {
591
+ var beg = conf.firstDay ? 7 - conf.firstDay : 0;
592
+ $(this).children().slice(beg, beg + 1).addClass(css.sunday);
593
+ });
594
+ }
595
+
596
+ return self;
597
+ },
598
+ //}}}
599
+
600
+ setMin: function(val, fit) {
601
+ min = parseDate(val);
602
+ if (fit && value < min) { self.setValue(min); }
603
+ return self;
604
+ },
605
+
606
+ setMax: function(val, fit) {
607
+ max = parseDate(val);
608
+ if (fit && value > max) { self.setValue(max); }
609
+ return self;
610
+ },
611
+
612
+ today: function() {
613
+ return self.setValue(now);
614
+ },
615
+
616
+ addDay: function(amount) {
617
+ return this.setValue(currYear, currMonth, currDay + (amount || 1));
618
+ },
619
+
620
+ addMonth: function(amount) {
621
+ return this.setValue(currYear, currMonth + (amount || 1), currDay);
622
+ },
623
+
624
+ addYear: function(amount) {
625
+ return this.setValue(currYear + (amount || 1), currMonth, currDay);
626
+ },
627
+
628
+ hide: function(e) {
629
+
630
+ if (opened) {
631
+
632
+ // onHide
633
+ e = $.Event();
634
+ e.type = "onHide";
635
+ fire.trigger(e);
636
+
637
+ $(document).unbind("click.d").unbind("keydown.d");
638
+
639
+ // cancelled ?
640
+ if (e.isDefaultPrevented()) { return; }
641
+
642
+ // do the hide
643
+ root.hide();
644
+ opened = false;
645
+ }
646
+
647
+ return self;
648
+ },
649
+
650
+ getConf: function() {
651
+ return conf;
652
+ },
653
+
654
+ getInput: function() {
655
+ return input;
656
+ },
657
+
658
+ getCalendar: function() {
659
+ return root;
660
+ },
661
+
662
+ getValue: function(dateFormat) {
663
+ return dateFormat ? format(value, dateFormat, conf.lang) : value;
664
+ },
665
+
666
+ isOpen: function() {
667
+ return opened;
668
+ }
669
+
670
+ });
671
+
672
+ // callbacks
673
+ $.each(['onBeforeShow','onShow','change','onHide'], function(i, name) {
674
+
675
+ // configuration
676
+ if ($.isFunction(conf[name])) {
677
+ $(self).bind(name, conf[name]);
678
+ }
679
+
680
+ // API methods
681
+ self[name] = function(fn) {
682
+ if (fn) { $(self).bind(name, fn); }
683
+ return self;
684
+ };
685
+ });
686
+
687
+
688
+ // show dateinput & assign keyboard shortcuts
689
+ input.bind("focus click", self.show).keydown(function(e) {
690
+
691
+ var key = e.keyCode;
692
+
693
+ // open dateinput with navigation keyw
694
+ if (!opened && $(KEYS).index(key) >= 0) {
695
+ self.show(e);
696
+ return e.preventDefault();
697
+ }
698
+
699
+ // allow tab
700
+ return e.shiftKey || e.ctrlKey || e.altKey || key == 9 ? true : e.preventDefault();
701
+
702
+ });
703
+
704
+ // initial value
705
+ if (parseDate(input.val())) {
706
+ select(value, conf);
707
+ }
708
+
709
+ }
710
+
711
+ $.expr[':'].date = function(el) {
712
+ var type = el.getAttribute("type");
713
+ return type && type == 'date' || !!$(el).data("dateinput");
714
+ };
715
+
716
+
717
+ $.fn.dateinput = function(conf) {
718
+
719
+ // already instantiated
720
+ if (this.data("dateinput")) { return this; }
721
+
722
+ // configuration
723
+ conf = $.extend(true, {}, tool.conf, conf);
724
+
725
+ // CSS prefix
726
+ $.each(conf.css, function(key, val) {
727
+ if (!val && key != 'prefix') {
728
+ conf.css[key] = (conf.css.prefix || '') + (val || key);
729
+ }
730
+ });
731
+
732
+ var els;
733
+
734
+ this.each(function() {
735
+ var el = new Dateinput($(this), conf);
736
+ instances.push(el);
737
+ var input = el.getInput().data("dateinput", el);
738
+ els = els ? els.add(input) : input;
739
+ });
740
+
741
+ return els ? els : this;
742
+ };
743
+
744
+
745
+ }) (jQuery);
746
+
747
+
748
+
749
+
750
+ /**
751
+ * @license
752
+ * jQuery Tools @VERSION Overlay - Overlay base. Extend it.
753
+ *
754
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
755
+ *
756
+ * http://flowplayer.org/tools/overlay/
757
+ *
758
+ * Since: March 2008
759
+ * Date: @DATE
760
+ */
761
+ (function($) {
762
+
763
+ // static constructs
764
+ $.tools = $.tools || {version: '@VERSION'};
765
+
766
+ $.tools.overlay = {
767
+
768
+ addEffect: function(name, loadFn, closeFn) {
769
+ effects[name] = [loadFn, closeFn];
770
+ },
771
+
772
+ conf: {
773
+ close: null,
774
+ closeOnClick: true,
775
+ closeOnEsc: true,
776
+ closeSpeed: 'fast',
777
+ effect: 'default',
778
+
779
+ // since 1.2. fixed positioning not supported by IE6
780
+ fixed: !$.browser.msie || $.browser.version > 6,
781
+
782
+ left: 'center',
783
+ load: false, // 1.2
784
+ mask: null,
785
+ oneInstance: true,
786
+ speed: 'normal',
787
+ target: null, // target element to be overlayed. by default taken from [rel]
788
+ top: '10%'
789
+ }
790
+ };
791
+
792
+
793
+ var instances = [], effects = {};
794
+
795
+ // the default effect. nice and easy!
796
+ $.tools.overlay.addEffect('default',
797
+
798
+ /*
799
+ onLoad/onClose functions must be called otherwise none of the
800
+ user supplied callback methods won't be called
801
+ */
802
+ function(pos, onLoad) {
803
+
804
+ var conf = this.getConf(),
805
+ w = $(window);
806
+
807
+ if (!conf.fixed) {
808
+ pos.top += w.scrollTop();
809
+ pos.left += w.scrollLeft();
810
+ }
811
+
812
+ pos.position = conf.fixed ? 'fixed' : 'absolute';
813
+ this.getOverlay().css(pos).fadeIn(conf.speed, onLoad);
814
+
815
+ }, function(onClose) {
816
+ this.getOverlay().fadeOut(this.getConf().closeSpeed, onClose);
817
+ }
818
+ );
819
+
820
+
821
+ function Overlay(trigger, conf) {
822
+
823
+ // private variables
824
+ var self = this,
825
+ fire = trigger.add(self),
826
+ w = $(window),
827
+ closers,
828
+ overlay,
829
+ opened,
830
+ maskConf = $.tools.expose && (conf.mask || conf.expose),
831
+ uid = Math.random().toString().slice(10);
832
+
833
+
834
+ // mask configuration
835
+ if (maskConf) {
836
+ if (typeof maskConf == 'string') { maskConf = {color: maskConf}; }
837
+ maskConf.closeOnClick = maskConf.closeOnEsc = false;
838
+ }
839
+
840
+ // get overlay and triggerr
841
+ var jq = conf.target || trigger.attr("rel");
842
+ overlay = jq ? $(jq) : null || trigger;
843
+
844
+ // overlay not found. cannot continue
845
+ if (!overlay.length) { throw "Could not find Overlay: " + jq; }
846
+
847
+ // trigger's click event
848
+ if (trigger && trigger.index(overlay) == -1) {
849
+ trigger.click(function(e) {
850
+ self.load(e);
851
+ return e.preventDefault();
852
+ });
853
+ }
854
+
855
+ // API methods
856
+ $.extend(self, {
857
+
858
+ load: function(e) {
859
+
860
+ // can be opened only once
861
+ if (self.isOpened()) { return self; }
862
+
863
+ // find the effect
864
+ var eff = effects[conf.effect];
865
+ if (!eff) { throw "Overlay: cannot find effect : \"" + conf.effect + "\""; }
866
+
867
+ // close other instances?
868
+ if (conf.oneInstance) {
869
+ $.each(instances, function() {
870
+ this.close(e);
871
+ });
872
+ }
873
+
874
+ // onBeforeLoad
875
+ e = e || $.Event();
876
+ e.type = "onBeforeLoad";
877
+ fire.trigger(e);
878
+ if (e.isDefaultPrevented()) { return self; }
879
+
880
+ // opened
881
+ opened = true;
882
+
883
+ // possible mask effect
884
+ if (maskConf) { $(overlay).expose(maskConf); }
885
+
886
+ // position & dimensions
887
+ var top = conf.top,
888
+ left = conf.left,
889
+ oWidth = overlay.outerWidth({margin:true}),
890
+ oHeight = overlay.outerHeight({margin:true});
891
+
892
+ if (typeof top == 'string') {
893
+ top = top == 'center' ? Math.max((w.height() - oHeight) / 2, 0) :
894
+ parseInt(top, 10) / 100 * w.height();
895
+ }
896
+
897
+ if (left == 'center') { left = Math.max((w.width() - oWidth) / 2, 0); }
898
+
899
+
900
+ // load effect
901
+ eff[0].call(self, {top: top, left: left}, function() {
902
+ if (opened) {
903
+ e.type = "onLoad";
904
+ fire.trigger(e);
905
+ }
906
+ });
907
+
908
+ // mask.click closes overlay
909
+ if (maskConf && conf.closeOnClick) {
910
+ $.mask.getMask().one("click", self.close);
911
+ }
912
+
913
+ // when window is clicked outside overlay, we close
914
+ if (conf.closeOnClick) {
915
+ $(document).bind("click." + uid, function(e) {
916
+ if (!$(e.target).parents(overlay).length) {
917
+ self.close(e);
918
+ }
919
+ });
920
+ }
921
+
922
+ // keyboard::escape
923
+ if (conf.closeOnEsc) {
924
+
925
+ // one callback is enough if multiple instances are loaded simultaneously
926
+ $(document).bind("keydown." + uid, function(e) {
927
+ if (e.keyCode == 27) {
928
+ self.close(e);
929
+ }
930
+ });
931
+ }
932
+
933
+
934
+ return self;
935
+ },
936
+
937
+ close: function(e) {
938
+
939
+ if (!self.isOpened()) { return self; }
940
+
941
+ e = e || $.Event();
942
+ e.type = "onBeforeClose";
943
+ fire.trigger(e);
944
+ if (e.isDefaultPrevented()) { return; }
945
+
946
+ opened = false;
947
+
948
+ // close effect
949
+ effects[conf.effect][1].call(self, function() {
950
+ e.type = "onClose";
951
+ fire.trigger(e);
952
+ });
953
+
954
+ // unbind the keyboard / clicking actions
955
+ $(document).unbind("click." + uid).unbind("keydown." + uid);
956
+
957
+ if (maskConf) {
958
+ $.mask.close();
959
+ }
960
+
961
+ return self;
962
+ },
963
+
964
+ getOverlay: function() {
965
+ return overlay;
966
+ },
967
+
968
+ getTrigger: function() {
969
+ return trigger;
970
+ },
971
+
972
+ getClosers: function() {
973
+ return closers;
974
+ },
975
+
976
+ isOpened: function() {
977
+ return opened;
978
+ },
979
+
980
+ // manipulate start, finish and speeds
981
+ getConf: function() {
982
+ return conf;
983
+ }
984
+
985
+ });
986
+
987
+ // callbacks
988
+ $.each("onBeforeLoad,onStart,onLoad,onBeforeClose,onClose".split(","), function(i, name) {
989
+
990
+ // configuration
991
+ if ($.isFunction(conf[name])) {
992
+ $(self).bind(name, conf[name]);
993
+ }
994
+
995
+ // API
996
+ self[name] = function(fn) {
997
+ if (fn) { $(self).bind(name, fn); }
998
+ return self;
999
+ };
1000
+ });
1001
+
1002
+ // close button
1003
+ closers = overlay.find(conf.close || ".close");
1004
+
1005
+ if (!closers.length && !conf.close) {
1006
+ closers = $('<a class="close"></a>');
1007
+ overlay.prepend(closers);
1008
+ }
1009
+
1010
+ closers.click(function(e) {
1011
+ self.close(e);
1012
+ });
1013
+
1014
+ // autoload
1015
+ if (conf.load) { self.load(); }
1016
+
1017
+ }
1018
+
1019
+ // jQuery plugin initialization
1020
+ $.fn.overlay = function(conf) {
1021
+
1022
+ // already constructed --> return API
1023
+ var el = this.data("overlay");
1024
+ if (el) { return el; }
1025
+
1026
+ if ($.isFunction(conf)) {
1027
+ conf = {onBeforeLoad: conf};
1028
+ }
1029
+
1030
+ conf = $.extend(true, {}, $.tools.overlay.conf, conf);
1031
+
1032
+ this.each(function() {
1033
+ el = new Overlay($(this), conf);
1034
+ instances.push(el);
1035
+ $(this).data("overlay", el);
1036
+ });
1037
+
1038
+ return conf.api ? el: this;
1039
+ };
1040
+
1041
+ })(jQuery);
1042
+
1043
+
1044
+
1045
+ /**
1046
+ * @license
1047
+ * jQuery Tools @VERSION / Overlay Apple effect.
1048
+ *
1049
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
1050
+ *
1051
+ * http://flowplayer.org/tools/overlay/apple.html
1052
+ *
1053
+ * Since: July 2009
1054
+ * Date: @DATE
1055
+ */
1056
+ (function($) {
1057
+
1058
+ // version number
1059
+ var t = $.tools.overlay,
1060
+ w = $(window);
1061
+
1062
+ // extend global configuragion with effect specific defaults
1063
+ $.extend(t.conf, {
1064
+ start: {
1065
+ top: null,
1066
+ left: null
1067
+ },
1068
+
1069
+ fadeInSpeed: 'fast',
1070
+ zIndex: 9999
1071
+ });
1072
+
1073
+ // utility function
1074
+ function getPosition(el) {
1075
+ var p = el.offset();
1076
+ return {
1077
+ top: p.top + el.height() / 2,
1078
+ left: p.left + el.width() / 2
1079
+ };
1080
+ }
1081
+
1082
+ //{{{ load
1083
+
1084
+ var loadEffect = function(pos, onLoad) {
1085
+
1086
+ var overlay = this.getOverlay(),
1087
+ conf = this.getConf(),
1088
+ trigger = this.getTrigger(),
1089
+ self = this,
1090
+ oWidth = overlay.outerWidth({margin:true}),
1091
+ img = overlay.data("img"),
1092
+ position = conf.fixed ? 'fixed' : 'absolute';
1093
+
1094
+
1095
+ // growing image is required.
1096
+ if (!img) {
1097
+ var bg = overlay.css("backgroundImage");
1098
+
1099
+ if (!bg) {
1100
+ throw "background-image CSS property not set for overlay";
1101
+ }
1102
+
1103
+ // url("bg.jpg") --> bg.jpg
1104
+ bg = bg.slice(bg.indexOf("(") + 1, bg.indexOf(")")).replace(/\"/g, "");
1105
+ overlay.css("backgroundImage", "none");
1106
+
1107
+ img = $('<img src="' + bg + '"/>');
1108
+ img.css({border:0, display:'none'}).width(oWidth);
1109
+ $('body').append(img);
1110
+ overlay.data("img", img);
1111
+ }
1112
+
1113
+ // initial top & left
1114
+ var itop = conf.start.top || Math.round(w.height() / 2),
1115
+ ileft = conf.start.left || Math.round(w.width() / 2);
1116
+
1117
+ if (trigger) {
1118
+ var p = getPosition(trigger);
1119
+ itop = p.top;
1120
+ ileft = p.left;
1121
+ }
1122
+
1123
+ // put overlay into final position
1124
+ if (conf.fixed) {
1125
+ itop -= w.scrollTop();
1126
+ ileft -= w.scrollLeft();
1127
+ } else {
1128
+ pos.top += w.scrollTop();
1129
+ pos.left += w.scrollLeft();
1130
+ }
1131
+
1132
+ // initialize background image and make it visible
1133
+ img.css({
1134
+ position: 'absolute',
1135
+ top: itop,
1136
+ left: ileft,
1137
+ width: 0,
1138
+ zIndex: conf.zIndex
1139
+ }).show();
1140
+
1141
+ pos.position = position;
1142
+ overlay.css(pos);
1143
+
1144
+ // begin growing
1145
+ img.animate({
1146
+ top: overlay.css("top"),
1147
+ left: overlay.css("left"),
1148
+ width: oWidth}, conf.speed, function() {
1149
+
1150
+ // set close button and content over the image
1151
+ overlay.css("zIndex", conf.zIndex + 1).fadeIn(conf.fadeInSpeed, function() {
1152
+
1153
+ if (self.isOpened() && !$(this).index(overlay)) {
1154
+ onLoad.call();
1155
+ } else {
1156
+ overlay.hide();
1157
+ }
1158
+ });
1159
+
1160
+ }).css("position", position);
1161
+
1162
+ };
1163
+ //}}}
1164
+
1165
+
1166
+ var closeEffect = function(onClose) {
1167
+
1168
+ // variables
1169
+ var overlay = this.getOverlay().hide(),
1170
+ conf = this.getConf(),
1171
+ trigger = this.getTrigger(),
1172
+ img = overlay.data("img"),
1173
+
1174
+ css = {
1175
+ top: conf.start.top,
1176
+ left: conf.start.left,
1177
+ width: 0
1178
+ };
1179
+
1180
+ // trigger position
1181
+ if (trigger) { $.extend(css, getPosition(trigger)); }
1182
+
1183
+
1184
+ // change from fixed to absolute position
1185
+ if (conf.fixed) {
1186
+ img.css({position: 'absolute'})
1187
+ .animate({ top: "+=" + w.scrollTop(), left: "+=" + w.scrollLeft()}, 0);
1188
+ }
1189
+
1190
+ // shrink image
1191
+ img.animate(css, conf.closeSpeed, onClose);
1192
+ };
1193
+
1194
+
1195
+ // add overlay effect
1196
+ t.addEffect("apple", loadEffect, closeEffect);
1197
+
1198
+ })(jQuery);
1199
+
1200
+
1201
+
1202
+ /**
1203
+ * @license
1204
+ * jQuery Tools @VERSION Rangeinput - HTML5 <input type="range" /> for humans
1205
+ *
1206
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
1207
+ *
1208
+ * http://flowplayer.org/tools/rangeinput/
1209
+ *
1210
+ * Since: Mar 2010
1211
+ * Date: @DATE
1212
+ */
1213
+ (function($) {
1214
+
1215
+ $.tools = $.tools || {version: '@VERSION'};
1216
+
1217
+ var tool;
1218
+
1219
+ tool = $.tools.rangeinput = {
1220
+
1221
+ conf: {
1222
+ min: 0,
1223
+ max: 100, // as defined in the standard
1224
+ step: 'any', // granularity of the value. a non-zero float or int (or "any")
1225
+ steps: 0,
1226
+ value: 0,
1227
+ precision: undefined,
1228
+ vertical: 0,
1229
+ keyboard: true,
1230
+ progress: false,
1231
+ speed: 100,
1232
+
1233
+ // set to null if not needed
1234
+ css: {
1235
+ input: 'range',
1236
+ slider: 'slider',
1237
+ progress: 'progress',
1238
+ handle: 'handle'
1239
+ }
1240
+
1241
+ }
1242
+ };
1243
+
1244
+ //{{{ fn.drag
1245
+
1246
+ /*
1247
+ FULL featured drag and drop. 0.7 kb minified, 0.3 gzipped. done.
1248
+ Who told d'n'd is rocket science? Usage:
1249
+
1250
+ $(".myelement").drag({y: false}).bind("drag", function(event, x, y) {
1251
+ // do your custom thing
1252
+ });
1253
+
1254
+ Configuration:
1255
+ x: true, // enable horizontal drag
1256
+ y: true, // enable vertical drag
1257
+ drag: true // true = perform drag, false = only fire events
1258
+
1259
+ Events: dragStart, drag, dragEnd.
1260
+ */
1261
+ var doc, draggable;
1262
+
1263
+ $.fn.drag = function(conf) {
1264
+
1265
+ // disable IE specialities
1266
+ document.ondragstart = function () { return false; };
1267
+
1268
+ conf = $.extend({x: true, y: true, drag: true}, conf);
1269
+
1270
+ doc = doc || $(document).bind("mousedown mouseup", function(e) {
1271
+
1272
+ var el = $(e.target);
1273
+
1274
+ // start
1275
+ if (e.type == "mousedown" && el.data("drag")) {
1276
+
1277
+ var offset = el.position(),
1278
+ x0 = e.pageX - offset.left,
1279
+ y0 = e.pageY - offset.top,
1280
+ start = true;
1281
+
1282
+ doc.bind("mousemove.drag", function(e) {
1283
+ var x = e.pageX -x0,
1284
+ y = e.pageY -y0,
1285
+ props = {};
1286
+
1287
+ if (conf.x) { props.left = x; }
1288
+ if (conf.y) { props.top = y; }
1289
+
1290
+ if (start) {
1291
+ el.trigger("dragStart");
1292
+ start = false;
1293
+ }
1294
+ if (conf.drag) { el.css(props); }
1295
+ el.trigger("drag", [y, x]);
1296
+ draggable = el;
1297
+ });
1298
+
1299
+ e.preventDefault();
1300
+
1301
+ } else {
1302
+
1303
+ try {
1304
+ if (draggable) {
1305
+ draggable.trigger("dragEnd");
1306
+ }
1307
+ } finally {
1308
+ doc.unbind("mousemove.drag");
1309
+ draggable = null;
1310
+ }
1311
+ }
1312
+
1313
+ });
1314
+
1315
+ return this.data("drag", true);
1316
+ };
1317
+
1318
+ //}}}
1319
+
1320
+
1321
+
1322
+ function round(value, precision) {
1323
+ var n = Math.pow(10, precision);
1324
+ return Math.round(value * n) / n;
1325
+ }
1326
+
1327
+ // get hidden element's width or height even though it's hidden
1328
+ function dim(el, key) {
1329
+ var v = parseInt(el.css(key), 10);
1330
+ if (v) { return v; }
1331
+ var s = el[0].currentStyle;
1332
+ return s && s.width && parseInt(s.width, 10);
1333
+ }
1334
+
1335
+ function hasEvent(el) {
1336
+ var e = el.data("events");
1337
+ return e && e.onSlide;
1338
+ }
1339
+
1340
+ function RangeInput(input, conf) {
1341
+
1342
+ // private variables
1343
+ var self = this,
1344
+ css = conf.css,
1345
+ root = $("<div><div/><a href='#'/></div>").data("rangeinput", self),
1346
+ vertical,
1347
+ value, // current value
1348
+ origo, // handle's start point
1349
+ len, // length of the range
1350
+ pos; // current position of the handle
1351
+
1352
+ // create range
1353
+ input.before(root);
1354
+
1355
+ var handle = root.addClass(css.slider).find("a").addClass(css.handle),
1356
+ progress = root.find("div").addClass(css.progress);
1357
+
1358
+ // get (HTML5) attributes into configuration
1359
+ $.each("min,max,step,value".split(","), function(i, key) {
1360
+ var val = input.attr(key);
1361
+ if (parseFloat(val)) {
1362
+ conf[key] = parseFloat(val, 10);
1363
+ }
1364
+ });
1365
+
1366
+ var range = conf.max - conf.min,
1367
+ step = conf.step == 'any' ? 0 : conf.step,
1368
+ precision = conf.precision;
1369
+
1370
+ if (precision === undefined) {
1371
+ try {
1372
+ precision = step.toString().split(".")[1].length;
1373
+ } catch (err) {
1374
+ precision = 0;
1375
+ }
1376
+ }
1377
+
1378
+ // Replace built-in range input (type attribute cannot be changed)
1379
+ if (input.attr("type") == 'range') {
1380
+ var tmp = $("<input/>");
1381
+ $.each("class,disabled,id,maxlength,name,readonly,required,size,style,tabindex,title,value".split(","), function(i, attr) {
1382
+ tmp.attr(attr, input.attr(attr));
1383
+ });
1384
+ tmp.val(conf.value);
1385
+ input.replaceWith(tmp);
1386
+ input = tmp;
1387
+ }
1388
+
1389
+ input.addClass(css.input);
1390
+
1391
+ var fire = $(self).add(input), fireOnSlide = true;
1392
+
1393
+
1394
+ /**
1395
+ The flesh and bone of this tool. All sliding is routed trough this.
1396
+
1397
+ @param evt types include: click, keydown, blur and api (setValue call)
1398
+ @param isSetValue when called trough setValue() call (keydown, blur, api)
1399
+
1400
+ vertical configuration gives additional complexity.
1401
+ */
1402
+ function slide(evt, x, val, isSetValue) {
1403
+
1404
+ // calculate value based on slide position
1405
+ if (val === undefined) {
1406
+ val = x / len * range;
1407
+
1408
+ // x is calculated based on val. we need to strip off min during calculation
1409
+ } else if (isSetValue) {
1410
+ val -= conf.min;
1411
+ }
1412
+
1413
+ // increment in steps
1414
+ if (step) {
1415
+ val = Math.round(val / step) * step;
1416
+ }
1417
+
1418
+ // count x based on value or tweak x if stepping is done
1419
+ if (x === undefined || step) {
1420
+ x = val * len / range;
1421
+ }
1422
+
1423
+ // crazy value?
1424
+ if (isNaN(val)) { return self; }
1425
+
1426
+ // stay within range
1427
+ x = Math.max(0, Math.min(x, len));
1428
+ val = x / len * range;
1429
+
1430
+ if (isSetValue || !vertical) {
1431
+ val += conf.min;
1432
+ }
1433
+
1434
+ // in vertical ranges value rises upwards
1435
+ if (vertical) {
1436
+ if (isSetValue) {
1437
+ x = len -x;
1438
+ } else {
1439
+ val = conf.max - val;
1440
+ }
1441
+ }
1442
+
1443
+ // precision
1444
+ val = round(val, precision);
1445
+
1446
+ // onSlide
1447
+ var isClick = evt.type == "click";
1448
+ if (fireOnSlide && value !== undefined && !isClick) {
1449
+ evt.type = "onSlide";
1450
+ fire.trigger(evt, [val, x]);
1451
+ if (evt.isDefaultPrevented()) { return self; }
1452
+ }
1453
+
1454
+ // speed & callback
1455
+ var speed = isClick ? conf.speed : 0,
1456
+ callback = isClick ? function() {
1457
+ evt.type = "change";
1458
+ fire.trigger(evt, [val]);
1459
+ } : null;
1460
+
1461
+ if (vertical) {
1462
+ handle.animate({top: x}, speed, callback);
1463
+ if (conf.progress) {
1464
+ progress.animate({height: len - x + handle.width() / 2}, speed);
1465
+ }
1466
+
1467
+ } else {
1468
+ handle.animate({left: x}, speed, callback);
1469
+ if (conf.progress) {
1470
+ progress.animate({width: x + handle.width() / 2}, speed);
1471
+ }
1472
+ }
1473
+
1474
+ // store current value
1475
+ value = val;
1476
+ pos = x;
1477
+
1478
+ // se input field's value
1479
+ input.val(val);
1480
+
1481
+ return self;
1482
+ }
1483
+
1484
+
1485
+ $.extend(self, {
1486
+
1487
+ getValue: function() {
1488
+ return value;
1489
+ },
1490
+
1491
+ setValue: function(val, e) {
1492
+ init();
1493
+ return slide(e || $.Event("api"), undefined, val, true);
1494
+ },
1495
+
1496
+ getConf: function() {
1497
+ return conf;
1498
+ },
1499
+
1500
+ getProgress: function() {
1501
+ return progress;
1502
+ },
1503
+
1504
+ getHandle: function() {
1505
+ return handle;
1506
+ },
1507
+
1508
+ getInput: function() {
1509
+ return input;
1510
+ },
1511
+
1512
+ step: function(am, e) {
1513
+ e = e || $.Event();
1514
+ var step = conf.step == 'any' ? 1 : conf.step;
1515
+ self.setValue(value + step * (am || 1), e);
1516
+ },
1517
+
1518
+ // HTML5 compatible name
1519
+ stepUp: function(am) {
1520
+ return self.step(am || 1);
1521
+ },
1522
+
1523
+ // HTML5 compatible name
1524
+ stepDown: function(am) {
1525
+ return self.step(-am || -1);
1526
+ }
1527
+
1528
+ });
1529
+
1530
+ // callbacks
1531
+ $.each("onSlide,change".split(","), function(i, name) {
1532
+
1533
+ // from configuration
1534
+ if ($.isFunction(conf[name])) {
1535
+ $(self).bind(name, conf[name]);
1536
+ }
1537
+
1538
+ // API methods
1539
+ self[name] = function(fn) {
1540
+ if (fn) { $(self).bind(name, fn); }
1541
+ return self;
1542
+ };
1543
+ });
1544
+
1545
+
1546
+ // dragging
1547
+ handle.drag({drag: false}).bind("dragStart", function() {
1548
+
1549
+ /* do some pre- calculations for seek() function. improves performance */
1550
+ init();
1551
+
1552
+ // avoid redundant event triggering (= heavy stuff)
1553
+ fireOnSlide = hasEvent($(self)) || hasEvent(input);
1554
+
1555
+
1556
+ }).bind("drag", function(e, y, x) {
1557
+
1558
+ if (input.is(":disabled")) { return false; }
1559
+ slide(e, vertical ? y : x);
1560
+
1561
+ }).bind("dragEnd", function(e) {
1562
+ if (!e.isDefaultPrevented()) {
1563
+ e.type = "change";
1564
+ fire.trigger(e, [value]);
1565
+ }
1566
+
1567
+ }).click(function(e) {
1568
+ return e.preventDefault();
1569
+ });
1570
+
1571
+ // clicking
1572
+ root.click(function(e) {
1573
+ if (input.is(":disabled") || e.target == handle[0]) {
1574
+ return e.preventDefault();
1575
+ }
1576
+ init();
1577
+ var fix = handle.width() / 2;
1578
+ slide(e, vertical ? len-origo-fix + e.pageY : e.pageX -origo -fix);
1579
+ });
1580
+
1581
+ if (conf.keyboard) {
1582
+
1583
+ input.keydown(function(e) {
1584
+
1585
+ if (input.attr("readonly")) { return; }
1586
+
1587
+ var key = e.keyCode,
1588
+ up = $([75, 76, 38, 33, 39]).index(key) != -1,
1589
+ down = $([74, 72, 40, 34, 37]).index(key) != -1;
1590
+
1591
+ if ((up || down) && !(e.shiftKey || e.altKey || e.ctrlKey)) {
1592
+
1593
+ // UP: k=75, l=76, up=38, pageup=33, right=39
1594
+ if (up) {
1595
+ self.step(key == 33 ? 10 : 1, e);
1596
+
1597
+ // DOWN: j=74, h=72, down=40, pagedown=34, left=37
1598
+ } else if (down) {
1599
+ self.step(key == 34 ? -10 : -1, e);
1600
+ }
1601
+ return e.preventDefault();
1602
+ }
1603
+ });
1604
+ }
1605
+
1606
+
1607
+ input.blur(function(e) {
1608
+ var val = $(this).val();
1609
+ if (val !== value) {
1610
+ self.setValue(val, e);
1611
+ }
1612
+ });
1613
+
1614
+
1615
+ // HTML5 DOM methods
1616
+ $.extend(input[0], { stepUp: self.stepUp, stepDown: self.stepDown});
1617
+
1618
+
1619
+ // calculate all dimension related stuff
1620
+ function init() {
1621
+ vertical = conf.vertical || dim(root, "height") > dim(root, "width");
1622
+
1623
+ if (vertical) {
1624
+ len = dim(root, "height") - dim(handle, "height");
1625
+ origo = root.offset().top + len;
1626
+
1627
+ } else {
1628
+ len = dim(root, "width") - dim(handle, "width");
1629
+ origo = root.offset().left;
1630
+ }
1631
+ }
1632
+
1633
+ function begin() {
1634
+ init();
1635
+ self.setValue(conf.value !== undefined ? conf.value : conf.min);
1636
+ }
1637
+ begin();
1638
+
1639
+ // some browsers cannot get dimensions upon initialization
1640
+ if (!len) {
1641
+ $(window).load(begin);
1642
+ }
1643
+ }
1644
+
1645
+ $.expr[':'].range = function(el) {
1646
+ var type = el.getAttribute("type");
1647
+ return type && type == 'range' || !!$(el).filter("input").data("rangeinput");
1648
+ };
1649
+
1650
+
1651
+ // jQuery plugin implementation
1652
+ $.fn.rangeinput = function(conf) {
1653
+
1654
+ // already installed
1655
+ if (this.data("rangeinput")) { return this; }
1656
+
1657
+ // extend configuration with globals
1658
+ conf = $.extend(true, {}, tool.conf, conf);
1659
+
1660
+ var els;
1661
+
1662
+ this.each(function() {
1663
+ var el = new RangeInput($(this), $.extend(true, {}, conf));
1664
+ var input = el.getInput().data("rangeinput", el);
1665
+ els = els ? els.add(input) : input;
1666
+ });
1667
+
1668
+ return els ? els : this;
1669
+ };
1670
+
1671
+
1672
+ }) (jQuery);
1673
+
1674
+
1675
+
1676
+ /**
1677
+ * @license
1678
+ * jQuery Tools @VERSION Scrollable - New wave UI design
1679
+ *
1680
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
1681
+ *
1682
+ * http://flowplayer.org/tools/scrollable.html
1683
+ *
1684
+ * Since: March 2008
1685
+ * Date: @DATE
1686
+ */
1687
+ (function($) {
1688
+
1689
+ // static constructs
1690
+ $.tools = $.tools || {version: '@VERSION'};
1691
+
1692
+ $.tools.scrollable = {
1693
+
1694
+ conf: {
1695
+ activeClass: 'active',
1696
+ circular: false,
1697
+ clonedClass: 'cloned',
1698
+ disabledClass: 'disabled',
1699
+ easing: 'swing',
1700
+ initialIndex: 0,
1701
+ item: null,
1702
+ items: '.items',
1703
+ keyboard: true,
1704
+ mousewheel: false,
1705
+ next: '.next',
1706
+ prev: '.prev',
1707
+ speed: 400,
1708
+ vertical: false,
1709
+ touch: true,
1710
+ wheelSpeed: 0
1711
+ }
1712
+ };
1713
+
1714
+ // get hidden element's width or height even though it's hidden
1715
+ function dim(el, key) {
1716
+ var v = parseInt(el.css(key), 10);
1717
+ if (v) { return v; }
1718
+ var s = el[0].currentStyle;
1719
+ return s && s.width && parseInt(s.width, 10);
1720
+ }
1721
+
1722
+ function find(root, query) {
1723
+ var el = $(query);
1724
+ return el.length < 2 ? el : root.parent().find(query);
1725
+ }
1726
+
1727
+ var current;
1728
+
1729
+ // constructor
1730
+ function Scrollable(root, conf) {
1731
+
1732
+ // current instance
1733
+ var self = this,
1734
+ fire = root.add(self),
1735
+ itemWrap = root.children(),
1736
+ index = 0,
1737
+ vertical = conf.vertical;
1738
+
1739
+ if (!current) { current = self; }
1740
+ if (itemWrap.length > 1) { itemWrap = $(conf.items, root); }
1741
+
1742
+ // methods
1743
+ $.extend(self, {
1744
+
1745
+ getConf: function() {
1746
+ return conf;
1747
+ },
1748
+
1749
+ getIndex: function() {
1750
+ return index;
1751
+ },
1752
+
1753
+ getSize: function() {
1754
+ return self.getItems().size();
1755
+ },
1756
+
1757
+ getNaviButtons: function() {
1758
+ return prev.add(next);
1759
+ },
1760
+
1761
+ getRoot: function() {
1762
+ return root;
1763
+ },
1764
+
1765
+ getItemWrap: function() {
1766
+ return itemWrap;
1767
+ },
1768
+
1769
+ getItems: function() {
1770
+ return itemWrap.find(conf.item).not("." + conf.clonedClass);
1771
+ },
1772
+
1773
+ move: function(offset, time) {
1774
+ return self.seekTo(index + offset, time);
1775
+ },
1776
+
1777
+ next: function(time) {
1778
+ return self.move(1, time);
1779
+ },
1780
+
1781
+ prev: function(time) {
1782
+ return self.move(-1, time);
1783
+ },
1784
+
1785
+ begin: function(time) {
1786
+ return self.seekTo(0, time);
1787
+ },
1788
+
1789
+ end: function(time) {
1790
+ return self.seekTo(self.getSize() -1, time);
1791
+ },
1792
+
1793
+ focus: function() {
1794
+ current = self;
1795
+ return self;
1796
+ },
1797
+
1798
+ addItem: function(item) {
1799
+ item = $(item);
1800
+
1801
+ if (!conf.circular) {
1802
+ itemWrap.append(item);
1803
+ } else {
1804
+ itemWrap.children("." + conf.clonedClass + ":last").before(item);
1805
+ itemWrap.children("." + conf.clonedClass + ":first").replaceWith(item.clone().addClass(conf.clonedClass));
1806
+ }
1807
+
1808
+ fire.trigger("onAddItem", [item]);
1809
+ return self;
1810
+ },
1811
+
1812
+
1813
+ /* all seeking functions depend on this */
1814
+ seekTo: function(i, time, fn) {
1815
+
1816
+ // ensure numeric index
1817
+ if (!i.jquery) { i *= 1; }
1818
+
1819
+ // avoid seeking from end clone to the beginning
1820
+ if (conf.circular && i === 0 && index == -1 && time !== 0) { return self; }
1821
+
1822
+ // check that index is sane
1823
+ if (!conf.circular && i < 0 || i > self.getSize() || i < -1) { return self; }
1824
+
1825
+ var item = i;
1826
+
1827
+ if (i.jquery) {
1828
+ i = self.getItems().index(i);
1829
+
1830
+ } else {
1831
+ item = self.getItems().eq(i);
1832
+ }
1833
+
1834
+ // onBeforeSeek
1835
+ var e = $.Event("onBeforeSeek");
1836
+ if (!fn) {
1837
+ fire.trigger(e, [i, time]);
1838
+ if (e.isDefaultPrevented() || !item.length) { return self; }
1839
+ }
1840
+
1841
+ var props = vertical ? {top: -item.position().top} : {left: -item.position().left};
1842
+
1843
+ index = i;
1844
+ current = self;
1845
+ if (time === undefined) { time = conf.speed; }
1846
+
1847
+ itemWrap.animate(props, time, conf.easing, fn || function() {
1848
+ fire.trigger("onSeek", [i]);
1849
+ });
1850
+
1851
+ return self;
1852
+ }
1853
+
1854
+ });
1855
+
1856
+ // callbacks
1857
+ $.each(['onBeforeSeek', 'onSeek', 'onAddItem'], function(i, name) {
1858
+
1859
+ // configuration
1860
+ if ($.isFunction(conf[name])) {
1861
+ $(self).bind(name, conf[name]);
1862
+ }
1863
+
1864
+ self[name] = function(fn) {
1865
+ if (fn) { $(self).bind(name, fn); }
1866
+ return self;
1867
+ };
1868
+ });
1869
+
1870
+ // circular loop
1871
+ if (conf.circular) {
1872
+
1873
+ var cloned1 = self.getItems().slice(-1).clone().prependTo(itemWrap),
1874
+ cloned2 = self.getItems().eq(1).clone().appendTo(itemWrap);
1875
+
1876
+ cloned1.add(cloned2).addClass(conf.clonedClass);
1877
+
1878
+ self.onBeforeSeek(function(e, i, time) {
1879
+
1880
+
1881
+ if (e.isDefaultPrevented()) { return; }
1882
+
1883
+ /*
1884
+ 1. animate to the clone without event triggering
1885
+ 2. seek to correct position with 0 speed
1886
+ */
1887
+ if (i == -1) {
1888
+ self.seekTo(cloned1, time, function() {
1889
+ self.end(0);
1890
+ });
1891
+ return e.preventDefault();
1892
+
1893
+ } else if (i == self.getSize()) {
1894
+ self.seekTo(cloned2, time, function() {
1895
+ self.begin(0);
1896
+ });
1897
+ }
1898
+
1899
+ });
1900
+
1901
+ // seek over the cloned item
1902
+ self.seekTo(0, 0, function() {});
1903
+ }
1904
+
1905
+ // next/prev buttons
1906
+ var prev = find(root, conf.prev).click(function() { self.prev(); }),
1907
+ next = find(root, conf.next).click(function() { self.next(); });
1908
+
1909
+ if (!conf.circular && self.getSize() > 1) {
1910
+
1911
+ self.onBeforeSeek(function(e, i) {
1912
+ setTimeout(function() {
1913
+ if (!e.isDefaultPrevented()) {
1914
+ prev.toggleClass(conf.disabledClass, i <= 0);
1915
+ next.toggleClass(conf.disabledClass, i >= self.getSize() -1);
1916
+ }
1917
+ }, 1);
1918
+ });
1919
+
1920
+ if (!conf.initialIndex) {
1921
+ prev.addClass(conf.disabledClass);
1922
+ }
1923
+ }
1924
+
1925
+ // mousewheel support
1926
+ if (conf.mousewheel && $.fn.mousewheel) {
1927
+ root.mousewheel(function(e, delta) {
1928
+ if (conf.mousewheel) {
1929
+ self.move(delta < 0 ? 1 : -1, conf.wheelSpeed || 50);
1930
+ return false;
1931
+ }
1932
+ });
1933
+ }
1934
+
1935
+ // touch event
1936
+ if (conf.touch) {
1937
+ var touch = {};
1938
+
1939
+ itemWrap[0].ontouchstart = function(e) {
1940
+ var t = e.touches[0];
1941
+ touch.x = t.clientX;
1942
+ touch.y = t.clientY;
1943
+ };
1944
+
1945
+ itemWrap[0].ontouchmove = function(e) {
1946
+
1947
+ // only deal with one finger
1948
+ if (e.touches.length == 1 && !itemWrap.is(":animated")) {
1949
+ var t = e.touches[0],
1950
+ deltaX = touch.x - t.clientX,
1951
+ deltaY = touch.y - t.clientY;
1952
+
1953
+ self[vertical && deltaY > 0 || !vertical && deltaX > 0 ? 'next' : 'prev']();
1954
+ e.preventDefault();
1955
+ }
1956
+ };
1957
+ }
1958
+
1959
+ if (conf.keyboard) {
1960
+
1961
+ $(document).bind("keydown.scrollable", function(evt) {
1962
+
1963
+ // skip certain conditions
1964
+ if (!conf.keyboard || evt.altKey || evt.ctrlKey || $(evt.target).is(":input")) { return; }
1965
+
1966
+ // does this instance have focus?
1967
+ if (conf.keyboard != 'static' && current != self) { return; }
1968
+
1969
+ var key = evt.keyCode;
1970
+
1971
+ if (vertical && (key == 38 || key == 40)) {
1972
+ self.move(key == 38 ? -1 : 1);
1973
+ return evt.preventDefault();
1974
+ }
1975
+
1976
+ if (!vertical && (key == 37 || key == 39)) {
1977
+ self.move(key == 37 ? -1 : 1);
1978
+ return evt.preventDefault();
1979
+ }
1980
+
1981
+ });
1982
+ }
1983
+
1984
+ // initial index
1985
+ if (conf.initialIndex) {
1986
+ self.seekTo(conf.initialIndex, 0, function() {});
1987
+ }
1988
+ }
1989
+
1990
+
1991
+ // jQuery plugin implementation
1992
+ $.fn.scrollable = function(conf) {
1993
+
1994
+ // already constructed --> return API
1995
+ var el = this.data("scrollable");
1996
+ if (el) { return el; }
1997
+
1998
+ conf = $.extend({}, $.tools.scrollable.conf, conf);
1999
+
2000
+ this.each(function() {
2001
+ el = new Scrollable($(this), conf);
2002
+ $(this).data("scrollable", el);
2003
+ });
2004
+
2005
+ return conf.api ? el: this;
2006
+
2007
+ };
2008
+
2009
+
2010
+ })(jQuery);
2011
+
2012
+
2013
+ /**
2014
+ * @license
2015
+ * jQuery Tools @VERSION / Scrollable Autoscroll
2016
+ *
2017
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
2018
+ *
2019
+ * http://flowplayer.org/tools/scrollable/autoscroll.html
2020
+ *
2021
+ * Since: September 2009
2022
+ * Date: @DATE
2023
+ */
2024
+ (function($) {
2025
+
2026
+ var t = $.tools.scrollable;
2027
+
2028
+ t.autoscroll = {
2029
+
2030
+ conf: {
2031
+ autoplay: true,
2032
+ interval: 3000,
2033
+ autopause: true
2034
+ }
2035
+ };
2036
+
2037
+ // jQuery plugin implementation
2038
+ $.fn.autoscroll = function(conf) {
2039
+
2040
+ if (typeof conf == 'number') {
2041
+ conf = {interval: conf};
2042
+ }
2043
+
2044
+ var opts = $.extend({}, t.autoscroll.conf, conf), ret;
2045
+
2046
+ this.each(function() {
2047
+
2048
+ var api = $(this).data("scrollable");
2049
+ if (api) { ret = api; }
2050
+
2051
+ // interval stuff
2052
+ var timer, stopped = true;
2053
+
2054
+ api.play = function() {
2055
+
2056
+ // do not start additional timer if already exists
2057
+ if (timer) { return; }
2058
+
2059
+ stopped = false;
2060
+
2061
+ // construct new timer
2062
+ timer = setInterval(function() {
2063
+ api.next();
2064
+ }, opts.interval);
2065
+
2066
+ };
2067
+
2068
+ api.pause = function() {
2069
+ timer = clearInterval(timer);
2070
+ };
2071
+
2072
+ // when stopped - mouseover won't restart
2073
+ api.stop = function() {
2074
+ api.pause();
2075
+ stopped = true;
2076
+ };
2077
+
2078
+ /* when mouse enters, autoscroll stops */
2079
+ if (opts.autopause) {
2080
+ api.getRoot().add(api.getNaviButtons()).hover(api.pause, api.play);
2081
+ }
2082
+
2083
+ if (opts.autoplay) {
2084
+ api.play();
2085
+ }
2086
+
2087
+ });
2088
+
2089
+ return opts.api ? ret : this;
2090
+
2091
+ };
2092
+
2093
+ })(jQuery);
2094
+
2095
+
2096
+ /**
2097
+ * @license
2098
+ * jQuery Tools @VERSION / Scrollable Navigator
2099
+ *
2100
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
2101
+ *
2102
+ * http://flowplayer.org/tools/scrollable/navigator.html
2103
+ *
2104
+ * Since: September 2009
2105
+ * Date: @DATE
2106
+ */
2107
+ (function($) {
2108
+
2109
+ var t = $.tools.scrollable;
2110
+
2111
+ t.navigator = {
2112
+
2113
+ conf: {
2114
+ navi: '.navi',
2115
+ naviItem: null,
2116
+ activeClass: 'active',
2117
+ indexed: false,
2118
+ idPrefix: null,
2119
+
2120
+ // 1.2
2121
+ history: false
2122
+ }
2123
+ };
2124
+
2125
+ function find(root, query) {
2126
+ var el = $(query);
2127
+ return el.length < 2 ? el : root.parent().find(query);
2128
+ }
2129
+
2130
+ // jQuery plugin implementation
2131
+ $.fn.navigator = function(conf) {
2132
+
2133
+ // configuration
2134
+ if (typeof conf == 'string') { conf = {navi: conf}; }
2135
+ conf = $.extend({}, t.navigator.conf, conf);
2136
+
2137
+ var ret;
2138
+
2139
+ this.each(function() {
2140
+
2141
+ var api = $(this).data("scrollable"),
2142
+ navi = conf.navi.jquery ? conf.navi : find(api.getRoot(), conf.navi),
2143
+ buttons = api.getNaviButtons(),
2144
+ cls = conf.activeClass,
2145
+ history = conf.history && $.fn.history;
2146
+
2147
+ // @deprecated stuff
2148
+ if (api) { ret = api; }
2149
+
2150
+ api.getNaviButtons = function() {
2151
+ return buttons.add(navi);
2152
+ };
2153
+
2154
+
2155
+ function doClick(el, i, e) {
2156
+ api.seekTo(i);
2157
+ if (history) {
2158
+ if (location.hash) {
2159
+ location.hash = el.attr("href").replace("#", "");
2160
+ }
2161
+ } else {
2162
+ return e.preventDefault();
2163
+ }
2164
+ }
2165
+
2166
+ function els() {
2167
+ return navi.find(conf.naviItem || '> *');
2168
+ }
2169
+
2170
+ function addItem(i) {
2171
+
2172
+ var item = $("<" + (conf.naviItem || 'a') + "/>").click(function(e) {
2173
+ doClick($(this), i, e);
2174
+
2175
+ }).attr("href", "#" + i);
2176
+
2177
+ // index number / id attribute
2178
+ if (i === 0) { item.addClass(cls); }
2179
+ if (conf.indexed) { item.text(i + 1); }
2180
+ if (conf.idPrefix) { item.attr("id", conf.idPrefix + i); }
2181
+
2182
+ return item.appendTo(navi);
2183
+ }
2184
+
2185
+
2186
+ // generate navigator
2187
+ if (els().length) {
2188
+ els().each(function(i) {
2189
+ $(this).click(function(e) {
2190
+ doClick($(this), i, e);
2191
+ });
2192
+ });
2193
+
2194
+ } else {
2195
+ $.each(api.getItems(), function(i) {
2196
+ addItem(i);
2197
+ });
2198
+ }
2199
+
2200
+ // activate correct entry
2201
+ api.onBeforeSeek(function(e, index) {
2202
+ setTimeout(function() {
2203
+ if (!e.isDefaultPrevented()) {
2204
+ var el = els().eq(index);
2205
+ if (!e.isDefaultPrevented() && el.length) {
2206
+ els().removeClass(cls).eq(index).addClass(cls);
2207
+ }
2208
+ }
2209
+ }, 1);
2210
+ });
2211
+
2212
+ function doHistory(evt, hash) {
2213
+ var el = els().eq(hash.replace("#", ""));
2214
+ if (!el.length) {
2215
+ el = els().filter("[href=" + hash + "]");
2216
+ }
2217
+ el.click();
2218
+ }
2219
+
2220
+ // new item being added
2221
+ api.onAddItem(function(e, item) {
2222
+ item = addItem(api.getItems().index(item));
2223
+ if (history) { item.history(doHistory); }
2224
+ });
2225
+
2226
+ if (history) { els().history(doHistory); }
2227
+
2228
+ });
2229
+
2230
+ return conf.api ? ret : this;
2231
+
2232
+ };
2233
+
2234
+ })(jQuery);
2235
+
2236
+
2237
+ /**
2238
+ * @license
2239
+ * jQuery Tools @VERSION Tabs- The basics of UI design.
2240
+ *
2241
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
2242
+ *
2243
+ * http://flowplayer.org/tools/tabs/
2244
+ *
2245
+ * Since: November 2008
2246
+ * Date: @DATE
2247
+ */
2248
+ (function($) {
2249
+
2250
+ // static constructs
2251
+ $.tools = $.tools || {version: '@VERSION'};
2252
+
2253
+ $.tools.tabs = {
2254
+
2255
+ conf: {
2256
+ tabs: 'a',
2257
+ current: 'current',
2258
+ onBeforeClick: null,
2259
+ onClick: null,
2260
+ effect: 'default',
2261
+ initialIndex: 0,
2262
+ event: 'click',
2263
+ rotate: false,
2264
+
2265
+ // 1.2
2266
+ history: false
2267
+ },
2268
+
2269
+ addEffect: function(name, fn) {
2270
+ effects[name] = fn;
2271
+ }
2272
+
2273
+ };
2274
+
2275
+ var effects = {
2276
+
2277
+ // simple "toggle" effect
2278
+ 'default': function(i, done) {
2279
+ this.getPanes().hide().eq(i).show();
2280
+ done.call();
2281
+ },
2282
+
2283
+ /*
2284
+ configuration:
2285
+ - fadeOutSpeed (positive value does "crossfading")
2286
+ - fadeInSpeed
2287
+ */
2288
+ fade: function(i, done) {
2289
+
2290
+ var conf = this.getConf(),
2291
+ speed = conf.fadeOutSpeed,
2292
+ panes = this.getPanes();
2293
+
2294
+ if (speed) {
2295
+ panes.fadeOut(speed);
2296
+ } else {
2297
+ panes.hide();
2298
+ }
2299
+
2300
+ panes.eq(i).fadeIn(conf.fadeInSpeed, done);
2301
+ },
2302
+
2303
+ // for basic accordions
2304
+ slide: function(i, done) {
2305
+ this.getPanes().slideUp(200);
2306
+ this.getPanes().eq(i).slideDown(400, done);
2307
+ },
2308
+
2309
+ /**
2310
+ * AJAX effect
2311
+ */
2312
+ ajax: function(i, done) {
2313
+ this.getPanes().eq(0).load(this.getTabs().eq(i).attr("href"), done);
2314
+ }
2315
+ };
2316
+
2317
+ var w;
2318
+
2319
+ /**
2320
+ * Horizontal accordion
2321
+ *
2322
+ * @deprecated will be replaced with a more robust implementation
2323
+ */
2324
+ $.tools.tabs.addEffect("horizontal", function(i, done) {
2325
+
2326
+ // store original width of a pane into memory
2327
+ if (!w) { w = this.getPanes().eq(0).width(); }
2328
+
2329
+ // set current pane's width to zero
2330
+ this.getCurrentPane().animate({width: 0}, function() { $(this).hide(); });
2331
+
2332
+ // grow opened pane to it's original width
2333
+ this.getPanes().eq(i).animate({width: w}, function() {
2334
+ $(this).show();
2335
+ done.call();
2336
+ });
2337
+
2338
+ });
2339
+
2340
+
2341
+ function Tabs(root, paneSelector, conf) {
2342
+
2343
+ var self = this,
2344
+ trigger = root.add(this),
2345
+ tabs = root.find(conf.tabs),
2346
+ panes = paneSelector.jquery ? paneSelector : root.children(paneSelector),
2347
+ current;
2348
+
2349
+
2350
+ // make sure tabs and panes are found
2351
+ if (!tabs.length) { tabs = root.children(); }
2352
+ if (!panes.length) { panes = root.parent().find(paneSelector); }
2353
+ if (!panes.length) { panes = $(paneSelector); }
2354
+
2355
+
2356
+ // public methods
2357
+ $.extend(this, {
2358
+ click: function(i, e) {
2359
+
2360
+ var tab = tabs.eq(i);
2361
+
2362
+ if (typeof i == 'string' && i.replace("#", "")) {
2363
+ tab = tabs.filter("[href*=" + i.replace("#", "") + "]");
2364
+ i = Math.max(tabs.index(tab), 0);
2365
+ }
2366
+
2367
+ if (conf.rotate) {
2368
+ var last = tabs.length -1;
2369
+ if (i < 0) { return self.click(last, e); }
2370
+ if (i > last) { return self.click(0, e); }
2371
+ }
2372
+
2373
+ if (!tab.length) {
2374
+ if (current >= 0) { return self; }
2375
+ i = conf.initialIndex;
2376
+ tab = tabs.eq(i);
2377
+ }
2378
+
2379
+ // current tab is being clicked
2380
+ if (i === current) { return self; }
2381
+
2382
+ // possibility to cancel click action
2383
+ e = e || $.Event();
2384
+ e.type = "onBeforeClick";
2385
+ trigger.trigger(e, [i]);
2386
+ if (e.isDefaultPrevented()) { return; }
2387
+
2388
+ // call the effect
2389
+ effects[conf.effect].call(self, i, function() {
2390
+
2391
+ // onClick callback
2392
+ e.type = "onClick";
2393
+ trigger.trigger(e, [i]);
2394
+ });
2395
+
2396
+ // default behaviour
2397
+ current = i;
2398
+ tabs.removeClass(conf.current);
2399
+ tab.addClass(conf.current);
2400
+
2401
+ return self;
2402
+ },
2403
+
2404
+ getConf: function() {
2405
+ return conf;
2406
+ },
2407
+
2408
+ getTabs: function() {
2409
+ return tabs;
2410
+ },
2411
+
2412
+ getPanes: function() {
2413
+ return panes;
2414
+ },
2415
+
2416
+ getCurrentPane: function() {
2417
+ return panes.eq(current);
2418
+ },
2419
+
2420
+ getCurrentTab: function() {
2421
+ return tabs.eq(current);
2422
+ },
2423
+
2424
+ getIndex: function() {
2425
+ return current;
2426
+ },
2427
+
2428
+ next: function() {
2429
+ return self.click(current + 1);
2430
+ },
2431
+
2432
+ prev: function() {
2433
+ return self.click(current - 1);
2434
+ },
2435
+
2436
+ destroy: function() {
2437
+ tabs.unbind(conf.event).removeClass(conf.current);
2438
+ panes.find("a[href^=#]").unbind("click.T");
2439
+ return self;
2440
+ }
2441
+
2442
+ });
2443
+
2444
+ // callbacks
2445
+ $.each("onBeforeClick,onClick".split(","), function(i, name) {
2446
+
2447
+ // configuration
2448
+ if ($.isFunction(conf[name])) {
2449
+ $(self).bind(name, conf[name]);
2450
+ }
2451
+
2452
+ // API
2453
+ self[name] = function(fn) {
2454
+ if (fn) { $(self).bind(name, fn); }
2455
+ return self;
2456
+ };
2457
+ });
2458
+
2459
+
2460
+ if (conf.history && $.fn.history) {
2461
+ $.tools.history.init(tabs);
2462
+ conf.event = 'history';
2463
+ }
2464
+
2465
+ // setup click actions for each tab
2466
+ tabs.each(function(i) {
2467
+ $(this).bind(conf.event, function(e) {
2468
+ self.click(i, e);
2469
+ return e.preventDefault();
2470
+ });
2471
+ });
2472
+
2473
+ // cross tab anchor link
2474
+ panes.find("a[href^=#]").bind("click.T", function(e) {
2475
+ self.click($(this).attr("href"), e);
2476
+ });
2477
+
2478
+ // open initial tab
2479
+ if (location.hash && conf.tabs == "a" && root.find("[href=" +location.hash+ "]").length) {
2480
+ self.click(location.hash);
2481
+
2482
+ } else {
2483
+ if (conf.initialIndex === 0 || conf.initialIndex > 0) {
2484
+ self.click(conf.initialIndex);
2485
+ }
2486
+ }
2487
+
2488
+ }
2489
+
2490
+
2491
+ // jQuery plugin implementation
2492
+ $.fn.tabs = function(paneSelector, conf) {
2493
+
2494
+ // return existing instance
2495
+ var el = this.data("tabs");
2496
+ if (el) {
2497
+ el.destroy();
2498
+ this.removeData("tabs");
2499
+ }
2500
+
2501
+ if ($.isFunction(conf)) {
2502
+ conf = {onBeforeClick: conf};
2503
+ }
2504
+
2505
+ // setup conf
2506
+ conf = $.extend({}, $.tools.tabs.conf, conf);
2507
+
2508
+
2509
+ this.each(function() {
2510
+ el = new Tabs($(this), paneSelector, conf);
2511
+ $(this).data("tabs", el);
2512
+ });
2513
+
2514
+ return conf.api ? el: this;
2515
+ };
2516
+
2517
+ }) (jQuery);
2518
+
2519
+
2520
+
2521
+
2522
+ /**
2523
+ * @license
2524
+ * jQuery Tools @VERSION Slideshow - Extend it.
2525
+ *
2526
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
2527
+ *
2528
+ * http://flowplayer.org/tools/tabs/slideshow.html
2529
+ *
2530
+ * Since: September 2009
2531
+ * Date: @DATE
2532
+ */
2533
+ (function($) {
2534
+
2535
+ var tool;
2536
+
2537
+ tool = $.tools.tabs.slideshow = {
2538
+
2539
+ conf: {
2540
+ next: '.forward',
2541
+ prev: '.backward',
2542
+ disabledClass: 'disabled',
2543
+ autoplay: false,
2544
+ autopause: true,
2545
+ interval: 3000,
2546
+ clickable: true,
2547
+ api: false
2548
+ }
2549
+ };
2550
+
2551
+ function Slideshow(root, conf) {
2552
+
2553
+ var self = this,
2554
+ fire = root.add(this),
2555
+ tabs = root.data("tabs"),
2556
+ timer,
2557
+ stopped = true;
2558
+
2559
+
2560
+ // next / prev buttons
2561
+ function find(query) {
2562
+ var el = $(query);
2563
+ return el.length < 2 ? el : root.parent().find(query);
2564
+ }
2565
+
2566
+ var nextButton = find(conf.next).click(function() {
2567
+ tabs.next();
2568
+ });
2569
+
2570
+ var prevButton = find(conf.prev).click(function() {
2571
+ tabs.prev();
2572
+ });
2573
+
2574
+
2575
+ // extend the Tabs API with slideshow methods
2576
+ $.extend(self, {
2577
+
2578
+ // return tabs API
2579
+ getTabs: function() {
2580
+ return tabs;
2581
+ },
2582
+
2583
+ getConf: function() {
2584
+ return conf;
2585
+ },
2586
+
2587
+ play: function() {
2588
+
2589
+ // do not start additional timer if already exists
2590
+ if (timer) { return self; }
2591
+
2592
+ // onBeforePlay
2593
+ var e = $.Event("onBeforePlay");
2594
+ fire.trigger(e);
2595
+ if (e.isDefaultPrevented()) { return self; }
2596
+
2597
+
2598
+ // construct new timer
2599
+ timer = setInterval(tabs.next, conf.interval);
2600
+ stopped = false;
2601
+
2602
+ // onPlay
2603
+ fire.trigger("onPlay");
2604
+
2605
+ return self;
2606
+ },
2607
+
2608
+ pause: function() {
2609
+
2610
+ if (!timer) { return self; }
2611
+
2612
+ // onBeforePause
2613
+ var e = $.Event("onBeforePause");
2614
+ fire.trigger(e);
2615
+ if (e.isDefaultPrevented()) { return self; }
2616
+
2617
+ timer = clearInterval(timer);
2618
+
2619
+ // onPause
2620
+ fire.trigger("onPause");
2621
+
2622
+ return self;
2623
+ },
2624
+
2625
+ // when stopped - mouseover won't restart
2626
+ stop: function() {
2627
+ self.pause();
2628
+ stopped = true;
2629
+ }
2630
+
2631
+ });
2632
+
2633
+ // callbacks
2634
+ $.each("onBeforePlay,onPlay,onBeforePause,onPause".split(","), function(i, name) {
2635
+
2636
+ // configuration
2637
+ if ($.isFunction(conf[name])) {
2638
+ $(self).bind(name, conf[name]);
2639
+ }
2640
+
2641
+ // API methods
2642
+ self[name] = function(fn) {
2643
+ return $(self).bind(name, fn);
2644
+ };
2645
+ });
2646
+
2647
+
2648
+ /* when mouse enters, slideshow stops */
2649
+ if (conf.autopause) {
2650
+ tabs.getTabs().add(nextButton).add(prevButton).add(tabs.getPanes()).hover(self.pause, function() {
2651
+ if (!stopped) { self.play(); }
2652
+ });
2653
+ }
2654
+
2655
+ if (conf.autoplay) {
2656
+ self.play();
2657
+ }
2658
+
2659
+ if (conf.clickable) {
2660
+ tabs.getPanes().click(function() {
2661
+ tabs.next();
2662
+ });
2663
+ }
2664
+
2665
+ // manage disabling of next/prev buttons
2666
+ if (!tabs.getConf().rotate) {
2667
+
2668
+ var disabled = conf.disabledClass;
2669
+
2670
+ if (!tabs.getIndex()) {
2671
+ prevButton.addClass(disabled);
2672
+ }
2673
+
2674
+ tabs.onBeforeClick(function(e, i) {
2675
+ prevButton.toggleClass(disabled, !i);
2676
+ nextButton.toggleClass(disabled, i == tabs.getTabs().length -1);
2677
+ });
2678
+ }
2679
+ }
2680
+
2681
+ // jQuery plugin implementation
2682
+ $.fn.slideshow = function(conf) {
2683
+
2684
+ // return existing instance
2685
+ var el = this.data("slideshow");
2686
+ if (el) { return el; }
2687
+
2688
+ conf = $.extend({}, tool.conf, conf);
2689
+
2690
+ this.each(function() {
2691
+ el = new Slideshow($(this), conf);
2692
+ $(this).data("slideshow", el);
2693
+ });
2694
+
2695
+ return conf.api ? el : this;
2696
+ };
2697
+
2698
+ })(jQuery);
2699
+
2700
+
2701
+
2702
+ /**
2703
+ * @license
2704
+ * jQuery Tools @VERSION / Expose - Dim the lights
2705
+ *
2706
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
2707
+ *
2708
+ * http://flowplayer.org/tools/toolbox/expose.html
2709
+ *
2710
+ * Since: Mar 2010
2711
+ * Date: @DATE
2712
+ */
2713
+ (function($) {
2714
+
2715
+ // static constructs
2716
+ $.tools = $.tools || {version: '@VERSION'};
2717
+
2718
+ var tool;
2719
+
2720
+ tool = $.tools.expose = {
2721
+
2722
+ conf: {
2723
+ maskId: 'exposeMask',
2724
+ loadSpeed: 'slow',
2725
+ closeSpeed: 'fast',
2726
+ closeOnClick: true,
2727
+ closeOnEsc: true,
2728
+
2729
+ // css settings
2730
+ zIndex: 9998,
2731
+ opacity: 0.8,
2732
+ startOpacity: 0,
2733
+ color: '#fff',
2734
+
2735
+ // callbacks
2736
+ onLoad: null,
2737
+ onClose: null
2738
+ }
2739
+ };
2740
+
2741
+ /* one of the greatest headaches in the tool. finally made it */
2742
+ function viewport() {
2743
+
2744
+ // the horror case
2745
+ if ($.browser.msie) {
2746
+
2747
+ // if there are no scrollbars then use window.height
2748
+ var d = $(document).height(), w = $(window).height();
2749
+
2750
+ return [
2751
+ window.innerWidth || // ie7+
2752
+ document.documentElement.clientWidth || // ie6
2753
+ document.body.clientWidth, // ie6 quirks mode
2754
+ d - w < 20 ? w : d
2755
+ ];
2756
+ }
2757
+
2758
+ // other well behaving browsers
2759
+ return [$(document).width(), $(document).height()];
2760
+ }
2761
+
2762
+ function call(fn) {
2763
+ if (fn) { return fn.call($.mask); }
2764
+ }
2765
+
2766
+ var mask, exposed, loaded, config, overlayIndex;
2767
+
2768
+
2769
+ $.mask = {
2770
+
2771
+ load: function(conf, els) {
2772
+
2773
+ // already loaded ?
2774
+ if (loaded) { return this; }
2775
+
2776
+ // configuration
2777
+ if (typeof conf == 'string') {
2778
+ conf = {color: conf};
2779
+ }
2780
+
2781
+ // use latest config
2782
+ conf = conf || config;
2783
+
2784
+ config = conf = $.extend($.extend({}, tool.conf), conf);
2785
+
2786
+ // get the mask
2787
+ mask = $("#" + conf.maskId);
2788
+
2789
+ // or create it
2790
+ if (!mask.length) {
2791
+ mask = $('<div/>').attr("id", conf.maskId);
2792
+ $("body").append(mask);
2793
+ }
2794
+
2795
+ // set position and dimensions
2796
+ var size = viewport();
2797
+
2798
+ mask.css({
2799
+ position:'absolute',
2800
+ top: 0,
2801
+ left: 0,
2802
+ width: size[0],
2803
+ height: size[1],
2804
+ display: 'none',
2805
+ opacity: conf.startOpacity,
2806
+ zIndex: conf.zIndex
2807
+ });
2808
+
2809
+ if (conf.color) {
2810
+ mask.css("backgroundColor", conf.color);
2811
+ }
2812
+
2813
+ // onBeforeLoad
2814
+ if (call(conf.onBeforeLoad) === false) {
2815
+ return this;
2816
+ }
2817
+
2818
+ // esc button
2819
+ if (conf.closeOnEsc) {
2820
+ $(document).bind("keydown.mask", function(e) {
2821
+ if (e.keyCode == 27) {
2822
+ $.mask.close(e);
2823
+ }
2824
+ });
2825
+ }
2826
+
2827
+ // mask click closes
2828
+ if (conf.closeOnClick) {
2829
+ mask.bind("click.mask", function(e) {
2830
+ $.mask.close(e);
2831
+ });
2832
+ }
2833
+
2834
+ // resize mask when window is resized
2835
+ $(window).bind("resize.mask", function() {
2836
+ $.mask.fit();
2837
+ });
2838
+
2839
+ // exposed elements
2840
+ if (els && els.length) {
2841
+
2842
+ overlayIndex = els.eq(0).css("zIndex");
2843
+
2844
+ // make sure element is positioned absolutely or relatively
2845
+ $.each(els, function() {
2846
+ var el = $(this);
2847
+ if (!/relative|absolute|fixed/i.test(el.css("position"))) {
2848
+ el.css("position", "relative");
2849
+ }
2850
+ });
2851
+
2852
+ // make elements sit on top of the mask
2853
+ exposed = els.css({ zIndex: Math.max(conf.zIndex + 1, overlayIndex == 'auto' ? 0 : overlayIndex)});
2854
+ }
2855
+
2856
+ // reveal mask
2857
+ mask.css({display: 'block'}).fadeTo(conf.loadSpeed, conf.opacity, function() {
2858
+ $.mask.fit();
2859
+ call(conf.onLoad);
2860
+ loaded = "full";
2861
+ });
2862
+
2863
+ loaded = true;
2864
+ return this;
2865
+ },
2866
+
2867
+ close: function() {
2868
+ if (loaded) {
2869
+
2870
+ // onBeforeClose
2871
+ if (call(config.onBeforeClose) === false) { return this; }
2872
+
2873
+ mask.fadeOut(config.closeSpeed, function() {
2874
+ call(config.onClose);
2875
+ if (exposed) {
2876
+ exposed.css({zIndex: overlayIndex});
2877
+ }
2878
+ loaded = false;
2879
+ });
2880
+
2881
+ // unbind various event listeners
2882
+ $(document).unbind("keydown.mask");
2883
+ mask.unbind("click.mask");
2884
+ $(window).unbind("resize.mask");
2885
+ }
2886
+
2887
+ return this;
2888
+ },
2889
+
2890
+ fit: function() {
2891
+ if (loaded) {
2892
+ var size = viewport();
2893
+ mask.css({width: size[0], height: size[1]});
2894
+ }
2895
+ },
2896
+
2897
+ getMask: function() {
2898
+ return mask;
2899
+ },
2900
+
2901
+ isLoaded: function(fully) {
2902
+ return fully ? loaded == 'full' : loaded;
2903
+ },
2904
+
2905
+ getConf: function() {
2906
+ return config;
2907
+ },
2908
+
2909
+ getExposed: function() {
2910
+ return exposed;
2911
+ }
2912
+ };
2913
+
2914
+ $.fn.mask = function(conf) {
2915
+ $.mask.load(conf);
2916
+ return this;
2917
+ };
2918
+
2919
+ $.fn.expose = function(conf) {
2920
+ $.mask.load(conf, this);
2921
+ return this;
2922
+ };
2923
+
2924
+
2925
+ })(jQuery);
2926
+
2927
+
2928
+ /**
2929
+ * @license
2930
+ * jQuery Tools @VERSION / Flashembed - New wave Flash embedding
2931
+ *
2932
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
2933
+ *
2934
+ * http://flowplayer.org/tools/toolbox/flashembed.html
2935
+ *
2936
+ * Since : March 2008
2937
+ * Date : @DATE
2938
+ */
2939
+ (function() {
2940
+
2941
+ var IE = document.all,
2942
+ URL = 'http://www.adobe.com/go/getflashplayer',
2943
+ JQUERY = typeof jQuery == 'function',
2944
+ RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/,
2945
+ GLOBAL_OPTS = {
2946
+ // very common opts
2947
+ width: '100%',
2948
+ height: '100%',
2949
+ id: "_" + ("" + Math.random()).slice(9),
2950
+
2951
+ // flashembed defaults
2952
+ allowfullscreen: true,
2953
+ allowscriptaccess: 'always',
2954
+ quality: 'high',
2955
+
2956
+ // flashembed specific options
2957
+ version: [3, 0],
2958
+ onFail: null,
2959
+ expressInstall: null,
2960
+ w3c: false,
2961
+ cachebusting: false
2962
+ };
2963
+
2964
+ // version 9 bugfix: (http://blog.deconcept.com/2006/07/28/swfobject-143-released/)
2965
+ if (window.attachEvent) {
2966
+ window.attachEvent("onbeforeunload", function() {
2967
+ __flash_unloadHandler = function() {};
2968
+ __flash_savedUnloadHandler = function() {};
2969
+ });
2970
+ }
2971
+
2972
+ // simple extend
2973
+ function extend(to, from) {
2974
+ if (from) {
2975
+ for (var key in from) {
2976
+ if (from.hasOwnProperty(key)) {
2977
+ to[key] = from[key];
2978
+ }
2979
+ }
2980
+ }
2981
+ return to;
2982
+ }
2983
+
2984
+ // used by asString method
2985
+ function map(arr, func) {
2986
+ var newArr = [];
2987
+ for (var i in arr) {
2988
+ if (arr.hasOwnProperty(i)) {
2989
+ newArr[i] = func(arr[i]);
2990
+ }
2991
+ }
2992
+ return newArr;
2993
+ }
2994
+
2995
+ window.flashembed = function(root, opts, conf) {
2996
+
2997
+ // root must be found / loaded
2998
+ if (typeof root == 'string') {
2999
+ root = document.getElementById(root.replace("#", ""));
3000
+ }
3001
+
3002
+ // not found
3003
+ if (!root) { return; }
3004
+
3005
+ if (typeof opts == 'string') {
3006
+ opts = {src: opts};
3007
+ }
3008
+
3009
+ return new Flash(root, extend(extend({}, GLOBAL_OPTS), opts), conf);
3010
+ };
3011
+
3012
+ // flashembed "static" API
3013
+ var f = extend(window.flashembed, {
3014
+
3015
+ conf: GLOBAL_OPTS,
3016
+
3017
+ getVersion: function() {
3018
+ var fo, ver;
3019
+
3020
+ try {
3021
+ ver = navigator.plugins["Shockwave Flash"].description.slice(16);
3022
+ } catch(e) {
3023
+
3024
+ try {
3025
+ fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
3026
+ ver = fo && fo.GetVariable("$version");
3027
+
3028
+ } catch(err) {
3029
+ try {
3030
+ fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
3031
+ ver = fo && fo.GetVariable("$version");
3032
+ } catch(err2) { }
3033
+ }
3034
+ }
3035
+
3036
+ ver = RE.exec(ver);
3037
+ return ver ? [ver[1], ver[3]] : [0, 0];
3038
+ },
3039
+
3040
+ asString: function(obj) {
3041
+
3042
+ if (obj === null || obj === undefined) { return null; }
3043
+ var type = typeof obj;
3044
+ if (type == 'object' && obj.push) { type = 'array'; }
3045
+
3046
+ switch (type){
3047
+
3048
+ case 'string':
3049
+ obj = obj.replace(new RegExp('(["\\\\])', 'g'), '\\$1');
3050
+
3051
+ // flash does not handle %- characters well. transforms "50%" to "50pct" (a dirty hack, I admit)
3052
+ obj = obj.replace(/^\s?(\d+\.?\d+)%/, "$1pct");
3053
+ return '"' +obj+ '"';
3054
+
3055
+ case 'array':
3056
+ return '['+ map(obj, function(el) {
3057
+ return f.asString(el);
3058
+ }).join(',') +']';
3059
+
3060
+ case 'function':
3061
+ return '"function()"';
3062
+
3063
+ case 'object':
3064
+ var str = [];
3065
+ for (var prop in obj) {
3066
+ if (obj.hasOwnProperty(prop)) {
3067
+ str.push('"'+prop+'":'+ f.asString(obj[prop]));
3068
+ }
3069
+ }
3070
+ return '{'+str.join(',')+'}';
3071
+ }
3072
+
3073
+ // replace ' --> " and remove spaces
3074
+ return String(obj).replace(/\s/g, " ").replace(/\'/g, "\"");
3075
+ },
3076
+
3077
+ getHTML: function(opts, conf) {
3078
+
3079
+ opts = extend({}, opts);
3080
+
3081
+ /******* OBJECT tag and it's attributes *******/
3082
+ var html = '<object width="' + opts.width +
3083
+ '" height="' + opts.height +
3084
+ '" id="' + opts.id +
3085
+ '" name="' + opts.id + '"';
3086
+
3087
+ if (opts.cachebusting) {
3088
+ opts.src += ((opts.src.indexOf("?") != -1 ? "&" : "?") + Math.random());
3089
+ }
3090
+
3091
+ if (opts.w3c || !IE) {
3092
+ html += ' data="' +opts.src+ '" type="application/x-shockwave-flash"';
3093
+ } else {
3094
+ html += ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
3095
+ }
3096
+
3097
+ html += '>';
3098
+
3099
+ /******* nested PARAM tags *******/
3100
+ if (opts.w3c || IE) {
3101
+ html += '<param name="movie" value="' +opts.src+ '" />';
3102
+ }
3103
+
3104
+ // not allowed params
3105
+ opts.width = opts.height = opts.id = opts.w3c = opts.src = null;
3106
+ opts.onFail = opts.version = opts.expressInstall = null;
3107
+
3108
+ for (var key in opts) {
3109
+ if (opts[key]) {
3110
+ html += '<param name="'+ key +'" value="'+ opts[key] +'" />';
3111
+ }
3112
+ }
3113
+
3114
+ /******* FLASHVARS *******/
3115
+ var vars = "";
3116
+
3117
+ if (conf) {
3118
+ for (var k in conf) {
3119
+ if (conf[k]) {
3120
+ var val = conf[k];
3121
+ vars += k +'='+ (/function|object/.test(typeof val) ? f.asString(val) : val) + '&';
3122
+ }
3123
+ }
3124
+ vars = vars.slice(0, -1);
3125
+ html += '<param name="flashvars" value=\'' + vars + '\' />';
3126
+ }
3127
+
3128
+ html += "</object>";
3129
+
3130
+ return html;
3131
+ },
3132
+
3133
+ isSupported: function(ver) {
3134
+ return VERSION[0] > ver[0] || VERSION[0] == ver[0] && VERSION[1] >= ver[1];
3135
+ }
3136
+
3137
+ });
3138
+
3139
+ var VERSION = f.getVersion();
3140
+
3141
+ function Flash(root, opts, conf) {
3142
+
3143
+ // version is ok
3144
+ if (f.isSupported(opts.version)) {
3145
+ root.innerHTML = f.getHTML(opts, conf);
3146
+
3147
+ // express install
3148
+ } else if (opts.expressInstall && f.isSupported([6, 65])) {
3149
+ root.innerHTML = f.getHTML(extend(opts, {src: opts.expressInstall}), {
3150
+ MMredirectURL: location.href,
3151
+ MMplayerType: 'PlugIn',
3152
+ MMdoctitle: document.title
3153
+ });
3154
+
3155
+ } else {
3156
+
3157
+ // fail #2.1 custom content inside container
3158
+ if (!root.innerHTML.replace(/\s/g, '')) {
3159
+ root.innerHTML =
3160
+ "<h2>Flash version " + opts.version + " or greater is required</h2>" +
3161
+ "<h3>" +
3162
+ (VERSION[0] > 0 ? "Your version is " + VERSION : "You have no flash plugin installed") +
3163
+ "</h3>" +
3164
+
3165
+ (root.tagName == 'A' ? "<p>Click here to download latest version</p>" :
3166
+ "<p>Download latest version from <a href='" + URL + "'>here</a></p>");
3167
+
3168
+ if (root.tagName == 'A') {
3169
+ root.onclick = function() {
3170
+ location.href = URL;
3171
+ };
3172
+ }
3173
+ }
3174
+
3175
+ // onFail
3176
+ if (opts.onFail) {
3177
+ var ret = opts.onFail.call(this);
3178
+ if (typeof ret == 'string') { root.innerHTML = ret; }
3179
+ }
3180
+ }
3181
+
3182
+ // http://flowplayer.org/forum/8/18186#post-18593
3183
+ if (IE) {
3184
+ window[opts.id] = document.getElementById(opts.id);
3185
+ }
3186
+
3187
+ // API methods for callback
3188
+ extend(this, {
3189
+
3190
+ getRoot: function() {
3191
+ return root;
3192
+ },
3193
+
3194
+ getOptions: function() {
3195
+ return opts;
3196
+ },
3197
+
3198
+
3199
+ getConf: function() {
3200
+ return conf;
3201
+ },
3202
+
3203
+ getApi: function() {
3204
+ return root.firstChild;
3205
+ }
3206
+
3207
+ });
3208
+ }
3209
+
3210
+ // setup jquery support
3211
+ if (JQUERY) {
3212
+
3213
+ // tools version number
3214
+ jQuery.tools = jQuery.tools || {version: '@VERSION'};
3215
+
3216
+ jQuery.tools.flashembed = {
3217
+ conf: GLOBAL_OPTS
3218
+ };
3219
+
3220
+ jQuery.fn.flashembed = function(opts, conf) {
3221
+ return this.each(function() {
3222
+ $(this).data("flashembed", flashembed(this, opts, conf));
3223
+ });
3224
+ };
3225
+ }
3226
+
3227
+ })();
3228
+
3229
+
3230
+
3231
+ /**
3232
+ * @license
3233
+ * jQuery Tools @VERSION History "Back button for AJAX apps"
3234
+ *
3235
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
3236
+ *
3237
+ * http://flowplayer.org/tools/toolbox/history.html
3238
+ *
3239
+ * Since: Mar 2010
3240
+ * Date: @DATE
3241
+ */
3242
+ (function($) {
3243
+
3244
+ var hash, iframe, links, inited;
3245
+
3246
+ $.tools = $.tools || {version: '@VERSION'};
3247
+
3248
+ $.tools.history = {
3249
+
3250
+ init: function(els) {
3251
+
3252
+ if (inited) { return; }
3253
+
3254
+ // IE
3255
+ if ($.browser.msie && $.browser.version < '8') {
3256
+
3257
+ // create iframe that is constantly checked for hash changes
3258
+ if (!iframe) {
3259
+ iframe = $("<iframe/>").attr("src", "javascript:false;").hide().get(0);
3260
+ $("body").append(iframe);
3261
+
3262
+ setInterval(function() {
3263
+ var idoc = iframe.contentWindow.document,
3264
+ h = idoc.location.hash;
3265
+
3266
+ if (hash !== h) {
3267
+ $.event.trigger("hash", h);
3268
+ }
3269
+ }, 100);
3270
+
3271
+ setIframeLocation(location.hash || '#');
3272
+ }
3273
+
3274
+
3275
+ // other browsers scans for location.hash changes directly without iframe hack
3276
+ } else {
3277
+ setInterval(function() {
3278
+ var h = location.hash;
3279
+ if (h !== hash) {
3280
+ $.event.trigger("hash", h);
3281
+ }
3282
+ }, 100);
3283
+ }
3284
+
3285
+ links = !links ? els : links.add(els);
3286
+
3287
+ els.click(function(e) {
3288
+ var href = $(this).attr("href");
3289
+ if (iframe) { setIframeLocation(href); }
3290
+
3291
+ // handle non-anchor links
3292
+ if (href.slice(0, 1) != "#") {
3293
+ location.href = "#" + href;
3294
+ return e.preventDefault();
3295
+ }
3296
+
3297
+ });
3298
+
3299
+ inited = true;
3300
+ }
3301
+ };
3302
+
3303
+
3304
+ function setIframeLocation(h) {
3305
+ if (h) {
3306
+ var doc = iframe.contentWindow.document;
3307
+ doc.open().close();
3308
+ doc.location.hash = h;
3309
+ }
3310
+ }
3311
+
3312
+ // global histroy change listener
3313
+ $(window).bind("hash", function(e, h) {
3314
+ if (h) {
3315
+ links.filter(function() {
3316
+ var href = $(this).attr("href");
3317
+ return href == h || href == h.replace("#", "");
3318
+ }).trigger("history", [h]);
3319
+ } else {
3320
+ links.eq(0).trigger("history", [h]);
3321
+ }
3322
+
3323
+ hash = h;
3324
+
3325
+ });
3326
+
3327
+
3328
+ // jQuery plugin implementation
3329
+ $.fn.history = function(fn) {
3330
+
3331
+ $.tools.history.init(this);
3332
+
3333
+ // return jQuery
3334
+ return this.bind("history", fn);
3335
+ };
3336
+
3337
+ })(jQuery);
3338
+
3339
+
3340
+
3341
+ /**
3342
+ * @license
3343
+ * jQuery Tools @VERSION Mousewheel
3344
+ *
3345
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
3346
+ *
3347
+ * http://flowplayer.org/tools/toolbox/mousewheel.html
3348
+ *
3349
+ * based on jquery.event.wheel.js ~ rev 1 ~
3350
+ * Copyright (c) 2008, Three Dub Media
3351
+ * http://threedubmedia.com
3352
+ *
3353
+ * Since: Mar 2010
3354
+ * Date: @DATE
3355
+ */
3356
+ (function($) {
3357
+
3358
+ $.fn.mousewheel = function( fn ){
3359
+ return this[ fn ? "bind" : "trigger" ]( "wheel", fn );
3360
+ };
3361
+
3362
+ // special event config
3363
+ $.event.special.wheel = {
3364
+ setup: function() {
3365
+ $.event.add( this, wheelEvents, wheelHandler, {} );
3366
+ },
3367
+ teardown: function(){
3368
+ $.event.remove( this, wheelEvents, wheelHandler );
3369
+ }
3370
+ };
3371
+
3372
+ // events to bind ( browser sniffed... )
3373
+ var wheelEvents = !$.browser.mozilla ? "mousewheel" : // IE, opera, safari
3374
+ "DOMMouseScroll"+( $.browser.version<"1.9" ? " mousemove" : "" ); // firefox
3375
+
3376
+ // shared event handler
3377
+ function wheelHandler( event ) {
3378
+
3379
+ switch ( event.type ) {
3380
+
3381
+ // FF2 has incorrect event positions
3382
+ case "mousemove":
3383
+ return $.extend( event.data, { // store the correct properties
3384
+ clientX: event.clientX, clientY: event.clientY,
3385
+ pageX: event.pageX, pageY: event.pageY
3386
+ });
3387
+
3388
+ // firefox
3389
+ case "DOMMouseScroll":
3390
+ $.extend( event, event.data ); // fix event properties in FF2
3391
+ event.delta = -event.detail / 3; // normalize delta
3392
+ break;
3393
+
3394
+ // IE, opera, safari
3395
+ case "mousewheel":
3396
+ event.delta = event.wheelDelta / 120;
3397
+ break;
3398
+ }
3399
+
3400
+ event.type = "wheel"; // hijack the event
3401
+ return $.event.handle.call( this, event, event.delta );
3402
+ }
3403
+
3404
+ })(jQuery);
3405
+
3406
+
3407
+
3408
+ /**
3409
+ * @license
3410
+ * jQuery Tools @VERSION Tooltip - UI essentials
3411
+ *
3412
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
3413
+ *
3414
+ * http://flowplayer.org/tools/tooltip/
3415
+ *
3416
+ * Since: November 2008
3417
+ * Date: @DATE
3418
+ */
3419
+ (function($) {
3420
+ // static constructs
3421
+ $.tools = $.tools || {version: '@VERSION'};
3422
+
3423
+ $.tools.tooltip = {
3424
+
3425
+ conf: {
3426
+
3427
+ // default effect variables
3428
+ effect: 'toggle',
3429
+ fadeOutSpeed: "fast",
3430
+ predelay: 0,
3431
+ delay: 30,
3432
+ opacity: 1,
3433
+ tip: 0,
3434
+
3435
+ // 'top', 'bottom', 'right', 'left', 'center'
3436
+ position: ['top', 'center'],
3437
+ offset: [0, 0],
3438
+ relative: false,
3439
+ cancelDefault: true,
3440
+
3441
+ // type to event mapping
3442
+ events: {
3443
+ def: "mouseenter,mouseleave",
3444
+ input: "focus,blur",
3445
+ widget: "focus mouseenter,blur mouseleave",
3446
+ tooltip: "mouseenter,mouseleave"
3447
+ },
3448
+
3449
+ // 1.2
3450
+ layout: '<div/>',
3451
+ tipClass: 'tooltip'
3452
+ },
3453
+
3454
+ addEffect: function(name, loadFn, hideFn) {
3455
+ effects[name] = [loadFn, hideFn];
3456
+ }
3457
+ };
3458
+
3459
+
3460
+ var effects = {
3461
+ toggle: [
3462
+ function(done) {
3463
+ var conf = this.getConf(), tip = this.getTip(), o = conf.opacity;
3464
+ if (o < 1) { tip.css({opacity: o}); }
3465
+ tip.show();
3466
+ done.call();
3467
+ },
3468
+
3469
+ function(done) {
3470
+ this.getTip().hide();
3471
+ done.call();
3472
+ }
3473
+ ],
3474
+
3475
+ fade: [
3476
+ function(done) {
3477
+ var conf = this.getConf();
3478
+ this.getTip().fadeTo(conf.fadeInSpeed, conf.opacity, done);
3479
+ },
3480
+ function(done) {
3481
+ this.getTip().fadeOut(this.getConf().fadeOutSpeed, done);
3482
+ }
3483
+ ]
3484
+ };
3485
+
3486
+
3487
+ /* calculate tip position relative to the trigger */
3488
+ function getPosition(trigger, tip, conf) {
3489
+
3490
+
3491
+ // get origin top/left position
3492
+ var top = conf.relative ? trigger.position().top : trigger.offset().top,
3493
+ left = conf.relative ? trigger.position().left : trigger.offset().left,
3494
+ pos = conf.position[0];
3495
+
3496
+ top -= tip.outerHeight() - conf.offset[0];
3497
+ left += trigger.outerWidth() + conf.offset[1];
3498
+
3499
+ // iPad position fix
3500
+ if (/iPad/i.test(navigator.userAgent)) {
3501
+ top -= $(window).scrollTop();
3502
+ }
3503
+
3504
+ // adjust Y
3505
+ var height = tip.outerHeight() + trigger.outerHeight();
3506
+ if (pos == 'center') { top += height / 2; }
3507
+ if (pos == 'bottom') { top += height; }
3508
+
3509
+
3510
+ // adjust X
3511
+ pos = conf.position[1];
3512
+ var width = tip.outerWidth() + trigger.outerWidth();
3513
+ if (pos == 'center') { left -= width / 2; }
3514
+ if (pos == 'left') { left -= width; }
3515
+
3516
+ return {top: top, left: left};
3517
+ }
3518
+
3519
+
3520
+
3521
+ function Tooltip(trigger, conf) {
3522
+
3523
+ var self = this,
3524
+ fire = trigger.add(self),
3525
+ tip,
3526
+ timer = 0,
3527
+ pretimer = 0,
3528
+ title = trigger.attr("title"),
3529
+ tipAttr = trigger.attr("data-tooltip"),
3530
+ effect = effects[conf.effect],
3531
+ shown,
3532
+
3533
+ // get show/hide configuration
3534
+ isInput = trigger.is(":input"),
3535
+ isWidget = isInput && trigger.is(":checkbox, :radio, select, :button, :submit"),
3536
+ type = trigger.attr("type"),
3537
+ evt = conf.events[type] || conf.events[isInput ? (isWidget ? 'widget' : 'input') : 'def'];
3538
+
3539
+
3540
+ // check that configuration is sane
3541
+ if (!effect) { throw "Nonexistent effect \"" + conf.effect + "\""; }
3542
+
3543
+ evt = evt.split(/,\s*/);
3544
+ if (evt.length != 2) { throw "Tooltip: bad events configuration for " + type; }
3545
+
3546
+
3547
+ // trigger --> show
3548
+ trigger.bind(evt[0], function(e) {
3549
+
3550
+ clearTimeout(timer);
3551
+ if (conf.predelay) {
3552
+ pretimer = setTimeout(function() { self.show(e); }, conf.predelay);
3553
+
3554
+ } else {
3555
+ self.show(e);
3556
+ }
3557
+
3558
+ // trigger --> hide
3559
+ }).bind(evt[1], function(e) {
3560
+ clearTimeout(pretimer);
3561
+ if (conf.delay) {
3562
+ timer = setTimeout(function() { self.hide(e); }, conf.delay);
3563
+
3564
+ } else {
3565
+ self.hide(e);
3566
+ }
3567
+
3568
+ });
3569
+
3570
+
3571
+ // remove default title
3572
+ if (title && conf.cancelDefault) {
3573
+ trigger.removeAttr("title");
3574
+ trigger.data("title", title);
3575
+ }
3576
+
3577
+ $.extend(self, {
3578
+
3579
+ show: function(e) {
3580
+
3581
+ // tip not initialized yet
3582
+ if (!tip) {
3583
+
3584
+ // data-tooltip
3585
+ if (tipAttr) {
3586
+ tip = $(tipAttr);
3587
+
3588
+ // single tip element for all
3589
+ } else if (conf.tip) {
3590
+ tip = $(conf.tip).eq(0);
3591
+
3592
+ // autogenerated tooltip
3593
+ } else if (title) {
3594
+ tip = $(conf.layout).addClass(conf.tipClass).appendTo(document.body)
3595
+ .hide().append(title);
3596
+
3597
+ // manual tooltip
3598
+ } else {
3599
+ tip = trigger.next();
3600
+ if (!tip.length) { tip = trigger.parent().next(); }
3601
+ }
3602
+
3603
+ if (!tip.length) { throw "Cannot find tooltip for " + trigger; }
3604
+ }
3605
+
3606
+ if (self.isShown()) { return self; }
3607
+
3608
+ // stop previous animation
3609
+ tip.stop(true, true);
3610
+
3611
+ // get position
3612
+ var pos = getPosition(trigger, tip, conf);
3613
+
3614
+ // restore title for single tooltip element
3615
+ if (conf.tip) {
3616
+ tip.html(trigger.data("title"));
3617
+ }
3618
+
3619
+ // onBeforeShow
3620
+ e = e || $.Event();
3621
+ e.type = "onBeforeShow";
3622
+ fire.trigger(e, [pos]);
3623
+ if (e.isDefaultPrevented()) { return self; }
3624
+
3625
+
3626
+ // onBeforeShow may have altered the configuration
3627
+ pos = getPosition(trigger, tip, conf);
3628
+
3629
+ // set position
3630
+ tip.css({position:'absolute', top: pos.top, left: pos.left});
3631
+
3632
+ shown = true;
3633
+
3634
+ // invoke effect
3635
+ effect[0].call(self, function() {
3636
+ e.type = "onShow";
3637
+ shown = 'full';
3638
+ fire.trigger(e);
3639
+ });
3640
+
3641
+
3642
+ // tooltip events
3643
+ var event = conf.events.tooltip.split(/,\s*/);
3644
+
3645
+ if (!tip.data("__set")) {
3646
+
3647
+ tip.bind(event[0], function() {
3648
+ clearTimeout(timer);
3649
+ clearTimeout(pretimer);
3650
+ });
3651
+
3652
+ if (event[1] && !trigger.is("input:not(:checkbox, :radio), textarea")) {
3653
+ tip.bind(event[1], function(e) {
3654
+
3655
+ // being moved to the trigger element
3656
+ if (e.relatedTarget != trigger[0]) {
3657
+ trigger.trigger(evt[1].split(" ")[0]);
3658
+ }
3659
+ });
3660
+ }
3661
+
3662
+ tip.data("__set", true);
3663
+ }
3664
+
3665
+ return self;
3666
+ },
3667
+
3668
+ hide: function(e) {
3669
+
3670
+ if (!tip || !self.isShown()) { return self; }
3671
+
3672
+ // onBeforeHide
3673
+ e = e || $.Event();
3674
+ e.type = "onBeforeHide";
3675
+ fire.trigger(e);
3676
+ if (e.isDefaultPrevented()) { return; }
3677
+
3678
+ shown = false;
3679
+
3680
+ effects[conf.effect][1].call(self, function() {
3681
+ e.type = "onHide";
3682
+ fire.trigger(e);
3683
+ });
3684
+
3685
+ return self;
3686
+ },
3687
+
3688
+ isShown: function(fully) {
3689
+ return fully ? shown == 'full' : shown;
3690
+ },
3691
+
3692
+ getConf: function() {
3693
+ return conf;
3694
+ },
3695
+
3696
+ getTip: function() {
3697
+ return tip;
3698
+ },
3699
+
3700
+ getTrigger: function() {
3701
+ return trigger;
3702
+ }
3703
+
3704
+ });
3705
+
3706
+ // callbacks
3707
+ $.each("onHide,onBeforeShow,onShow,onBeforeHide".split(","), function(i, name) {
3708
+
3709
+ // configuration
3710
+ if ($.isFunction(conf[name])) {
3711
+ $(self).bind(name, conf[name]);
3712
+ }
3713
+
3714
+ // API
3715
+ self[name] = function(fn) {
3716
+ if (fn) { $(self).bind(name, fn); }
3717
+ return self;
3718
+ };
3719
+ });
3720
+
3721
+ }
3722
+
3723
+
3724
+ // jQuery plugin implementation
3725
+ $.fn.tooltip = function(conf) {
3726
+
3727
+ // return existing instance
3728
+ var api = this.data("tooltip");
3729
+ if (api) { return api; }
3730
+
3731
+ conf = $.extend(true, {}, $.tools.tooltip.conf, conf);
3732
+
3733
+ // position can also be given as string
3734
+ if (typeof conf.position == 'string') {
3735
+ conf.position = conf.position.split(/,?\s/);
3736
+ }
3737
+
3738
+ // install tooltip for each entry in jQuery object
3739
+ this.each(function() {
3740
+ api = new Tooltip($(this), conf);
3741
+ $(this).data("tooltip", api);
3742
+ });
3743
+
3744
+ return conf.api ? api: this;
3745
+ };
3746
+
3747
+ }) (jQuery);
3748
+
3749
+
3750
+
3751
+
3752
+
3753
+ /**
3754
+ * @license
3755
+ * jQuery Tools @VERSION / Tooltip Dynamic Positioning
3756
+ *
3757
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
3758
+ *
3759
+ * http://flowplayer.org/tools/tooltip/dynamic.html
3760
+ *
3761
+ * Since: July 2009
3762
+ * Date: @DATE
3763
+ */
3764
+ (function($) {
3765
+
3766
+ // version number
3767
+ var t = $.tools.tooltip;
3768
+
3769
+ t.dynamic = {
3770
+ conf: {
3771
+ classNames: "top right bottom left"
3772
+ }
3773
+ };
3774
+
3775
+ /*
3776
+ * See if element is on the viewport. Returns an boolean array specifying which
3777
+ * edges are hidden. Edges are in following order:
3778
+ *
3779
+ * [top, right, bottom, left]
3780
+ *
3781
+ * For example following return value means that top and right edges are hidden
3782
+ *
3783
+ * [true, true, false, false]
3784
+ *
3785
+ */
3786
+ function getCropping(el) {
3787
+
3788
+ var w = $(window);
3789
+ var right = w.width() + w.scrollLeft();
3790
+ var bottom = w.height() + w.scrollTop();
3791
+
3792
+ return [
3793
+ el.offset().top <= w.scrollTop(), // top
3794
+ right <= el.offset().left + el.width(), // right
3795
+ bottom <= el.offset().top + el.height(), // bottom
3796
+ w.scrollLeft() >= el.offset().left // left
3797
+ ];
3798
+ }
3799
+
3800
+ /*
3801
+ Returns true if all edges of an element are on viewport. false if not
3802
+
3803
+ @param crop the cropping array returned by getCropping function
3804
+ */
3805
+ function isVisible(crop) {
3806
+ var i = crop.length;
3807
+ while (i--) {
3808
+ if (crop[i]) { return false; }
3809
+ }
3810
+ return true;
3811
+ }
3812
+
3813
+ // dynamic plugin
3814
+ $.fn.dynamic = function(conf) {
3815
+
3816
+ if (typeof conf == 'number') { conf = {speed: conf}; }
3817
+
3818
+ conf = $.extend({}, t.dynamic.conf, conf);
3819
+
3820
+ var cls = conf.classNames.split(/\s/), orig;
3821
+
3822
+ this.each(function() {
3823
+
3824
+ var api = $(this).tooltip().onBeforeShow(function(e, pos) {
3825
+
3826
+ // get nessessary variables
3827
+ var tip = this.getTip(), tipConf = this.getConf();
3828
+
3829
+ /*
3830
+ We store the original configuration and use it to restore back to the original state.
3831
+ */
3832
+ if (!orig) {
3833
+ orig = [
3834
+ tipConf.position[0],
3835
+ tipConf.position[1],
3836
+ tipConf.offset[0],
3837
+ tipConf.offset[1],
3838
+ $.extend({}, tipConf)
3839
+ ];
3840
+ }
3841
+
3842
+ /*
3843
+ display tip in it's default position and by setting visibility to hidden.
3844
+ this way we can check whether it will be on the viewport
3845
+ */
3846
+ $.extend(tipConf, orig[4]);
3847
+ tipConf.position = [orig[0], orig[1]];
3848
+ tipConf.offset = [orig[2], orig[3]];
3849
+
3850
+ tip.css({
3851
+ visibility: 'hidden',
3852
+ position: 'absolute',
3853
+ top: pos.top,
3854
+ left: pos.left
3855
+ }).show();
3856
+
3857
+ // now let's see for hidden edges
3858
+ var crop = getCropping(tip);
3859
+
3860
+ // possibly alter the configuration
3861
+ if (!isVisible(crop)) {
3862
+
3863
+ // change the position and add class
3864
+ if (crop[2]) { $.extend(tipConf, conf.top); tipConf.position[0] = 'top'; tip.addClass(cls[0]); }
3865
+ if (crop[3]) { $.extend(tipConf, conf.right); tipConf.position[1] = 'right'; tip.addClass(cls[1]); }
3866
+ if (crop[0]) { $.extend(tipConf, conf.bottom); tipConf.position[0] = 'bottom'; tip.addClass(cls[2]); }
3867
+ if (crop[1]) { $.extend(tipConf, conf.left); tipConf.position[1] = 'left'; tip.addClass(cls[3]); }
3868
+
3869
+ // vertical offset
3870
+ if (crop[0] || crop[2]) { tipConf.offset[0] *= -1; }
3871
+
3872
+ // horizontal offset
3873
+ if (crop[1] || crop[3]) { tipConf.offset[1] *= -1; }
3874
+ }
3875
+
3876
+ tip.css({visibility: 'visible'}).hide();
3877
+
3878
+ });
3879
+
3880
+ // restore positioning as soon as possible
3881
+ api.onBeforeShow(function() {
3882
+ var c = this.getConf(), tip = this.getTip();
3883
+ setTimeout(function() {
3884
+ c.position = [orig[0], orig[1]];
3885
+ c.offset = [orig[2], orig[3]];
3886
+ }, 0);
3887
+ });
3888
+
3889
+ // remove custom class names and restore original effect
3890
+ api.onHide(function() {
3891
+ var tip = this.getTip();
3892
+ tip.removeClass(conf.classNames);
3893
+ });
3894
+
3895
+ ret = api;
3896
+
3897
+ });
3898
+
3899
+ return conf.api ? ret : this;
3900
+ };
3901
+
3902
+ }) (jQuery);
3903
+
3904
+
3905
+ /**
3906
+ * @license
3907
+ * jQuery Tools @VERSION / Tooltip Slide Effect
3908
+ *
3909
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
3910
+ *
3911
+ * http://flowplayer.org/tools/tooltip/slide.html
3912
+ *
3913
+ * Since: September 2009
3914
+ * Date: @DATE
3915
+ */
3916
+ (function($) {
3917
+
3918
+ // version number
3919
+ var t = $.tools.tooltip;
3920
+
3921
+ // extend global configuragion with effect specific defaults
3922
+ $.extend(t.conf, {
3923
+ direction: 'up', // down, left, right
3924
+ bounce: false,
3925
+ slideOffset: 10,
3926
+ slideInSpeed: 200,
3927
+ slideOutSpeed: 200,
3928
+ slideFade: !$.browser.msie
3929
+ });
3930
+
3931
+ // directions for slide effect
3932
+ var dirs = {
3933
+ up: ['-', 'top'],
3934
+ down: ['+', 'top'],
3935
+ left: ['-', 'left'],
3936
+ right: ['+', 'left']
3937
+ };
3938
+
3939
+ /* default effect: "slide" */
3940
+ t.addEffect("slide",
3941
+
3942
+ // show effect
3943
+ function(done) {
3944
+
3945
+ // variables
3946
+ var conf = this.getConf(),
3947
+ tip = this.getTip(),
3948
+ params = conf.slideFade ? {opacity: conf.opacity} : {},
3949
+ dir = dirs[conf.direction] || dirs.up;
3950
+
3951
+ // direction
3952
+ params[dir[1]] = dir[0] +'='+ conf.slideOffset;
3953
+
3954
+ // perform animation
3955
+ if (conf.slideFade) { tip.css({opacity:0}); }
3956
+ tip.show().animate(params, conf.slideInSpeed, done);
3957
+ },
3958
+
3959
+ // hide effect
3960
+ function(done) {
3961
+
3962
+ // variables
3963
+ var conf = this.getConf(),
3964
+ offset = conf.slideOffset,
3965
+ params = conf.slideFade ? {opacity: 0} : {},
3966
+ dir = dirs[conf.direction] || dirs.up;
3967
+
3968
+ // direction
3969
+ var sign = "" + dir[0];
3970
+ if (conf.bounce) { sign = sign == '+' ? '-' : '+'; }
3971
+ params[dir[1]] = sign +'='+ offset;
3972
+
3973
+ // perform animation
3974
+ this.getTip().animate(params, conf.slideOutSpeed, function() {
3975
+ $(this).hide();
3976
+ done.call();
3977
+ });
3978
+ }
3979
+ );
3980
+
3981
+ })(jQuery);
3982
+
3983
+
3984
+
3985
+ /**
3986
+ * @license
3987
+ * jQuery Tools Validator @VERSION - HTML5 is here. Now use it.
3988
+ *
3989
+ * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
3990
+ *
3991
+ * http://flowplayer.org/tools/form/validator/
3992
+ *
3993
+ * Since: Mar 2010
3994
+ * Date: @DATE
3995
+ */
3996
+ /*jslint evil: true */
3997
+ (function($) {
3998
+
3999
+ $.tools = $.tools || {version: '@VERSION'};
4000
+
4001
+ // globals
4002
+ var typeRe = /\[type=([a-z]+)\]/,
4003
+ numRe = /^-?[0-9]*(\.[0-9]+)?$/,
4004
+ dateInput = $.tools.dateinput,
4005
+
4006
+ // http://net.tutsplus.com/tutorials/other/8-regular-expressions-you-should-know/
4007
+ emailRe = /^([a-z0-9_\.\-\+]+)@([\da-z\.\-]+)\.([a-z\.]{2,6})$/i,
4008
+ urlRe = /^(https?:\/\/)?[\da-z\.\-]+\.[a-z\.]{2,6}[#&+_\?\/\w \.\-=]*$/i,
4009
+ v;
4010
+
4011
+ v = $.tools.validator = {
4012
+
4013
+ conf: {
4014
+ grouped: false, // show all error messages at once inside the container
4015
+ effect: 'default', // show/hide effect for error message. only 'default' is built-in
4016
+ errorClass: 'invalid', // input field class name in case of validation error
4017
+
4018
+ // when to check for validity?
4019
+ inputEvent: null, // change, blur, keyup, null
4020
+ errorInputEvent: 'keyup', // change, blur, keyup, null
4021
+ formEvent: 'submit', // submit, null
4022
+
4023
+ lang: 'en', // default language for error messages
4024
+ message: '<div/>',
4025
+ messageAttr: 'data-message', // name of the attribute for overridden error message
4026
+ messageClass: 'error', // error message element's class name
4027
+ offset: [0, 0],
4028
+ position: 'center right',
4029
+ singleError: false, // validate all inputs at once
4030
+ speed: 'normal' // message's fade-in speed
4031
+ },
4032
+
4033
+
4034
+ /* The Error Messages */
4035
+ messages: {
4036
+ "*": { en: "Please correct this value" }
4037
+ },
4038
+
4039
+ localize: function(lang, messages) {
4040
+ $.each(messages, function(key, msg) {
4041
+ v.messages[key] = v.messages[key] || {};
4042
+ v.messages[key][lang] = msg;
4043
+ });
4044
+ },
4045
+
4046
+ localizeFn: function(key, messages) {
4047
+ v.messages[key] = v.messages[key] || {};
4048
+ $.extend(v.messages[key], messages);
4049
+ },
4050
+
4051
+ /**
4052
+ * Adds a new validator
4053
+ */
4054
+ fn: function(matcher, msg, fn) {
4055
+
4056
+ // no message supplied
4057
+ if ($.isFunction(msg)) {
4058
+ fn = msg;
4059
+
4060
+ // message(s) on second argument
4061
+ } else {
4062
+ if (typeof msg == 'string') { msg = {en: msg}; }
4063
+ this.messages[matcher.key || matcher] = msg;
4064
+ }
4065
+
4066
+ // check for "[type=xxx]" (not supported by jQuery)
4067
+ var test = typeRe.exec(matcher);
4068
+ if (test) { matcher = isType(test[1]); }
4069
+
4070
+ // add validator to the arsenal
4071
+ fns.push([matcher, fn]);
4072
+ },
4073
+
4074
+ /* Add new show/hide effect */
4075
+ addEffect: function(name, showFn, closeFn) {
4076
+ effects[name] = [showFn, closeFn];
4077
+ }
4078
+
4079
+ };
4080
+
4081
+ /* calculate error message position relative to the input */
4082
+ function getPosition(trigger, el, conf) {
4083
+
4084
+ // get origin top/left position
4085
+ var top = trigger.offset().top,
4086
+ left = trigger.offset().left,
4087
+ pos = conf.position.split(/,?\s+/),
4088
+ y = pos[0],
4089
+ x = pos[1];
4090
+
4091
+ top -= el.outerHeight() - conf.offset[0];
4092
+ left += trigger.outerWidth() + conf.offset[1];
4093
+
4094
+
4095
+ // iPad position fix
4096
+ if (/iPad/i.test(navigator.userAgent)) {
4097
+ top -= $(window).scrollTop();
4098
+ }
4099
+
4100
+ // adjust Y
4101
+ var height = el.outerHeight() + trigger.outerHeight();
4102
+ if (y == 'center') { top += height / 2; }
4103
+ if (y == 'bottom') { top += height; }
4104
+
4105
+ // adjust X
4106
+ var width = trigger.outerWidth();
4107
+ if (x == 'center') { left -= (width + el.outerWidth()) / 2; }
4108
+ if (x == 'left') { left -= width; }
4109
+
4110
+ return {top: top, left: left};
4111
+ }
4112
+
4113
+
4114
+
4115
+ // $.is("[type=xxx]") or $.filter("[type=xxx]") not working in jQuery 1.3.2 or 1.4.2
4116
+ function isType(type) {
4117
+ function fn() {
4118
+ return this.getAttribute("type") == type;
4119
+ }
4120
+ fn.key = "[type=" + type + "]";
4121
+ return fn;
4122
+ }
4123
+
4124
+
4125
+ var fns = [], effects = {
4126
+
4127
+ 'default' : [
4128
+
4129
+ // show errors function
4130
+ function(errs) {
4131
+
4132
+ var conf = this.getConf();
4133
+
4134
+ // loop errors
4135
+ $.each(errs, function(i, err) {
4136
+
4137
+ // add error class
4138
+ var input = err.input;
4139
+ input.addClass(conf.errorClass);
4140
+
4141
+ // get handle to the error container
4142
+ var msg = input.data("msg.el");
4143
+
4144
+ // create it if not present
4145
+ if (!msg) {
4146
+ msg = $(conf.message).addClass(conf.messageClass).appendTo(document.body);
4147
+ input.data("msg.el", msg);
4148
+ }
4149
+
4150
+ // clear the container
4151
+ msg.css({visibility: 'hidden'}).find("p").remove();
4152
+
4153
+ // populate messages
4154
+ $.each(err.messages, function(i, m) {
4155
+ $("<p/>").html(m).appendTo(msg);
4156
+ });
4157
+
4158
+ // make sure the width is not full body width so it can be positioned correctly
4159
+ if (msg.outerWidth() == msg.parent().width()) {
4160
+ msg.add(msg.find("p")).css({display: 'inline'});
4161
+ }
4162
+
4163
+ // insert into correct position (relative to the field)
4164
+ var pos = getPosition(input, msg, conf);
4165
+
4166
+ msg.css({ visibility: 'visible', position: 'absolute', top: pos.top, left: pos.left })
4167
+ .fadeIn(conf.speed);
4168
+ });
4169
+
4170
+
4171
+ // hide errors function
4172
+ }, function(inputs) {
4173
+
4174
+ var conf = this.getConf();
4175
+ inputs.removeClass(conf.errorClass).each(function() {
4176
+ var msg = $(this).data("msg.el");
4177
+ if (msg) { msg.css({visibility: 'hidden'}); }
4178
+ });
4179
+ }
4180
+ ]
4181
+ };
4182
+
4183
+
4184
+ /* sperial selectors */
4185
+ $.each("email,url,number".split(","), function(i, key) {
4186
+ $.expr[':'][key] = function(el) {
4187
+ return el.getAttribute("type") === key;
4188
+ };
4189
+ });
4190
+
4191
+
4192
+ /*
4193
+ oninvalid() jQuery plugin.
4194
+ Usage: $("input:eq(2)").oninvalid(function() { ... });
4195
+ */
4196
+ $.fn.oninvalid = function( fn ){
4197
+ return this[fn ? "bind" : "trigger"]("OI", fn);
4198
+ };
4199
+
4200
+
4201
+ /******* built-in HTML5 standard validators *********/
4202
+
4203
+ v.fn(":email", "Please enter a valid email address", function(el, v) {
4204
+ return !v || emailRe.test(v);
4205
+ });
4206
+
4207
+ v.fn(":url", "Please enter a valid URL", function(el, v) {
4208
+ return !v || urlRe.test(v);
4209
+ });
4210
+
4211
+ v.fn(":number", "Please enter a numeric value.", function(el, v) {
4212
+ return numRe.test(v);
4213
+ });
4214
+
4215
+ v.fn("[max]", "Please enter a value smaller than $1", function(el, v) {
4216
+
4217
+ // skip empty values and dateinputs
4218
+ if (v === '' || dateInput && el.is(":date")) { return true; }
4219
+
4220
+ var max = el.attr("max");
4221
+ return parseFloat(v) <= parseFloat(max) ? true : [max];
4222
+ });
4223
+
4224
+ v.fn("[min]", "Please enter a value larger than $1", function(el, v) {
4225
+
4226
+ // skip empty values and dateinputs
4227
+ if (v === '' || dateInput && el.is(":date")) { return true; }
4228
+
4229
+ var min = el.attr("min");
4230
+ return parseFloat(v) >= parseFloat(min) ? true : [min];
4231
+ });
4232
+
4233
+ v.fn("[required]", "Please complete this mandatory field.", function(el, v) {
4234
+ if (el.is(":checkbox")) { return el.is(":checked"); }
4235
+ return !!v;
4236
+ });
4237
+
4238
+ v.fn("[pattern]", function(el) {
4239
+ var p = new RegExp("^" + el.attr("pattern") + "$");
4240
+ return p.test(el.val());
4241
+ });
4242
+
4243
+
4244
+ function Validator(inputs, form, conf) {
4245
+
4246
+ // private variables
4247
+ var self = this,
4248
+ fire = form.add(self);
4249
+
4250
+ // make sure there are input fields available
4251
+ inputs = inputs.not(":button, :image, :reset, :submit");
4252
+
4253
+ // utility function
4254
+ function pushMessage(to, matcher, returnValue) {
4255
+
4256
+ // only one message allowed
4257
+ if (!conf.grouped && to.length) { return; }
4258
+
4259
+ // the error message
4260
+ var msg;
4261
+
4262
+ // substitutions are returned
4263
+ if (returnValue === false || $.isArray(returnValue)) {
4264
+ msg = v.messages[matcher.key || matcher] || v.messages["*"];
4265
+ msg = msg[conf.lang] || v.messages["*"].en;
4266
+
4267
+ // substitution
4268
+ var matches = msg.match(/\$\d/g);
4269
+
4270
+ if (matches && $.isArray(returnValue)) {
4271
+ $.each(matches, function(i) {
4272
+ msg = msg.replace(this, returnValue[i]);
4273
+ });
4274
+ }
4275
+
4276
+ // error message is returned directly
4277
+ } else {
4278
+ msg = returnValue[conf.lang] || returnValue;
4279
+ }
4280
+
4281
+ to.push(msg);
4282
+ }
4283
+
4284
+
4285
+ // API methods
4286
+ $.extend(self, {
4287
+
4288
+ getConf: function() {
4289
+ return conf;
4290
+ },
4291
+
4292
+ getForm: function() {
4293
+ return form;
4294
+ },
4295
+
4296
+ getInputs: function() {
4297
+ return inputs;
4298
+ },
4299
+
4300
+ reflow: function() {
4301
+ inputs.each(function() {
4302
+ var input = $(this),
4303
+ msg = input.data("msg.el");
4304
+
4305
+ if (msg) {
4306
+ var pos = getPosition(input, msg, conf);
4307
+ msg.css({ top: pos.top, left: pos.left });
4308
+ }
4309
+ });
4310
+ return self;
4311
+ },
4312
+
4313
+ /* @param e - for internal use only */
4314
+ invalidate: function(errs, e) {
4315
+
4316
+ // errors are given manually: { fieldName1: 'message1', fieldName2: 'message2' }
4317
+ if (!e) {
4318
+ var errors = [];
4319
+ $.each(errs, function(key, val) {
4320
+ var input = inputs.filter("[name='" + key + "']");
4321
+ if (input.length) {
4322
+
4323
+ // trigger HTML5 ininvalid event
4324
+ input.trigger("OI", [val]);
4325
+
4326
+ errors.push({ input: input, messages: [val]});
4327
+ }
4328
+ });
4329
+
4330
+ errs = errors;
4331
+ e = $.Event();
4332
+ }
4333
+
4334
+ // onFail callback
4335
+ e.type = "onFail";
4336
+ fire.trigger(e, [errs]);
4337
+
4338
+ // call the effect
4339
+ if (!e.isDefaultPrevented()) {
4340
+ effects[conf.effect][0].call(self, errs, e);
4341
+ }
4342
+
4343
+ return self;
4344
+ },
4345
+
4346
+ reset: function(els) {
4347
+ els = els || inputs;
4348
+ els.removeClass(conf.errorClass).each(function() {
4349
+ var msg = $(this).data("msg.el");
4350
+ if (msg) {
4351
+ msg.remove();
4352
+ $(this).data("msg.el", null);
4353
+ }
4354
+ }).unbind(conf.errorInputEvent || '');
4355
+ return self;
4356
+ },
4357
+
4358
+ destroy: function() {
4359
+ form.unbind(conf.formEvent + ".V").unbind("reset.V");
4360
+ inputs.unbind(conf.inputEvent + ".V").unbind("change.V");
4361
+ return self.reset();
4362
+ },
4363
+
4364
+
4365
+ //{{{ checkValidity() - flesh and bone of this tool
4366
+
4367
+ /* @returns boolean */
4368
+ checkValidity: function(els, e) {
4369
+
4370
+ els = els || inputs;
4371
+ els = els.not(":disabled");
4372
+ if (!els.length) { return true; }
4373
+
4374
+ e = e || $.Event();
4375
+
4376
+ // onBeforeValidate
4377
+ e.type = "onBeforeValidate";
4378
+ fire.trigger(e, [els]);
4379
+ if (e.isDefaultPrevented()) { return e.result; }
4380
+
4381
+ // container for errors
4382
+ var errs = [];
4383
+
4384
+ // loop trough the inputs
4385
+ els.not(":radio:not(:checked)").each(function() {
4386
+
4387
+ // field and it's error message container
4388
+ var msgs = [],
4389
+ el = $(this).data("messages", msgs),
4390
+ event = dateInput && el.is(":date") ? "onHide.v" : conf.errorInputEvent + ".v";
4391
+
4392
+ // cleanup previous validation event
4393
+ el.unbind(event);
4394
+
4395
+
4396
+ // loop all validator functions
4397
+ $.each(fns, function() {
4398
+ var fn = this, match = fn[0];
4399
+
4400
+ // match found
4401
+ if (el.filter(match).length) {
4402
+
4403
+ // execute a validator function
4404
+ var returnValue = fn[1].call(self, el, el.val());
4405
+
4406
+
4407
+ // validation failed. multiple substitutions can be returned with an array
4408
+ if (returnValue !== true) {
4409
+
4410
+ // onBeforeFail
4411
+ e.type = "onBeforeFail";
4412
+ fire.trigger(e, [el, match]);
4413
+ if (e.isDefaultPrevented()) { return false; }
4414
+
4415
+ // overridden custom message
4416
+ var msg = el.attr(conf.messageAttr);
4417
+ if (msg) {
4418
+ msgs = [msg];
4419
+ return false;
4420
+ } else {
4421
+ pushMessage(msgs, match, returnValue);
4422
+ }
4423
+ }
4424
+ }
4425
+ });
4426
+
4427
+ if (msgs.length) {
4428
+
4429
+ errs.push({input: el, messages: msgs});
4430
+
4431
+ // trigger HTML5 ininvalid event
4432
+ el.trigger("OI", [msgs]);
4433
+
4434
+ // begin validating upon error event type (such as keyup)
4435
+ if (conf.errorInputEvent) {
4436
+ el.bind(event, function(e) {
4437
+ self.checkValidity(el, e);
4438
+ });
4439
+ }
4440
+ }
4441
+
4442
+ if (conf.singleError && errs.length) { return false; }
4443
+
4444
+ });
4445
+
4446
+
4447
+ // validation done. now check that we have a proper effect at hand
4448
+ var eff = effects[conf.effect];
4449
+ if (!eff) { throw "Validator: cannot find effect \"" + conf.effect + "\""; }
4450
+
4451
+ // errors found
4452
+ if (errs.length) {
4453
+ self.invalidate(errs, e);
4454
+ return false;
4455
+
4456
+ // no errors
4457
+ } else {
4458
+
4459
+ // call the effect
4460
+ eff[1].call(self, els, e);
4461
+
4462
+ // onSuccess callback
4463
+ e.type = "onSuccess";
4464
+ fire.trigger(e, [els]);
4465
+
4466
+ els.unbind(conf.errorInputEvent + ".v");
4467
+ }
4468
+
4469
+ return true;
4470
+ }
4471
+ //}}}
4472
+
4473
+ });
4474
+
4475
+ // callbacks
4476
+ $.each("onBeforeValidate,onBeforeFail,onFail,onSuccess".split(","), function(i, name) {
4477
+
4478
+ // configuration
4479
+ if ($.isFunction(conf[name])) {
4480
+ $(self).bind(name, conf[name]);
4481
+ }
4482
+
4483
+ // API methods
4484
+ self[name] = function(fn) {
4485
+ if (fn) { $(self).bind(name, fn); }
4486
+ return self;
4487
+ };
4488
+ });
4489
+
4490
+
4491
+ // form validation
4492
+ if (conf.formEvent) {
4493
+ form.bind(conf.formEvent + ".V", function(e) {
4494
+ if (!self.checkValidity(null, e)) {
4495
+ return e.preventDefault();
4496
+ }
4497
+ });
4498
+ }
4499
+
4500
+ // form reset
4501
+ form.bind("reset.V", function() {
4502
+ self.reset();
4503
+ });
4504
+
4505
+ // disable browser's default validation mechanism
4506
+ if (inputs[0] && inputs[0].validity) {
4507
+ inputs.each(function() {
4508
+ this.oninvalid = function() {
4509
+ return false;
4510
+ };
4511
+ });
4512
+ }
4513
+
4514
+ // Web Forms 2.0 compatibility
4515
+ if (form[0]) {
4516
+ form[0].checkValidity = self.checkValidity;
4517
+ }
4518
+
4519
+ // input validation
4520
+ if (conf.inputEvent) {
4521
+ inputs.bind(conf.inputEvent + ".V", function(e) {
4522
+ self.checkValidity($(this), e);
4523
+ });
4524
+ }
4525
+
4526
+ // checkboxes, selects and radios are checked separately
4527
+ inputs.filter(":checkbox, select").filter("[required]").bind("change.V", function(e) {
4528
+ var el = $(this);
4529
+ if (this.checked || (el.is("select") && $(this).val())) {
4530
+ effects[conf.effect][1].call(self, el, e);
4531
+ }
4532
+ });
4533
+
4534
+ var radios = inputs.filter(":radio").change(function(e) {
4535
+ self.checkValidity(radios, e);
4536
+ });
4537
+
4538
+ // reposition tooltips when window is resized
4539
+ $(window).resize(function() {
4540
+ self.reflow();
4541
+ });
4542
+ }
4543
+
4544
+
4545
+ // jQuery plugin initialization
4546
+ $.fn.validator = function(conf) {
4547
+
4548
+ var instance = this.data("validator");
4549
+
4550
+ // destroy existing instance
4551
+ if (instance) {
4552
+ instance.destroy();
4553
+ this.removeData("validator");
4554
+ }
4555
+
4556
+ // configuration
4557
+ conf = $.extend(true, {}, v.conf, conf);
4558
+
4559
+ // selector is a form
4560
+ if (this.is("form")) {
4561
+ return this.each(function() {
4562
+ var form = $(this);
4563
+ instance = new Validator(form.find(":input"), form, conf);
4564
+ form.data("validator", instance);
4565
+ });
4566
+
4567
+ } else {
4568
+ instance = new Validator(this, this.eq(0).closest("form"), conf);
4569
+ return this.data("validator", instance);
4570
+ }
4571
+
4572
+ };
4573
+
4574
+ })(jQuery);
4575
+
4576
+