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
@@ -10,7 +10,7 @@
10
10
  font-family: "Lucida Grande", Verdana, Geneva, Arial, Helvetica, sans-serif;
11
11
  font-size: 1.0em;
12
12
  li, ins {
13
- background-image: image_url("jquery.ui/jstree.aqua/d.png");
13
+ background-image: image_url("jquery/jstree/aqua/d.png");
14
14
  background-repeat: no-repeat;
15
15
  background-color: transparent; }
16
16
  li {
@@ -29,7 +29,7 @@
29
29
  .jstree-closed > ins:hover {
30
30
  background-position: -36px -18px; }
31
31
  .jstree-hovered {
32
- background-image: image_url("jquery.ui/jstree.aqua/hovered.png");
32
+ background-image: image_url("jquery/jstree/aqua/hovered.png");
33
33
  background-repeat: repeat-x;
34
34
  border: 1px solid #f2ffff;
35
35
  -moz-border-radius: 4px;
@@ -38,7 +38,7 @@
38
38
  padding: 0 2px 0 1px; }
39
39
  .jstree-clicked {
40
40
  color: white;
41
- background-image: image_url("jquery.ui/jstree.aqua/clicked.png");
41
+ background-image: image_url("jquery/jstree/aqua/clicked.png");
42
42
  background-repeat: repeat-x;
43
43
  border: 1px solid #a2b0cc;
44
44
  -moz-border-radius: 4px;
@@ -50,7 +50,7 @@
50
50
  .jstree-open > a .jstree-icon {
51
51
  background-position: -54px -54px; }
52
52
  a.jstree-loading .jstree-icon {
53
- background: image_url("jquery.ui/jstree.aqua/throbber.gif") center center no-repeat !important; }
53
+ background: image_url("jquery/jstree/aqua/throbber.gif") center center no-repeat !important; }
54
54
  &.jstree-focused {
55
55
  background: #edf2f9; }
56
56
  .jstree-no-dots {
@@ -105,12 +105,12 @@
105
105
  ins {
106
106
  background: transparent !important; }
107
107
  .jstree-ok {
108
- background: image_url("jquery.ui/jstree.aqua/d.png") -56px -71px no-repeat !important; }
108
+ background: image_url("jquery/jstree/aqua/d.png") -56px -71px no-repeat !important; }
109
109
  .jstree-invalid {
110
- background: image_url("jquery.ui/jstree.aqua/d.png") -72px -71px no-repeat !important; } }
110
+ background: image_url("jquery/jstree/aqua/d.png") -72px -71px no-repeat !important; } }
111
111
 
112
112
  #jstree-marker.jstree-aqua {
113
- background: image_url("jquery.ui/jstree.aqua/d.png") -95px -75px no-repeat !important; }
113
+ background: image_url("jquery/jstree/aqua/d.png") -95px -75px no-repeat !important; }
114
114
 
115
115
  .jstree-aqua a.jstree-search {
116
116
  color: aqua; }
@@ -167,14 +167,14 @@
167
167
 
168
168
  .jstree-aqua {
169
169
  li, ins {
170
- _background-image: image_url("jquery.ui/jstree.aqua/d.gif"); } }
170
+ _background-image: image_url("jquery/jstree/aqua/d.gif"); } }
171
171
 
172
172
  #vakata-dragged.jstree-aqua {
173
173
  .jstree-invalid, .jstree-ok {
174
- _background-image: image_url("jquery.ui/jstree.aqua/d.gif"); } }
174
+ _background-image: image_url("jquery/jstree/aqua/d.gif"); } }
175
175
 
176
176
  #jstree-marker.jstree-aqua {
177
- _background-image: image_url("jquery.ui/jstree.aqua/d.gif"); }
177
+ _background-image: image_url("jquery/jstree/aqua/d.gif"); }
178
178
 
179
179
  .jstree-aqua {
180
180
  .jstree-leaf ins {
@@ -10,7 +10,7 @@
10
10
  font-family: tahoma, arial, helvetica;
11
11
  font-size: 10pt;
12
12
  li, ins {
13
- background-image: image_url("jquery.ui/jstree.classic/d.png");
13
+ background-image: image_url("jquery/jstree/classic/d.png");
14
14
  background-repeat: no-repeat;
15
15
  background-color: transparent; }
16
16
  li {
@@ -38,7 +38,7 @@
38
38
  .jstree-open > a .jstree-icon {
39
39
  background-position: -56px -36px; }
40
40
  a.jstree-loading .jstree-icon {
41
- background: image_url("jquery.ui/jstree.classic/throbber.gif") center center no-repeat !important; }
41
+ background: image_url("jquery/jstree/classic/throbber.gif") center center no-repeat !important; }
42
42
  &.jstree-focused {
43
43
  background: white; }
44
44
  .jstree-no-dots {
@@ -89,12 +89,12 @@
89
89
  ins {
90
90
  background: transparent !important; }
91
91
  .jstree-ok {
92
- background: image_url("jquery.ui/jstree.classic/d.png") -56px -53px no-repeat !important; }
92
+ background: image_url("jquery/jstree/classic/d.png") -56px -53px no-repeat !important; }
93
93
  .jstree-invalid {
94
- background: image_url("jquery.ui/jstree.classic/d.png") -72px -53px no-repeat !important; } }
94
+ background: image_url("jquery/jstree/classic/d.png") -72px -53px no-repeat !important; } }
95
95
 
96
96
  #jstree-marker.jstree-classic {
97
- background: image_url("jquery.ui/jstree.classic/d.png") -95px -57px no-repeat !important; }
97
+ background: image_url("jquery/jstree/classic/d.png") -95px -57px no-repeat !important; }
98
98
 
99
99
  .jstree-classic a.jstree-search {
100
100
  color: aqua; }
@@ -10,7 +10,7 @@
10
10
  font-family: "Lucida Grande", Verdana, Geneva, Arial, Helvetica, sans-serif;
11
11
  font-size: 1.0em;
12
12
  li, ins {
13
- background-image: image_url("jquery.ui/jstree.crystal/d.png");
13
+ background-image: image_url("jquery/jstree/crystal/d.png");
14
14
  background-repeat: no-repeat;
15
15
  background-color: transparent; }
16
16
  li {
@@ -41,7 +41,7 @@
41
41
  .jstree-open > a .jstree-icon {
42
42
  background-position: -56px -54px; }
43
43
  a.jstree-loading .jstree-icon {
44
- background: image_url("jquery.ui/jstree.crystal/throbber.gif") center center no-repeat !important; }
44
+ background: image_url("jquery/jstree/crystal/throbber.gif") center center no-repeat !important; }
45
45
  &.jstree-focused {
46
46
  background: white; }
47
47
  .jstree-no-dots {
@@ -96,12 +96,12 @@
96
96
  ins {
97
97
  background: transparent !important; }
98
98
  .jstree-ok {
99
- background: image_url("jquery.ui/jstree.crystal/d.png") -56px -71px no-repeat !important; }
99
+ background: image_url("jquery/jstree/crystal/d.png") -56px -71px no-repeat !important; }
100
100
  .jstree-invalid {
101
- background: image_url("jquery.ui/jstree.crystal/d.png") -72px -71px no-repeat !important; } }
101
+ background: image_url("jquery/jstree/crystal/d.png") -72px -71px no-repeat !important; } }
102
102
 
103
103
  #jstree-marker.jstree-crystal {
104
- background: image_url("jquery.ui/jstree.crystal/d.png") -95px -75px no-repeat !important; }
104
+ background: image_url("jquery/jstree/crystal/d.png") -95px -75px no-repeat !important; }
105
105
 
106
106
  .jstree-crystal a.jstree-search {
107
107
  color: aqua; }
@@ -158,14 +158,14 @@
158
158
 
159
159
  .jstree-crystal {
160
160
  li, ins {
161
- _background-image: image_url("jquery.ui/jstree.crystal/d.gif"); } }
161
+ _background-image: image_url("jquery/jstree/crystal/d.gif"); } }
162
162
 
163
163
  #vakata-dragged.jstree-crystal {
164
164
  .jstree-invalid, .jstree-ok {
165
- _background-image: image_url("jquery.ui/jstree.crystal/d.gif"); } }
165
+ _background-image: image_url("jquery/jstree/crystal/d.gif"); } }
166
166
 
167
167
  #jstree-marker.jstree-crystal {
168
- _background-image: image_url("jquery.ui/jstree.crystal/d.gif"); }
168
+ _background-image: image_url("jquery/jstree/crystal/d.gif"); }
169
169
 
170
170
  .jstree-crystal {
171
171
  .jstree-leaf ins {
@@ -8,7 +8,7 @@
8
8
 
9
9
  .jstree-default-rtl {
10
10
  li, ins {
11
- background-image: image_url("jquery.ui/jstree.default-rtl/d.png");
11
+ background-image: image_url("jquery/jstree/default-rtl/d.png");
12
12
  background-repeat: no-repeat;
13
13
  background-color: transparent; }
14
14
  li {
@@ -34,7 +34,7 @@
34
34
  .jstree-icon {
35
35
  background-position: -56px -19px; }
36
36
  &.jstree-loading .jstree-icon {
37
- background: image_url("jquery.ui/jstree.default-rtl/throbber.gif") center center no-repeat !important; } }
37
+ background: image_url("jquery/jstree/default-rtl/throbber.gif") center center no-repeat !important; } }
38
38
  &.jstree-focused {
39
39
  background: #ffffee; }
40
40
  .jstree-no-dots {
@@ -87,12 +87,12 @@
87
87
  ins {
88
88
  background: transparent !important; }
89
89
  .jstree-ok {
90
- background: image_url("jquery.ui/jstree.default-rtl/d.png") -56px -53px no-repeat !important; }
90
+ background: image_url("jquery/jstree/default-rtl/d.png") -56px -53px no-repeat !important; }
91
91
  .jstree-invalid {
92
- background: image_url("jquery.ui/jstree.default-rtl/d.png") -72px -53px no-repeat !important; } }
92
+ background: image_url("jquery/jstree/default-rtl/d.png") -72px -53px no-repeat !important; } }
93
93
 
94
94
  #jstree-marker.jstree-default-rtl {
95
- background: image_url("jquery.ui/jstree.default-rtl/d.png") -95px -57px no-repeat !important; }
95
+ background: image_url("jquery/jstree/default-rtl/d.png") -95px -57px no-repeat !important; }
96
96
 
97
97
  .jstree-default-rtl a.jstree-search {
98
98
  color: defefault-rtl; }
@@ -149,14 +149,14 @@
149
149
 
150
150
  .jstree-default-rtl {
151
151
  li, ins {
152
- _background-image: image_url("jquery.ui/jstree.default-rtl/d.gif"); } }
152
+ _background-image: image_url("jquery/jstree/default-rtl/d.gif"); } }
153
153
 
154
154
  #vakata-dragged.jstree-default-rtl {
155
155
  .jstree-invalid, .jstree-ok {
156
- _background-image: image_url("jquery.ui/jstree.default-rtl/d.gif"); } }
156
+ _background-image: image_url("jquery/jstree/default-rtl/d.gif"); } }
157
157
 
158
158
  #jstree-marker.jstree-default-rtl {
159
- _background-image: image_url("jquery.ui/jstree.default-rtl/d.gif"); }
159
+ _background-image: image_url("jquery/jstree/default-rtl/d.gif"); }
160
160
 
161
161
  .jstree-default-rtl {
162
162
  .jstree-open ins {
@@ -190,7 +190,7 @@
190
190
  .jstree-hovered, .jstree-clicked {
191
191
  padding: 0 1px 0 2px; }
192
192
  li {
193
- background-image: image_url("jquery.ui/jstree.default-rtl/dots.gif");
193
+ background-image: image_url("jquery/jstree/default-rtl/dots.gif");
194
194
  background-position: 100% 0px; }
195
195
  .jstree-checked > a > .jstree-checkbox {
196
196
  background-position: -36px -19px;
@@ -8,7 +8,7 @@
8
8
 
9
9
  .jstree-default {
10
10
  li, ins {
11
- background-image: image_url("jquery.ui/jstree.default/d.png");
11
+ background-image: image_url("jquery/jstree/default/d.png");
12
12
  background-repeat: no-repeat;
13
13
  background-color: transparent; }
14
14
  li {
@@ -34,7 +34,7 @@
34
34
  .jstree-icon {
35
35
  background-position: -56px -19px; }
36
36
  &.jstree-loading .jstree-icon {
37
- background: image_url("jquery.ui/jstree.default/throbber.gif") center center no-repeat !important; } }
37
+ background: image_url("jquery/jstree/default/throbber.gif") center center no-repeat !important; } }
38
38
  &.jstree-focused {
39
39
  background: #ffffee; }
40
40
  .jstree-no-dots {
@@ -85,12 +85,12 @@
85
85
  ins {
86
86
  background: transparent !important; }
87
87
  .jstree-ok {
88
- background: image_url("jquery.ui/jstree.default/d.png") -56px -53px no-repeat !important; }
88
+ background: image_url("jquery/jstree/default/d.png") -56px -53px no-repeat !important; }
89
89
  .jstree-invalid {
90
- background: image_url("jquery.ui/jstree.default/d.png") -72px -53px no-repeat !important; } }
90
+ background: image_url("jquery/jstree/default/d.png") -72px -53px no-repeat !important; } }
91
91
 
92
92
  #jstree-marker.jstree-default {
93
- background: image_url("jquery.ui/jstree.default/d.png") -95px -57px no-repeat !important; }
93
+ background: image_url("jquery/jstree/default/d.png") -95px -57px no-repeat !important; }
94
94
 
95
95
  .jstree-default a.jstree-search {
96
96
  color: default; }
@@ -147,14 +147,14 @@
147
147
 
148
148
  .jstree-default {
149
149
  li, ins {
150
- _background-image: image_url("jquery.ui/jstree.default/d.gif"); } }
150
+ _background-image: image_url("jquery/jstree/default/d.gif"); } }
151
151
 
152
152
  #vakata-dragged.jstree-default {
153
153
  .jstree-invalid, .jstree-ok {
154
- _background-image: image_url("jquery.ui/jstree.default/d.gif"); } }
154
+ _background-image: image_url("jquery/jstree/default/d.gif"); } }
155
155
 
156
156
  #jstree-marker.jstree-default {
157
- _background-image: image_url("jquery.ui/jstree.default/d.gif"); }
157
+ _background-image: image_url("jquery/jstree/default/d.gif"); }
158
158
 
159
159
  .jstree-default {
160
160
  .jstree-open ins {
@@ -4,32 +4,32 @@
4
4
  file 'config/initializers/jstree.rb'
5
5
  javascript 'jquery.jstree.js'
6
6
  javascript 'jquery.jstree.min.js'
7
- stylesheet 'jquery.ui/jstree.aero.scss', :media => 'screen, projection'
8
- image 'jquery.ui/jstree.aero/clicked.png'
9
- image 'jquery.ui/jstree.aero/d.gif'
10
- image 'jquery.ui/jstree.aero/d.png'
11
- image 'jquery.ui/jstree.aero/hovered.png'
12
- image 'jquery.ui/jstree.aero/throbber.gif'
13
- stylesheet 'jquery.ui/jstree.aqua.scss', :media => 'screen, projection'
14
- image 'jquery.ui/jstree.aqua/clicked.png'
15
- image 'jquery.ui/jstree.aqua/d.gif'
16
- image 'jquery.ui/jstree.aqua/d.png'
17
- image 'jquery.ui/jstree.aqua/hovered.png'
18
- image 'jquery.ui/jstree.aqua/throbber.gif'
19
- stylesheet 'jquery.ui/jstree.classic.scss', :media => 'screen, projection'
20
- image 'jquery.ui/jstree.classic/d.png'
21
- image 'jquery.ui/jstree.classic/dot_for_ie.gif'
22
- image 'jquery.ui/jstree.classic/throbber.gif'
23
- stylesheet 'jquery.ui/jstree.crystal.scss', :media => 'screen, projection'
24
- image 'jquery.ui/jstree.crystal/d.gif'
25
- image 'jquery.ui/jstree.crystal/d.png'
26
- image 'jquery.ui/jstree.crystal/throbber.gif'
27
- stylesheet 'jquery.ui/jstree.default.scss', :media => 'screen, projection'
28
- image 'jquery.ui/jstree.default/d.gif'
29
- image 'jquery.ui/jstree.default/d.png'
30
- image 'jquery.ui/jstree.default/throbber.gif'
31
- stylesheet 'jquery.ui/jstree.default-rtl.scss', :media => 'screen, projection'
32
- image 'jquery.ui/jstree.default-rtl/d.gif'
33
- image 'jquery.ui/jstree.default-rtl/d.png'
34
- image 'jquery.ui/jstree.default-rtl/dots.gif'
35
- image 'jquery.ui/jstree.default-rtl/throbber.gif'
7
+ stylesheet 'jquery/jstree/aero.scss'
8
+ image 'jquery/jstree/aero/clicked.png'
9
+ image 'jquery/jstree/aero/d.gif'
10
+ image 'jquery/jstree/aero/d.png'
11
+ image 'jquery/jstree/aero/hovered.png'
12
+ image 'jquery/jstree/aero/throbber.gif'
13
+ stylesheet 'jquery/jstree/aqua.scss'
14
+ image 'jquery/jstree/aqua/clicked.png'
15
+ image 'jquery/jstree/aqua/d.gif'
16
+ image 'jquery/jstree/aqua/d.png'
17
+ image 'jquery/jstree/aqua/hovered.png'
18
+ image 'jquery/jstree/aqua/throbber.gif'
19
+ stylesheet 'jquery/jstree/classic.scss'
20
+ image 'jquery/jstree/classic/d.png'
21
+ image 'jquery/jstree/classic/dot_for_ie.gif'
22
+ image 'jquery/jstree/classic/throbber.gif'
23
+ stylesheet 'jquery/jstree/crystal.scss'
24
+ image 'jquery/jstree/crystal/d.gif'
25
+ image 'jquery/jstree/crystal/d.png'
26
+ image 'jquery/jstree/crystal/throbber.gif'
27
+ stylesheet 'jquery/jstree/default.scss'
28
+ image 'jquery/jstree/default/d.gif'
29
+ image 'jquery/jstree/default/d.png'
30
+ image 'jquery/jstree/default/throbber.gif'
31
+ stylesheet 'jquery/jstree/default-rtl.scss'
32
+ image 'jquery/jstree/default-rtl/d.gif'
33
+ image 'jquery/jstree/default-rtl/d.png'
34
+ image 'jquery/jstree/default-rtl/dots.gif'
35
+ image 'jquery/jstree/default-rtl/throbber.gif'
@@ -0,0 +1,6 @@
1
+ require 'jquery/mobile'
2
+
3
+ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :mobile_default => ['compiled/jquery/mobile/default.css']
4
+ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :mobile_valencia => ['compiled/jquery/mobile/valencia.css']
5
+
6
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :mobile => ['jquery-1.4.3.min', 'jquery.mobile.min']
@@ -0,0 +1,3189 @@
1
+ /*!
2
+ * jQuery UI Widget @VERSION
3
+ *
4
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Widget
9
+ */
10
+ (function( $, undefined ) {
11
+
12
+ // jQuery 1.4+
13
+ if ( $.cleanData ) {
14
+ var _cleanData = $.cleanData;
15
+ $.cleanData = function( elems ) {
16
+ for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
17
+ $( elem ).triggerHandler( "remove" );
18
+ }
19
+ _cleanData( elems );
20
+ };
21
+ } else {
22
+ var _remove = $.fn.remove;
23
+ $.fn.remove = function( selector, keepData ) {
24
+ return this.each(function() {
25
+ if ( !keepData ) {
26
+ if ( !selector || $.filter( selector, [ this ] ).length ) {
27
+ $( "*", this ).add( [ this ] ).each(function() {
28
+ $( this ).triggerHandler( "remove" );
29
+ });
30
+ }
31
+ }
32
+ return _remove.call( $(this), selector, keepData );
33
+ });
34
+ };
35
+ }
36
+
37
+ $.widget = function( name, base, prototype ) {
38
+ var namespace = name.split( "." )[ 0 ],
39
+ fullName;
40
+ name = name.split( "." )[ 1 ];
41
+ fullName = namespace + "-" + name;
42
+
43
+ if ( !prototype ) {
44
+ prototype = base;
45
+ base = $.Widget;
46
+ }
47
+
48
+ // create selector for plugin
49
+ $.expr[ ":" ][ fullName ] = function( elem ) {
50
+ return !!$.data( elem, name );
51
+ };
52
+
53
+ $[ namespace ] = $[ namespace ] || {};
54
+ $[ namespace ][ name ] = function( options, element ) {
55
+ // allow instantiation without initializing for simple inheritance
56
+ if ( arguments.length ) {
57
+ this._createWidget( options, element );
58
+ }
59
+ };
60
+
61
+ var basePrototype = new base();
62
+ // we need to make the options hash a property directly on the new instance
63
+ // otherwise we'll modify the options hash on the prototype that we're
64
+ // inheriting from
65
+ // $.each( basePrototype, function( key, val ) {
66
+ // if ( $.isPlainObject(val) ) {
67
+ // basePrototype[ key ] = $.extend( {}, val );
68
+ // }
69
+ // });
70
+ basePrototype.options = $.extend( true, {}, basePrototype.options );
71
+ $[ namespace ][ name ].prototype = $.extend( true, basePrototype, {
72
+ namespace: namespace,
73
+ widgetName: name,
74
+ widgetEventPrefix: $[ namespace ][ name ].prototype.widgetEventPrefix || name,
75
+ widgetBaseClass: fullName
76
+ }, prototype );
77
+
78
+ $.widget.bridge( name, $[ namespace ][ name ] );
79
+ };
80
+
81
+ $.widget.bridge = function( name, object ) {
82
+ $.fn[ name ] = function( options ) {
83
+ var isMethodCall = typeof options === "string",
84
+ args = Array.prototype.slice.call( arguments, 1 ),
85
+ returnValue = this;
86
+
87
+ // allow multiple hashes to be passed on init
88
+ options = !isMethodCall && args.length ?
89
+ $.extend.apply( null, [ true, options ].concat(args) ) :
90
+ options;
91
+
92
+ // prevent calls to internal methods
93
+ if ( isMethodCall && options.charAt( 0 ) === "_" ) {
94
+ return returnValue;
95
+ }
96
+
97
+ if ( isMethodCall ) {
98
+ this.each(function() {
99
+ var instance = $.data( this, name );
100
+ if ( !instance ) {
101
+ throw "cannot call methods on " + name + " prior to initialization; " +
102
+ "attempted to call method '" + options + "'";
103
+ }
104
+ if ( !$.isFunction( instance[options] ) ) {
105
+ throw "no such method '" + options + "' for " + name + " widget instance";
106
+ }
107
+ var methodValue = instance[ options ].apply( instance, args );
108
+ if ( methodValue !== instance && methodValue !== undefined ) {
109
+ returnValue = methodValue;
110
+ return false;
111
+ }
112
+ });
113
+ } else {
114
+ this.each(function() {
115
+ var instance = $.data( this, name );
116
+ if ( instance ) {
117
+ instance.option( options || {} )._init();
118
+ } else {
119
+ $.data( this, name, new object( options, this ) );
120
+ }
121
+ });
122
+ }
123
+
124
+ return returnValue;
125
+ };
126
+ };
127
+
128
+ $.Widget = function( options, element ) {
129
+ // allow instantiation without initializing for simple inheritance
130
+ if ( arguments.length ) {
131
+ this._createWidget( options, element );
132
+ }
133
+ };
134
+
135
+ $.Widget.prototype = {
136
+ widgetName: "widget",
137
+ widgetEventPrefix: "",
138
+ options: {
139
+ disabled: false
140
+ },
141
+ _createWidget: function( options, element ) {
142
+ // $.widget.bridge stores the plugin instance, but we do it anyway
143
+ // so that it's stored even before the _create function runs
144
+ $.data( element, this.widgetName, this );
145
+ this.element = $( element );
146
+ this.options = $.extend( true, {},
147
+ this.options,
148
+ this._getCreateOptions(),
149
+ options );
150
+
151
+ var self = this;
152
+ this.element.bind( "remove." + this.widgetName, function() {
153
+ self.destroy();
154
+ });
155
+
156
+ this._create();
157
+ this._trigger( "create" );
158
+ this._init();
159
+ },
160
+ _getCreateOptions: function() {
161
+ var options = {};
162
+ if ( $.metadata ) {
163
+ options = $.metadata.get( element )[ this.widgetName ];
164
+ }
165
+ return options;
166
+ },
167
+ _create: function() {},
168
+ _init: function() {},
169
+
170
+ destroy: function() {
171
+ this.element
172
+ .unbind( "." + this.widgetName )
173
+ .removeData( this.widgetName );
174
+ this.widget()
175
+ .unbind( "." + this.widgetName )
176
+ .removeAttr( "aria-disabled" )
177
+ .removeClass(
178
+ this.widgetBaseClass + "-disabled " +
179
+ "ui-state-disabled" );
180
+ },
181
+
182
+ widget: function() {
183
+ return this.element;
184
+ },
185
+
186
+ option: function( key, value ) {
187
+ var options = key;
188
+
189
+ if ( arguments.length === 0 ) {
190
+ // don't return a reference to the internal hash
191
+ return $.extend( {}, this.options );
192
+ }
193
+
194
+ if (typeof key === "string" ) {
195
+ if ( value === undefined ) {
196
+ return this.options[ key ];
197
+ }
198
+ options = {};
199
+ options[ key ] = value;
200
+ }
201
+
202
+ this._setOptions( options );
203
+
204
+ return this;
205
+ },
206
+ _setOptions: function( options ) {
207
+ var self = this;
208
+ $.each( options, function( key, value ) {
209
+ self._setOption( key, value );
210
+ });
211
+
212
+ return this;
213
+ },
214
+ _setOption: function( key, value ) {
215
+ this.options[ key ] = value;
216
+
217
+ if ( key === "disabled" ) {
218
+ this.widget()
219
+ [ value ? "addClass" : "removeClass"](
220
+ this.widgetBaseClass + "-disabled" + " " +
221
+ "ui-state-disabled" )
222
+ .attr( "aria-disabled", value );
223
+ }
224
+
225
+ return this;
226
+ },
227
+
228
+ enable: function() {
229
+ return this._setOption( "disabled", false );
230
+ },
231
+ disable: function() {
232
+ return this._setOption( "disabled", true );
233
+ },
234
+
235
+ _trigger: function( type, event, data ) {
236
+ var callback = this.options[ type ];
237
+
238
+ event = $.Event( event );
239
+ event.type = ( type === this.widgetEventPrefix ?
240
+ type :
241
+ this.widgetEventPrefix + type ).toLowerCase();
242
+ data = data || {};
243
+
244
+ // copy original event properties over to the new event
245
+ // this would happen if we could call $.event.fix instead of $.Event
246
+ // but we don't have a way to force an event to be fixed multiple times
247
+ if ( event.originalEvent ) {
248
+ for ( var i = $.event.props.length, prop; i; ) {
249
+ prop = $.event.props[ --i ];
250
+ event[ prop ] = event.originalEvent[ prop ];
251
+ }
252
+ }
253
+
254
+ this.element.trigger( event, data );
255
+
256
+ return !( $.isFunction(callback) &&
257
+ callback.call( this.element[0], event, data ) === false ||
258
+ event.isDefaultPrevented() );
259
+ }
260
+ };
261
+
262
+ })( jQuery );
263
+
264
+
265
+ (function( $ ) {
266
+
267
+ $.widget( "mobile.widget", {
268
+ _getCreateOptions: function() {
269
+ var elem = this.element,
270
+ options = {};
271
+ $.each( this.options, function( option ) {
272
+ var value = elem.data( option.replace( /[A-Z]/g, function( c ) {
273
+ return "-" + c.toLowerCase();
274
+ } ) );
275
+ if ( value !== undefined ) {
276
+ options[ option ] = value;
277
+ }
278
+ });
279
+ return options;
280
+ }
281
+ });
282
+
283
+ })( jQuery );
284
+
285
+
286
+ (function( $ ) {
287
+
288
+ // test whether a CSS media type or query applies
289
+ $.media = (function() {
290
+ // TODO: use window.matchMedia once at least one UA implements it
291
+ var cache = {},
292
+ $html = $( "html" ),
293
+ testDiv = $( "<div id='jquery-mediatest'>" ),
294
+ fakeBody = $( "<body>" ).append( testDiv );
295
+
296
+ return function( query ) {
297
+ if ( !( query in cache ) ) {
298
+ var styleBlock = $( "<style type='text/css'>" +
299
+ "@media " + query + "{#jquery-mediatest{position:absolute;}}" +
300
+ "</style>" );
301
+ $html.prepend( fakeBody ).prepend( styleBlock );
302
+ cache[ query ] = testDiv.css( "position" ) === "absolute";
303
+ fakeBody.add( styleBlock ).remove();
304
+ }
305
+ return cache[ query ];
306
+ };
307
+ })();
308
+
309
+ var fakeBody = $( "<body>" ).prependTo( "html" ),
310
+ fbCSS = fakeBody[0].style,
311
+ vendors = ['webkit','moz','o'],
312
+ webos = window.palmGetResource || window.PalmServiceBridge, //only used to rule out scrollTop
313
+ bb = window.blackberry; //only used to rule out box shadow, as it's filled opaque on BB
314
+
315
+ //thx Modernizr
316
+ function propExists( prop ){
317
+ var uc_prop = prop.charAt(0).toUpperCase() + prop.substr(1),
318
+ props = (prop + ' ' + vendors.join(uc_prop + ' ') + uc_prop).split(' ');
319
+ for(var v in props){
320
+ if( fbCSS[ v ] !== undefined ){
321
+ return true;
322
+ }
323
+ }
324
+ };
325
+
326
+ //test for dynamic-updating base tag support (allows us to avoid href,src attr rewriting)
327
+ function baseTagTest(){
328
+ var fauxBase = location.protocol + '//' + location.host + location.pathname + "ui-dir/",
329
+ base = $("<base>", {"href": fauxBase}).appendTo("head"),
330
+ link = $( "<a href='testurl'></a>" ).prependTo( fakeBody ),
331
+ rebase = link[0].href;
332
+ base.remove();
333
+ return rebase.indexOf(fauxBase) === 0;
334
+ };
335
+
336
+ $.extend( $.support, {
337
+ orientation: "orientation" in window,
338
+ touch: "ontouchend" in document,
339
+ WebKitAnimationEvent: typeof WebKitTransitionEvent === "object",
340
+ pushState: !!history.pushState,
341
+ mediaquery: $.media('only all'),
342
+ cssPseudoElement: !!propExists('content'),
343
+ boxShadow: !!propExists('boxShadow') && !bb,
344
+ scrollTop: ("pageXOffset" in window || "scrollTop" in document.documentElement || "scrollTop" in fakeBody[0]) && !webos,
345
+ dynamicBaseTag: baseTagTest()
346
+ });
347
+
348
+ fakeBody.remove();
349
+
350
+ //for ruling out shadows via css
351
+ if( !$.support.boxShadow ){ $('html').addClass('ui-mobile-nosupport-boxshadow'); }
352
+
353
+ })( jQuery );
354
+
355
+ (function( $ ) {
356
+
357
+ // add new event shortcuts
358
+ $.each( "touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split( " " ), function( i, name ) {
359
+ $.fn[ name ] = function( fn ) {
360
+ return fn ? this.bind( name, fn ) : this.trigger( name );
361
+ };
362
+ $.attrFn[ name ] = true;
363
+ });
364
+
365
+ var supportTouch = $.support.touch,
366
+ scrollEvent = "touchmove scroll",
367
+ touchStartEvent = supportTouch ? "touchstart" : "mousedown",
368
+ touchStopEvent = supportTouch ? "touchend" : "mouseup",
369
+ touchMoveEvent = supportTouch ? "touchmove" : "mousemove";
370
+
371
+ // also handles scrollstop
372
+ $.event.special.scrollstart = {
373
+ enabled: true,
374
+
375
+ setup: function() {
376
+ var thisObject = this,
377
+ $this = $( thisObject ),
378
+ scrolling,
379
+ timer;
380
+
381
+ function trigger( event, state ) {
382
+ scrolling = state;
383
+ var originalType = event.type;
384
+ event.type = scrolling ? "scrollstart" : "scrollstop";
385
+ $.event.handle.call( thisObject, event );
386
+ event.type = originalType;
387
+ }
388
+
389
+ // iPhone triggers scroll after a small delay; use touchmove instead
390
+ $this.bind( scrollEvent, function( event ) {
391
+ if ( !$.event.special.scrollstart.enabled ) {
392
+ return;
393
+ }
394
+
395
+ if ( !scrolling ) {
396
+ trigger( event, true );
397
+ }
398
+
399
+ clearTimeout( timer );
400
+ timer = setTimeout(function() {
401
+ trigger( event, false );
402
+ }, 50 );
403
+ });
404
+ }
405
+ };
406
+
407
+ // also handles taphold
408
+ $.event.special.tap = {
409
+ setup: function() {
410
+ var thisObject = this,
411
+ $this = $( thisObject );
412
+
413
+ $this
414
+ .bind( touchStartEvent, function( event ) {
415
+ if ( event.which && event.which !== 1 ) {
416
+ return;
417
+ }
418
+
419
+ var moved = false,
420
+ touching = true,
421
+ originalType,
422
+ timer;
423
+
424
+ function moveHandler() {
425
+ moved = true;
426
+ }
427
+
428
+ timer = setTimeout(function() {
429
+ if ( touching && !moved ) {
430
+ originalType = event.type;
431
+ event.type = "taphold";
432
+ $.event.handle.call( thisObject, event );
433
+ event.type = originalType;
434
+ }
435
+ }, 750 );
436
+
437
+ $this
438
+ .one( touchMoveEvent, moveHandler)
439
+ .one( touchStopEvent, function( event ) {
440
+ $this.unbind( touchMoveEvent, moveHandler );
441
+ clearTimeout( timer );
442
+ touching = false;
443
+
444
+ if ( !moved ) {
445
+ originalType = event.type;
446
+ event.type = "tap";
447
+ $.event.handle.call( thisObject, event );
448
+ event.type = originalType;
449
+ }
450
+ });
451
+ });
452
+ }
453
+ };
454
+
455
+ // also handles swipeleft, swiperight
456
+ $.event.special.swipe = {
457
+ setup: function() {
458
+ var thisObject = this,
459
+ $this = $( thisObject );
460
+
461
+ $this
462
+ .bind( touchStartEvent, function( event ) {
463
+ var data = event.originalEvent.touches ?
464
+ event.originalEvent.touches[ 0 ] :
465
+ event,
466
+ start = {
467
+ time: (new Date).getTime(),
468
+ coords: [ data.pageX, data.pageY ],
469
+ origin: $( event.target )
470
+ },
471
+ stop;
472
+
473
+ function moveHandler( event ) {
474
+ if ( !start ) {
475
+ return;
476
+ }
477
+
478
+ var data = event.originalEvent.touches ?
479
+ event.originalEvent.touches[ 0 ] :
480
+ event;
481
+ stop = {
482
+ time: (new Date).getTime(),
483
+ coords: [ data.pageX, data.pageY ]
484
+ };
485
+
486
+ // prevent scrolling
487
+ if ( Math.abs( start.coords[0] - stop.coords[0] ) > 10 ) {
488
+ event.preventDefault();
489
+ }
490
+ }
491
+
492
+ $this
493
+ .bind( touchMoveEvent, moveHandler )
494
+ .one( touchStopEvent, function( event ) {
495
+ $this.unbind( touchMoveEvent, moveHandler );
496
+ if ( start && stop ) {
497
+ if ( stop.time - start.time < 1000 &&
498
+ Math.abs( start.coords[0] - stop.coords[0]) > 30 &&
499
+ Math.abs( start.coords[1] - stop.coords[1]) < 75 ) {
500
+ start.origin
501
+ .trigger( "swipe" )
502
+ .trigger( start.coords[0] > stop.coords[0] ? "swipeleft" : "swiperight" );
503
+ }
504
+ }
505
+ start = stop = undefined;
506
+ });
507
+ });
508
+ }
509
+ };
510
+
511
+ $.event.special.orientationchange = {
512
+ orientation: function( elem ) {
513
+ return document.body && elem.width() / elem.height() < 1.1 ? "portrait" : "landscape";
514
+ },
515
+
516
+ setup: function() {
517
+ var thisObject = this,
518
+ $this = $( thisObject ),
519
+ orientation = $.event.special.orientationchange.orientation( $this );
520
+
521
+ function handler() {
522
+ var newOrientation = $.event.special.orientationchange.orientation( $this );
523
+
524
+ if ( orientation !== newOrientation ) {
525
+ $.event.handle.call( thisObject, "orientationchange", {
526
+ orientation: newOrientation
527
+ } );
528
+ orientation = newOrientation;
529
+ }
530
+ }
531
+
532
+ if ( $.support.orientation ) {
533
+ thisObject.addEventListener( "orientationchange", handler, false );
534
+ } else {
535
+ $this.bind( "resize", handler );
536
+ }
537
+ }
538
+ };
539
+
540
+ $.each({
541
+ scrollstop: "scrollstart",
542
+ taphold: "tap",
543
+ swipeleft: "swipe",
544
+ swiperight: "swipe"
545
+ }, function( event, sourceEvent ) {
546
+ $.event.special[ event ] = {
547
+ setup: function() {
548
+ $( this ).bind( sourceEvent, $.noop );
549
+ }
550
+ };
551
+ });
552
+
553
+ })( jQuery );
554
+
555
+ /*!
556
+ * jQuery hashchange event - v1.3 - 7/21/2010
557
+ * http://benalman.com/projects/jquery-hashchange-plugin/
558
+ *
559
+ * Copyright (c) 2010 "Cowboy" Ben Alman
560
+ * Dual licensed under the MIT and GPL licenses.
561
+ * http://benalman.com/about/license/
562
+ */
563
+
564
+ // Script: jQuery hashchange event
565
+ //
566
+ // *Version: 1.3, Last updated: 7/21/2010*
567
+ //
568
+ // Project Home - http://benalman.com/projects/jquery-hashchange-plugin/
569
+ // GitHub - http://github.com/cowboy/jquery-hashchange/
570
+ // Source - http://github.com/cowboy/jquery-hashchange/raw/master/jquery.ba-hashchange.js
571
+ // (Minified) - http://github.com/cowboy/jquery-hashchange/raw/master/jquery.ba-hashchange.min.js (0.8kb gzipped)
572
+ //
573
+ // About: License
574
+ //
575
+ // Copyright (c) 2010 "Cowboy" Ben Alman,
576
+ // Dual licensed under the MIT and GPL licenses.
577
+ // http://benalman.com/about/license/
578
+ //
579
+ // About: Examples
580
+ //
581
+ // These working examples, complete with fully commented code, illustrate a few
582
+ // ways in which this plugin can be used.
583
+ //
584
+ // hashchange event - http://benalman.com/code/projects/jquery-hashchange/examples/hashchange/
585
+ // document.domain - http://benalman.com/code/projects/jquery-hashchange/examples/document_domain/
586
+ //
587
+ // About: Support and Testing
588
+ //
589
+ // Information about what version or versions of jQuery this plugin has been
590
+ // tested with, what browsers it has been tested in, and where the unit tests
591
+ // reside (so you can test it yourself).
592
+ //
593
+ // jQuery Versions - 1.2.6, 1.3.2, 1.4.1, 1.4.2
594
+ // Browsers Tested - Internet Explorer 6-8, Firefox 2-4, Chrome 5-6, Safari 3.2-5,
595
+ // Opera 9.6-10.60, iPhone 3.1, Android 1.6-2.2, BlackBerry 4.6-5.
596
+ // Unit Tests - http://benalman.com/code/projects/jquery-hashchange/unit/
597
+ //
598
+ // About: Known issues
599
+ //
600
+ // While this jQuery hashchange event implementation is quite stable and
601
+ // robust, there are a few unfortunate browser bugs surrounding expected
602
+ // hashchange event-based behaviors, independent of any JavaScript
603
+ // window.onhashchange abstraction. See the following examples for more
604
+ // information:
605
+ //
606
+ // Chrome: Back Button - http://benalman.com/code/projects/jquery-hashchange/examples/bug-chrome-back-button/
607
+ // Firefox: Remote XMLHttpRequest - http://benalman.com/code/projects/jquery-hashchange/examples/bug-firefox-remote-xhr/
608
+ // WebKit: Back Button in an Iframe - http://benalman.com/code/projects/jquery-hashchange/examples/bug-webkit-hash-iframe/
609
+ // Safari: Back Button from a different domain - http://benalman.com/code/projects/jquery-hashchange/examples/bug-safari-back-from-diff-domain/
610
+ //
611
+ // Also note that should a browser natively support the window.onhashchange
612
+ // event, but not report that it does, the fallback polling loop will be used.
613
+ //
614
+ // About: Release History
615
+ //
616
+ // 1.3 - (7/21/2010) Reorganized IE6/7 Iframe code to make it more
617
+ // "removable" for mobile-only development. Added IE6/7 document.title
618
+ // support. Attempted to make Iframe as hidden as possible by using
619
+ // techniques from http://www.paciellogroup.com/blog/?p=604. Added
620
+ // support for the "shortcut" format $(window).hashchange( fn ) and
621
+ // $(window).hashchange() like jQuery provides for built-in events.
622
+ // Renamed jQuery.hashchangeDelay to <jQuery.fn.hashchange.delay> and
623
+ // lowered its default value to 50. Added <jQuery.fn.hashchange.domain>
624
+ // and <jQuery.fn.hashchange.src> properties plus document-domain.html
625
+ // file to address access denied issues when setting document.domain in
626
+ // IE6/7.
627
+ // 1.2 - (2/11/2010) Fixed a bug where coming back to a page using this plugin
628
+ // from a page on another domain would cause an error in Safari 4. Also,
629
+ // IE6/7 Iframe is now inserted after the body (this actually works),
630
+ // which prevents the page from scrolling when the event is first bound.
631
+ // Event can also now be bound before DOM ready, but it won't be usable
632
+ // before then in IE6/7.
633
+ // 1.1 - (1/21/2010) Incorporated document.documentMode test to fix IE8 bug
634
+ // where browser version is incorrectly reported as 8.0, despite
635
+ // inclusion of the X-UA-Compatible IE=EmulateIE7 meta tag.
636
+ // 1.0 - (1/9/2010) Initial Release. Broke out the jQuery BBQ event.special
637
+ // window.onhashchange functionality into a separate plugin for users
638
+ // who want just the basic event & back button support, without all the
639
+ // extra awesomeness that BBQ provides. This plugin will be included as
640
+ // part of jQuery BBQ, but also be available separately.
641
+
642
+ (function($,window,undefined){
643
+ '$:nomunge'; // Used by YUI compressor.
644
+
645
+ // Reused string.
646
+ var str_hashchange = 'hashchange',
647
+
648
+ // Method / object references.
649
+ doc = document,
650
+ fake_onhashchange,
651
+ special = $.event.special,
652
+
653
+ // Does the browser support window.onhashchange? Note that IE8 running in
654
+ // IE7 compatibility mode reports true for 'onhashchange' in window, even
655
+ // though the event isn't supported, so also test document.documentMode.
656
+ doc_mode = doc.documentMode,
657
+ supports_onhashchange = 'on' + str_hashchange in window && ( doc_mode === undefined || doc_mode > 7 );
658
+
659
+ // Get location.hash (or what you'd expect location.hash to be) sans any
660
+ // leading #. Thanks for making this necessary, Firefox!
661
+ function get_fragment( url ) {
662
+ url = url || location.href;
663
+ return '#' + url.replace( /^[^#]*#?(.*)$/, '$1' );
664
+ };
665
+
666
+ // Method: jQuery.fn.hashchange
667
+ //
668
+ // Bind a handler to the window.onhashchange event or trigger all bound
669
+ // window.onhashchange event handlers. This behavior is consistent with
670
+ // jQuery's built-in event handlers.
671
+ //
672
+ // Usage:
673
+ //
674
+ // > jQuery(window).hashchange( [ handler ] );
675
+ //
676
+ // Arguments:
677
+ //
678
+ // handler - (Function) Optional handler to be bound to the hashchange
679
+ // event. This is a "shortcut" for the more verbose form:
680
+ // jQuery(window).bind( 'hashchange', handler ). If handler is omitted,
681
+ // all bound window.onhashchange event handlers will be triggered. This
682
+ // is a shortcut for the more verbose
683
+ // jQuery(window).trigger( 'hashchange' ). These forms are described in
684
+ // the <hashchange event> section.
685
+ //
686
+ // Returns:
687
+ //
688
+ // (jQuery) The initial jQuery collection of elements.
689
+
690
+ // Allow the "shortcut" format $(elem).hashchange( fn ) for binding and
691
+ // $(elem).hashchange() for triggering, like jQuery does for built-in events.
692
+ $.fn[ str_hashchange ] = function( fn ) {
693
+ return fn ? this.bind( str_hashchange, fn ) : this.trigger( str_hashchange );
694
+ };
695
+
696
+ // Property: jQuery.fn.hashchange.delay
697
+ //
698
+ // The numeric interval (in milliseconds) at which the <hashchange event>
699
+ // polling loop executes. Defaults to 50.
700
+
701
+ // Property: jQuery.fn.hashchange.domain
702
+ //
703
+ // If you're setting document.domain in your JavaScript, and you want hash
704
+ // history to work in IE6/7, not only must this property be set, but you must
705
+ // also set document.domain BEFORE jQuery is loaded into the page. This
706
+ // property is only applicable if you are supporting IE6/7 (or IE8 operating
707
+ // in "IE7 compatibility" mode).
708
+ //
709
+ // In addition, the <jQuery.fn.hashchange.src> property must be set to the
710
+ // path of the included "document-domain.html" file, which can be renamed or
711
+ // modified if necessary (note that the document.domain specified must be the
712
+ // same in both your main JavaScript as well as in this file).
713
+ //
714
+ // Usage:
715
+ //
716
+ // jQuery.fn.hashchange.domain = document.domain;
717
+
718
+ // Property: jQuery.fn.hashchange.src
719
+ //
720
+ // If, for some reason, you need to specify an Iframe src file (for example,
721
+ // when setting document.domain as in <jQuery.fn.hashchange.domain>), you can
722
+ // do so using this property. Note that when using this property, history
723
+ // won't be recorded in IE6/7 until the Iframe src file loads. This property
724
+ // is only applicable if you are supporting IE6/7 (or IE8 operating in "IE7
725
+ // compatibility" mode).
726
+ //
727
+ // Usage:
728
+ //
729
+ // jQuery.fn.hashchange.src = 'path/to/file.html';
730
+
731
+ $.fn[ str_hashchange ].delay = 50;
732
+ /*
733
+ $.fn[ str_hashchange ].domain = null;
734
+ $.fn[ str_hashchange ].src = null;
735
+ */
736
+
737
+ // Event: hashchange event
738
+ //
739
+ // Fired when location.hash changes. In browsers that support it, the native
740
+ // HTML5 window.onhashchange event is used, otherwise a polling loop is
741
+ // initialized, running every <jQuery.fn.hashchange.delay> milliseconds to
742
+ // see if the hash has changed. In IE6/7 (and IE8 operating in "IE7
743
+ // compatibility" mode), a hidden Iframe is created to allow the back button
744
+ // and hash-based history to work.
745
+ //
746
+ // Usage as described in <jQuery.fn.hashchange>:
747
+ //
748
+ // > // Bind an event handler.
749
+ // > jQuery(window).hashchange( function(e) {
750
+ // > var hash = location.hash;
751
+ // > ...
752
+ // > });
753
+ // >
754
+ // > // Manually trigger the event handler.
755
+ // > jQuery(window).hashchange();
756
+ //
757
+ // A more verbose usage that allows for event namespacing:
758
+ //
759
+ // > // Bind an event handler.
760
+ // > jQuery(window).bind( 'hashchange', function(e) {
761
+ // > var hash = location.hash;
762
+ // > ...
763
+ // > });
764
+ // >
765
+ // > // Manually trigger the event handler.
766
+ // > jQuery(window).trigger( 'hashchange' );
767
+ //
768
+ // Additional Notes:
769
+ //
770
+ // * The polling loop and Iframe are not created until at least one handler
771
+ // is actually bound to the 'hashchange' event.
772
+ // * If you need the bound handler(s) to execute immediately, in cases where
773
+ // a location.hash exists on page load, via bookmark or page refresh for
774
+ // example, use jQuery(window).hashchange() or the more verbose
775
+ // jQuery(window).trigger( 'hashchange' ).
776
+ // * The event can be bound before DOM ready, but since it won't be usable
777
+ // before then in IE6/7 (due to the necessary Iframe), recommended usage is
778
+ // to bind it inside a DOM ready handler.
779
+
780
+ // Override existing $.event.special.hashchange methods (allowing this plugin
781
+ // to be defined after jQuery BBQ in BBQ's source code).
782
+ special[ str_hashchange ] = $.extend( special[ str_hashchange ], {
783
+
784
+ // Called only when the first 'hashchange' event is bound to window.
785
+ setup: function() {
786
+ // If window.onhashchange is supported natively, there's nothing to do..
787
+ if ( supports_onhashchange ) { return false; }
788
+
789
+ // Otherwise, we need to create our own. And we don't want to call this
790
+ // until the user binds to the event, just in case they never do, since it
791
+ // will create a polling loop and possibly even a hidden Iframe.
792
+ $( fake_onhashchange.start );
793
+ },
794
+
795
+ // Called only when the last 'hashchange' event is unbound from window.
796
+ teardown: function() {
797
+ // If window.onhashchange is supported natively, there's nothing to do..
798
+ if ( supports_onhashchange ) { return false; }
799
+
800
+ // Otherwise, we need to stop ours (if possible).
801
+ $( fake_onhashchange.stop );
802
+ }
803
+
804
+ });
805
+
806
+ // fake_onhashchange does all the work of triggering the window.onhashchange
807
+ // event for browsers that don't natively support it, including creating a
808
+ // polling loop to watch for hash changes and in IE 6/7 creating a hidden
809
+ // Iframe to enable back and forward.
810
+ fake_onhashchange = (function(){
811
+ var self = {},
812
+ timeout_id,
813
+
814
+ // Remember the initial hash so it doesn't get triggered immediately.
815
+ last_hash = get_fragment(),
816
+
817
+ fn_retval = function(val){ return val; },
818
+ history_set = fn_retval,
819
+ history_get = fn_retval;
820
+
821
+ // Start the polling loop.
822
+ self.start = function() {
823
+ timeout_id || poll();
824
+ };
825
+
826
+ // Stop the polling loop.
827
+ self.stop = function() {
828
+ timeout_id && clearTimeout( timeout_id );
829
+ timeout_id = undefined;
830
+ };
831
+
832
+ // This polling loop checks every $.fn.hashchange.delay milliseconds to see
833
+ // if location.hash has changed, and triggers the 'hashchange' event on
834
+ // window when necessary.
835
+ function poll() {
836
+ var hash = get_fragment(),
837
+ history_hash = history_get( last_hash );
838
+
839
+ if ( hash !== last_hash ) {
840
+ history_set( last_hash = hash, history_hash );
841
+
842
+ $(window).trigger( str_hashchange );
843
+
844
+ } else if ( history_hash !== last_hash ) {
845
+ location.href = location.href.replace( /#.*/, '' ) + history_hash;
846
+ }
847
+
848
+ timeout_id = setTimeout( poll, $.fn[ str_hashchange ].delay );
849
+ };
850
+
851
+ // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
852
+ // vvvvvvvvvvvvvvvvvvv REMOVE IF NOT SUPPORTING IE6/7/8 vvvvvvvvvvvvvvvvvvv
853
+ // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
854
+ $.browser.msie && !supports_onhashchange && (function(){
855
+ // Not only do IE6/7 need the "magical" Iframe treatment, but so does IE8
856
+ // when running in "IE7 compatibility" mode.
857
+
858
+ var iframe,
859
+ iframe_src;
860
+
861
+ // When the event is bound and polling starts in IE 6/7, create a hidden
862
+ // Iframe for history handling.
863
+ self.start = function(){
864
+ if ( !iframe ) {
865
+ iframe_src = $.fn[ str_hashchange ].src;
866
+ iframe_src = iframe_src && iframe_src + get_fragment();
867
+
868
+ // Create hidden Iframe. Attempt to make Iframe as hidden as possible
869
+ // by using techniques from http://www.paciellogroup.com/blog/?p=604.
870
+ iframe = $('<iframe tabindex="-1" title="empty"/>').hide()
871
+
872
+ // When Iframe has completely loaded, initialize the history and
873
+ // start polling.
874
+ .one( 'load', function(){
875
+ iframe_src || history_set( get_fragment() );
876
+ poll();
877
+ })
878
+
879
+ // Load Iframe src if specified, otherwise nothing.
880
+ .attr( 'src', iframe_src || 'javascript:0' )
881
+
882
+ // Append Iframe after the end of the body to prevent unnecessary
883
+ // initial page scrolling (yes, this works).
884
+ .insertAfter( 'body' )[0].contentWindow;
885
+
886
+ // Whenever `document.title` changes, update the Iframe's title to
887
+ // prettify the back/next history menu entries. Since IE sometimes
888
+ // errors with "Unspecified error" the very first time this is set
889
+ // (yes, very useful) wrap this with a try/catch block.
890
+ doc.onpropertychange = function(){
891
+ try {
892
+ if ( event.propertyName === 'title' ) {
893
+ iframe.document.title = doc.title;
894
+ }
895
+ } catch(e) {}
896
+ };
897
+
898
+ }
899
+ };
900
+
901
+ // Override the "stop" method since an IE6/7 Iframe was created. Even
902
+ // if there are no longer any bound event handlers, the polling loop
903
+ // is still necessary for back/next to work at all!
904
+ self.stop = fn_retval;
905
+
906
+ // Get history by looking at the hidden Iframe's location.hash.
907
+ history_get = function() {
908
+ return get_fragment( iframe.location.href );
909
+ };
910
+
911
+ // Set a new history item by opening and then closing the Iframe
912
+ // document, *then* setting its location.hash. If document.domain has
913
+ // been set, update that as well.
914
+ history_set = function( hash, history_hash ) {
915
+ var iframe_doc = iframe.document,
916
+ domain = $.fn[ str_hashchange ].domain;
917
+
918
+ if ( hash !== history_hash ) {
919
+ // Update Iframe with any initial `document.title` that might be set.
920
+ iframe_doc.title = doc.title;
921
+
922
+ // Opening the Iframe's document after it has been closed is what
923
+ // actually adds a history entry.
924
+ iframe_doc.open();
925
+
926
+ // Set document.domain for the Iframe document as well, if necessary.
927
+ domain && iframe_doc.write( '<script>document.domain="' + domain + '"</script>' );
928
+
929
+ iframe_doc.close();
930
+
931
+ // Update the Iframe's hash, for great justice.
932
+ iframe.location.hash = hash;
933
+ }
934
+ };
935
+
936
+ })();
937
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
938
+ // ^^^^^^^^^^^^^^^^^^^ REMOVE IF NOT SUPPORTING IE6/7/8 ^^^^^^^^^^^^^^^^^^^
939
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
940
+
941
+ return self;
942
+ })();
943
+
944
+ })(jQuery,this);
945
+
946
+
947
+ (function ( jQuery ) {
948
+
949
+ jQuery.widget( "mobile.page", jQuery.mobile.widget, {
950
+ options: {},
951
+
952
+ _create: function() {
953
+ var $elem = this.element;
954
+
955
+ if ( this._trigger( "beforeCreate" ) === false ) {
956
+ return;
957
+ }
958
+
959
+ //some of the form elements currently rely on the presence of ui-page and ui-content
960
+ // classes so we'll handle page and content roles outside of the main role processing
961
+ // loop below.
962
+ $elem.find( "[data-role='page'], [data-role='content']" ).andSelf().each(function() {
963
+ jQuery(this).addClass( "ui-" + jQuery(this).data( "role" ) );
964
+ });
965
+
966
+ $elem.find( "[data-role='nojs']" ).addClass( "ui-nojs" );
967
+
968
+ this._enchanceControls();
969
+
970
+ // pre-find data els
971
+ var $dataEls = $elem.find( "[data-role]" ).andSelf().each(function() {
972
+ var $this = jQuery( this ),
973
+ role = $this.data( "role" ),
974
+ theme = $this.data( "theme" );
975
+
976
+ //apply theming and markup modifications to page,header,content,footer
977
+ if ( role === "header" || role === "footer" ) {
978
+ $this.addClass( "ui-bar-" + (theme || $this.parent('[data-role=page]').data( "theme" ) || "a") );
979
+
980
+ // add ARIA role
981
+ $this.attr( "role", role === "header" ? "banner" : "contentinfo" );
982
+
983
+ //right,left buttons
984
+ var $headeranchors = $this.children( "a" ),
985
+ leftbtn = $headeranchors.hasClass( "ui-btn-left" ),
986
+ rightbtn = $headeranchors.hasClass( "ui-btn-right" );
987
+
988
+ if ( !leftbtn ) {
989
+ leftbtn = $headeranchors.eq( 0 ).not( ".ui-btn-right" ).addClass( "ui-btn-left" ).length;
990
+ }
991
+
992
+ if ( !rightbtn ) {
993
+ rightbtn = $headeranchors.eq( 1 ).addClass( "ui-btn-right" ).length;
994
+ }
995
+
996
+ // auto-add back btn on pages beyond first view
997
+ if ( jQuery.mobile.addBackBtn && role === "header" &&
998
+ (jQuery.mobile.urlStack.length > 1 || jQuery(".ui-page").length > 1) &&
999
+ !leftbtn && !$this.data( "noBackBtn" ) ) {
1000
+
1001
+ jQuery( "<a href='#' class='ui-btn-left' data-icon='arrow-l'>Back</a>" )
1002
+ .click(function() {
1003
+ history.back();
1004
+ return false;
1005
+ })
1006
+ .prependTo( $this );
1007
+ }
1008
+
1009
+ //page title
1010
+ $this.children( "h1, h2, h3, h4, h5, h6" )
1011
+ .addClass( "ui-title" )
1012
+ //regardless of h element number in src, it becomes h1 for the enhanced page
1013
+ .attr({ "tabindex": "0", "role": "heading", "aria-level": "1" });
1014
+
1015
+ } else if ( role === "content" ) {
1016
+ if ( theme ) {
1017
+ $this.addClass( "ui-body-" + theme );
1018
+ }
1019
+
1020
+ // add ARIA role
1021
+ $this.attr( "role", "main" );
1022
+
1023
+ } else if ( role === "page" ) {
1024
+ $this.addClass( "ui-body-" + (theme || "c") );
1025
+ }
1026
+
1027
+ switch(role) {
1028
+ case "header":
1029
+ case "footer":
1030
+ case "page":
1031
+ case "content":
1032
+ $this.addClass( "ui-" + role );
1033
+ break;
1034
+ case "collapsible":
1035
+ case "fieldcontain":
1036
+ case "navbar":
1037
+ case "listview":
1038
+ case "dialog":
1039
+ $this[ role ]();
1040
+ break;
1041
+ }
1042
+ });
1043
+
1044
+ //links in bars, or those with data-role become buttons
1045
+ $elem.find( "[data-role='button'], .ui-bar a, .ui-header a, .ui-footer a" )
1046
+ .not( ".ui-btn" )
1047
+ .buttonMarkup();
1048
+
1049
+ $elem
1050
+ .find("[data-role='controlgroup']")
1051
+ .controlgroup();
1052
+
1053
+ //links within content areas
1054
+ $elem.find( "a:not(.ui-btn):not(.ui-link-inherit)" )
1055
+ .addClass( "ui-link" );
1056
+
1057
+ //fix toolbars
1058
+ $elem.fixHeaderFooter();
1059
+ },
1060
+
1061
+ _enchanceControls: function() {
1062
+ // degrade inputs to avoid poorly implemented native functionality
1063
+ this.element.find( "input" ).each(function() {
1064
+ var type = this.getAttribute( "type" );
1065
+ if ( jQuery.mobile.degradeInputs[ type ] ) {
1066
+ jQuery( this ).replaceWith(
1067
+ jQuery( "<div>" ).html( jQuery(this).clone() ).html()
1068
+ .replace( /type="([a-zA-Z]+)"/, "data-type='$1'" ) );
1069
+ }
1070
+ });
1071
+
1072
+ // enchance form controls
1073
+ this.element
1074
+ .find( "[type='radio'], [type='checkbox']" )
1075
+ .checkboxradio();
1076
+
1077
+ this.element
1078
+ .find( "button, [type='button'], [type='submit'], [type='reset'], [type='image']" )
1079
+ .not( ".ui-nojs" )
1080
+ .button();
1081
+
1082
+ this.element
1083
+ .find( "input, textarea" )
1084
+ .not( "[type='radio'], [type='checkbox'], button, [type='button'], [type='submit'], [type='reset'], [type='image']" )
1085
+ .customTextInput();
1086
+
1087
+ this.element
1088
+ .find( "input, select" )
1089
+ .filter( "[data-role='slider'], [data-type='range']" )
1090
+ .slider();
1091
+
1092
+ this.element
1093
+ .find( "select:not([data-role='slider'])" )
1094
+ .customSelect();
1095
+ }
1096
+ });
1097
+
1098
+ })( jQuery );
1099
+
1100
+
1101
+ /*
1102
+ * jQuery Mobile Framework : prototype for "fixHeaderFooter" plugin - on-demand positioning for headers,footers
1103
+ * Copyright (c) jQuery Project
1104
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1105
+ * Note: Code is in draft form and is subject to change
1106
+ */
1107
+ (function($){
1108
+ $.fn.fixHeaderFooter = function(options){
1109
+ if( !$.support.scrollTop ){ return $(this); }
1110
+ return $(this).each(function(){
1111
+ if( $(this).data('fullscreen') ){ $(this).addClass('ui-page-fullscreen'); }
1112
+ $(this).find('.ui-header[data-position="fixed"]').addClass('ui-header-fixed ui-fixed-inline fade'); //should be slidedown
1113
+ $(this).find('.ui-footer[data-position="fixed"]').addClass('ui-footer-fixed ui-fixed-inline fade'); //should be slideup
1114
+ });
1115
+ };
1116
+
1117
+ //single controller for all showing,hiding,toggling
1118
+ $.fixedToolbars = (function(){
1119
+ if( !$.support.scrollTop ){ return; }
1120
+ var currentstate = 'inline',
1121
+ delayTimer,
1122
+ ignoreTargets = 'a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed',
1123
+ toolbarSelector = '.ui-page-active .ui-header-fixed:first, .ui-page-active .ui-footer-fixed:not(.ui-footer-duplicate):last',
1124
+ stickyFooter, //for storing quick references to duplicate footers
1125
+ supportTouch = $.support.touch,
1126
+ touchStartEvent = supportTouch ? "touchstart" : "mousedown",
1127
+ touchStopEvent = supportTouch ? "touchend" : "mouseup",
1128
+ stateBefore = null,
1129
+ scrollTriggered = false;
1130
+
1131
+ $(function() {
1132
+ $(document)
1133
+ .bind(touchStartEvent,function(event){
1134
+ if( $(event.target).closest(ignoreTargets).length ){ return; }
1135
+ stateBefore = currentstate;
1136
+ $.fixedToolbars.hide(true);
1137
+ })
1138
+ .bind('scrollstart',function(event){
1139
+ if( $(event.target).closest(ignoreTargets).length ){ return; } //because it could be a touchmove...
1140
+ scrollTriggered = true;
1141
+ if(stateBefore == null){ stateBefore = currentstate; }
1142
+ $.fixedToolbars.hide(true);
1143
+ })
1144
+ .bind(touchStopEvent,function(event){
1145
+ if( $(event.target).closest(ignoreTargets).length ){ return; }
1146
+ if( !scrollTriggered ){
1147
+ $.fixedToolbars.toggle(stateBefore);
1148
+ stateBefore = null;
1149
+ }
1150
+ })
1151
+ .bind('scrollstop',function(event){
1152
+ if( $(event.target).closest(ignoreTargets).length ){ return; }
1153
+ scrollTriggered = false;
1154
+ $.fixedToolbars.toggle( stateBefore == 'overlay' ? 'inline' : 'overlay' );
1155
+ stateBefore = null;
1156
+ });
1157
+
1158
+ //function to return another footer already in the dom with the same data-id
1159
+ function findStickyFooter(el){
1160
+ var thisFooter = el.find('[data-role="footer"]');
1161
+ return jQuery( '.ui-footer[data-id="'+ thisFooter.data('id') +'"]:not(.ui-footer-duplicate)' ).not(thisFooter);
1162
+ }
1163
+
1164
+ //before page is shown, check for duplicate footer
1165
+ $('.ui-page').live('pagebeforeshow', function(event, ui){
1166
+ stickyFooter = findStickyFooter( $(event.target) );
1167
+ if( stickyFooter.length ){
1168
+ //if the existing footer is the first of its kind, create a placeholder before stealing it
1169
+ if( stickyFooter.parents('.ui-page:eq(0)').find('.ui-footer[data-id="'+ stickyFooter.data('id') +'"]').length == 1 ){
1170
+ stickyFooter.before( stickyFooter.clone().addClass('ui-footer-duplicate') );
1171
+ }
1172
+ $(event.target).find('[data-role="footer"]').addClass('ui-footer-duplicate');
1173
+ stickyFooter.appendTo($.pageContainer).css('top',0);
1174
+ setTop(stickyFooter);
1175
+ }
1176
+ });
1177
+
1178
+ //after page is shown, append footer to new page
1179
+ $('.ui-page').live('pageshow', function(event, ui){
1180
+ if( stickyFooter && stickyFooter.length ){
1181
+ stickyFooter.appendTo(event.target).css('top',0);
1182
+ }
1183
+ $.fixedToolbars.show(true);
1184
+ });
1185
+
1186
+ });
1187
+
1188
+ function setTop(el){
1189
+ var fromTop = $(window).scrollTop(),
1190
+ thisTop = el.offset().top,
1191
+ thisCSStop = el.css('top') == 'auto' ? 0 : parseFloat(el.css('top')),
1192
+ screenHeight = window.innerHeight,
1193
+ thisHeight = el.outerHeight(),
1194
+ useRelative = el.parents('.ui-page:not(.ui-page-fullscreen)').length,
1195
+ relval;
1196
+ if( el.is('.ui-header-fixed') ){
1197
+ relval = fromTop - thisTop + thisCSStop;
1198
+ if( relval < thisTop){ relval = 0; }
1199
+ return el.css('top', ( useRelative ) ? relval : fromTop);
1200
+ }
1201
+ else{
1202
+ relval = -1 * (thisTop - (fromTop + screenHeight) + thisCSStop + thisHeight);
1203
+ if( relval > thisTop ){ relval = 0; }
1204
+ return el.css('top', ( useRelative ) ? relval : fromTop + screenHeight - thisHeight );
1205
+ }
1206
+ }
1207
+
1208
+ //exposed methods
1209
+ return {
1210
+ show: function(immediately){
1211
+ currentstate = 'overlay';
1212
+ return $( toolbarSelector ).each(function(){
1213
+ var el = $(this),
1214
+ fromTop = $(window).scrollTop(),
1215
+ thisTop = el.offset().top,
1216
+ screenHeight = window.innerHeight,
1217
+ thisHeight = el.outerHeight(),
1218
+ alreadyVisible = (el.is('.ui-header-fixed') && fromTop <= thisTop + thisHeight) || (el.is('.ui-footer-fixed') && thisTop <= fromTop + screenHeight);
1219
+
1220
+ //add state class
1221
+ el.addClass('ui-fixed-overlay').removeClass('ui-fixed-inline');
1222
+
1223
+ if( !alreadyVisible && !immediately ){
1224
+ el.addClass('in').animationComplete(function(){
1225
+ el.removeClass('in');
1226
+ });
1227
+ }
1228
+ setTop(el);
1229
+ });
1230
+ },
1231
+ hide: function(immediately){
1232
+ currentstate = 'inline';
1233
+ return $( toolbarSelector ).each(function(){
1234
+ var el = $(this);
1235
+
1236
+ //add state class
1237
+ el.addClass('ui-fixed-inline').removeClass('ui-fixed-overlay');
1238
+
1239
+ if(immediately){
1240
+ el.css('top',0);
1241
+ }
1242
+ else{
1243
+ if( el.css('top') !== 'auto' && parseFloat(el.css('top')) !== 0 ){
1244
+ var classes = 'out reverse';
1245
+ el.addClass(classes).animationComplete(function(){
1246
+ el.removeClass(classes);
1247
+ el.css('top',0);
1248
+ });
1249
+ }
1250
+ }
1251
+ });
1252
+ },
1253
+ hideAfterDelay: function(){
1254
+ delayTimer = setTimeout(function(){
1255
+ $.fixedToolbars.hide();
1256
+ }, 3000);
1257
+ },
1258
+ toggle: function(from){
1259
+ if(from){ currentstate = from; }
1260
+ return (currentstate == 'overlay') ? $.fixedToolbars.hide() : $.fixedToolbars.show();
1261
+ }
1262
+ };
1263
+ })();
1264
+
1265
+ })(jQuery);
1266
+
1267
+ /*
1268
+ * jQuery Mobile Framework : "customCheckboxRadio" plugin (based on code from Filament Group,Inc)
1269
+ * Copyright (c) jQuery Project
1270
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1271
+ * Note: Code is in draft form and is subject to change
1272
+ */
1273
+ (function ( $ ) {
1274
+ $.widget( "mobile.checkboxradio", $.mobile.widget, {
1275
+ options: {
1276
+ theme: undefined,
1277
+ icon: undefined
1278
+ },
1279
+ _create: function(){
1280
+ var input = this.element,
1281
+ label = jQuery("label[for='" + input.attr( "id" ) + "']"),
1282
+ inputtype = input.attr( "type" ),
1283
+ checkedicon = "ui-icon-" + inputtype + "-on",
1284
+ uncheckedicon = "ui-icon-" + inputtype + "-off";
1285
+
1286
+ if ( inputtype != "checkbox" && inputtype != "radio" ) { return; }
1287
+
1288
+ label
1289
+ .buttonMarkup({
1290
+ iconpos: this.options.icon,
1291
+ theme: this.options.theme,
1292
+ icon: this.options.icon ? uncheckedicon : ( this.element.parents( "[data-type='horizontal']" ).length ? undefined : uncheckedicon ),
1293
+ shadow: false
1294
+ });
1295
+
1296
+ // wrap the input + label in a div
1297
+ input
1298
+ .add( label )
1299
+ .wrapAll( "<div class='ui-" + inputtype +"'></div>" );
1300
+
1301
+ label.bind({
1302
+ mouseover: function() {
1303
+ if( $(this).parent().is('.ui-disabled') ){ return false; }
1304
+ },
1305
+
1306
+ mousedown: function() {
1307
+ if( $(this).parent().is('.ui-disabled') ){ return false; }
1308
+ label.data( "state", input.attr( "checked" ) );
1309
+ },
1310
+
1311
+ click: function() {
1312
+ setTimeout(function() {
1313
+ if ( input.attr( "checked" ) === label.data( "state" ) ) {
1314
+ input.trigger( "click" );
1315
+ }
1316
+ }, 1);
1317
+ }
1318
+ });
1319
+
1320
+ input
1321
+ .bind({
1322
+
1323
+ click: function() {
1324
+ jQuery( "input[name='" + input.attr( "name" ) + "'][type='" + inputtype + "']" ).checkboxradio( "refresh" );
1325
+ },
1326
+
1327
+ focus: function() {
1328
+ label.addClass( "ui-focus" );
1329
+ },
1330
+
1331
+ blur: function() {
1332
+ label.removeClass( "ui-focus" );
1333
+ }
1334
+ });
1335
+
1336
+ this.refresh();
1337
+
1338
+ },
1339
+
1340
+ refresh: function( ){
1341
+ var input = this.element,
1342
+ label = jQuery("label[for='" + input.attr( "id" ) + "']"),
1343
+ inputtype = input.attr( "type" ),
1344
+ icon = label.find( ".ui-icon" ),
1345
+ checkedicon = "ui-icon-" + inputtype + "-on",
1346
+ uncheckedicon = "ui-icon-" + inputtype + "-off";
1347
+
1348
+ if ( input[0].checked ) {
1349
+ label.addClass( "ui-btn-active" );
1350
+ icon.addClass( checkedicon );
1351
+ icon.removeClass( uncheckedicon );
1352
+
1353
+ } else {
1354
+ label.removeClass( "ui-btn-active" );
1355
+ icon.removeClass( checkedicon );
1356
+ icon.addClass( uncheckedicon );
1357
+ }
1358
+
1359
+ if( input.is( ":disabled" ) ){
1360
+ this.disable();
1361
+ }
1362
+ else {
1363
+ this.enable();
1364
+ }
1365
+ },
1366
+
1367
+ disable: function(){
1368
+ this.element.attr("disabled",true).parent().addClass("ui-disabled");
1369
+ },
1370
+
1371
+ enable: function(){
1372
+ this.element.attr("disabled",false).parent().removeClass("ui-disabled");
1373
+ }
1374
+ });
1375
+ })( jQuery );
1376
+
1377
+
1378
+ /*
1379
+ * jQuery Mobile Framework : "customTextInput" plugin for text inputs, textareas (based on code from Filament Group,Inc)
1380
+ * Copyright (c) jQuery Project
1381
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1382
+ * Note: Code is in draft form and is subject to change
1383
+ */
1384
+ (function($){
1385
+ jQuery.fn.customTextInput = function(options){
1386
+ return $(this).each(function(){
1387
+ var input = $(this);
1388
+
1389
+ var o = $.extend({
1390
+ search: input.is('[type="search"],[data-type="search"]'),
1391
+ theme: input.data("theme") || "c"
1392
+ }, options);
1393
+
1394
+ $('label[for='+input.attr('id')+']').addClass('ui-input-text');
1395
+
1396
+ input.addClass('ui-input-text ui-body-'+ o.theme);
1397
+
1398
+ var focusedEl = input;
1399
+
1400
+ //"search" input widget
1401
+ if(o.search){
1402
+ focusedEl = input.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-body-c ui-btn-shadow ui-icon-search"></div>').parent();
1403
+ var clearbtn = $('<a href="#" class="ui-input-clear" title="clear text">clear text</a>')
1404
+ .click(function(){
1405
+ input.val('').focus();
1406
+ input.trigger('change');
1407
+ clearbtn.addClass('ui-input-clear-hidden');
1408
+ return false;
1409
+ })
1410
+ .appendTo(focusedEl)
1411
+ .buttonMarkup({icon: 'delete', iconpos: 'notext', corners:true, shadow:true});
1412
+
1413
+ function toggleClear(){
1414
+ if(input.val() == ''){
1415
+ clearbtn.addClass('ui-input-clear-hidden');
1416
+ }
1417
+ else{
1418
+ clearbtn.removeClass('ui-input-clear-hidden');
1419
+ }
1420
+ }
1421
+
1422
+ toggleClear();
1423
+ input.keyup(toggleClear);
1424
+ }
1425
+ else{
1426
+ input.addClass('ui-corner-all ui-shadow-inset');
1427
+ }
1428
+
1429
+ input
1430
+ .focus(function(){
1431
+ focusedEl.addClass('ui-focus');
1432
+ })
1433
+ .blur(function(){
1434
+ focusedEl.removeClass('ui-focus');
1435
+ });
1436
+
1437
+ //autogrow
1438
+ if ( input.is('textarea') ) {
1439
+ var extraLineHeight = 15,
1440
+ keyupTimeoutBuffer = 100,
1441
+ keyup = function() {
1442
+ var scrollHeight = input[0].scrollHeight,
1443
+ clientHeight = input[0].clientHeight;
1444
+ if ( clientHeight < scrollHeight ) {
1445
+ input.css({ height: (scrollHeight + extraLineHeight) });
1446
+ }
1447
+ },
1448
+ keyupTimeout;
1449
+ input.keyup(function() {
1450
+ clearTimeout( keyupTimeout );
1451
+ keyupTimeout = setTimeout( keyup, keyupTimeoutBuffer );
1452
+ });
1453
+ }
1454
+ });
1455
+ };
1456
+ })(jQuery);
1457
+
1458
+
1459
+ /*
1460
+ * jQuery Mobile Framework : "customSelect" plugin (based on code from Filament Group,Inc)
1461
+ * Copyright (c) jQuery Project
1462
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1463
+ * Note: Code is in draft form and is subject to change
1464
+ */
1465
+ (function($){
1466
+ $.fn.customSelect = function(options){
1467
+ return $(this).each(function(){
1468
+ var select = $(this)
1469
+ .attr( "tabindex", "-1" )
1470
+ .wrap( "<div class='ui-select'>" ),
1471
+ selectID = select.attr( "id" ),
1472
+ label = $( "label[for="+ selectID +"]" )
1473
+ .addClass( "ui-select" ),
1474
+
1475
+ //extendable options
1476
+ o = $.extend({
1477
+ chooseText: label.text(),
1478
+ theme: select.data("theme")
1479
+ }, options),
1480
+
1481
+ buttonId = selectID + "-button",
1482
+ menuId = selectID + "-menu",
1483
+ thisPage = select.closest( ".ui-page" ),
1484
+ menuType,
1485
+ currScroll,
1486
+ button = $( "<a>", {
1487
+ "href": "#",
1488
+ "role": "button",
1489
+ "id": buttonId,
1490
+ "aria-haspopup": "true",
1491
+ "aria-owns": menuId
1492
+ })
1493
+ .text( $( this.options.item(this.selectedIndex) ).text() )
1494
+ .insertBefore( select )
1495
+ .buttonMarkup({
1496
+ iconpos: 'right',
1497
+ icon: 'arrow-d',
1498
+ theme: o.theme
1499
+ }),
1500
+ menuPage = $( "<div data-role='dialog' data-theme='a'>" +
1501
+ "<div data-role='header' data-theme='b'>" +
1502
+ "<div class='ui-title'>" + o.chooseText + "</div>"+
1503
+ "</div>"+
1504
+ "<div data-role='content'></div>"+
1505
+ "</div>" )
1506
+ .appendTo( $.pageContainer )
1507
+ .page(),
1508
+ menuPageContent = menuPage.find( ".ui-content" ),
1509
+ screen = $( "<div>", {
1510
+ "class": "ui-listbox-screen ui-overlay ui-screen-hidden fade"
1511
+ })
1512
+ .appendTo( thisPage ),
1513
+ listbox = $( "<div>", { "class": "ui-listbox ui-listbox-hidden ui-body-a ui-overlay-shadow ui-corner-all pop"} )
1514
+ .insertAfter(screen),
1515
+ list = $( "<ul>", {
1516
+ "class": "ui-listbox-list",
1517
+ "id": menuId,
1518
+ "role": "listbox",
1519
+ "aria-labelledby": buttonId
1520
+ })
1521
+ .appendTo( listbox );
1522
+
1523
+ //populate menu
1524
+ select.find( "option" ).each(function( i ){
1525
+ var selected = (select[0].selectedIndex == i),
1526
+ anchor = $("<a>", {
1527
+ "aria-selected": selected,
1528
+ "role": "option",
1529
+ "href": "#"
1530
+ })
1531
+ .text( $(this).text() );
1532
+
1533
+ $( "<li>", {
1534
+ "class": selected ? "ui-btn-active" : '',
1535
+ "data-icon": "checkbox-on"
1536
+ })
1537
+ .append( anchor )
1538
+ .appendTo( list );
1539
+ });
1540
+
1541
+ //now populated, create listview
1542
+ list.listview();
1543
+
1544
+
1545
+
1546
+ function showmenu(){
1547
+ var menuHeight = list.outerHeight();
1548
+ currScroll = [ $(window).scrollLeft(), $(window).scrollTop() ];
1549
+
1550
+ if( menuHeight > window.innerHeight - 80 || !$.support.scrollTop ){
1551
+ menuType = "page";
1552
+ menuPageContent.append( list );
1553
+ $.changePage(menuPage, undefined);
1554
+ }
1555
+ else {
1556
+ menuType = "overlay";
1557
+
1558
+ screen
1559
+ .height( $(document).height() )
1560
+ .removeClass('ui-screen-hidden');
1561
+
1562
+ listbox
1563
+ .append( list )
1564
+ .removeClass( "ui-listbox-hidden" )
1565
+ .css({
1566
+ top: $(window).scrollTop() + (window.innerHeight/2),
1567
+ "margin-top": -menuHeight/2,
1568
+ left: window.innerWidth/2,
1569
+ "margin-left": -1* listbox.outerWidth() / 2
1570
+ })
1571
+ .addClass("in");
1572
+ }
1573
+ };
1574
+
1575
+ function hidemenu(){
1576
+ if(menuType == "page"){
1577
+ $.changePage([menuPage,thisPage], undefined, true);
1578
+ }
1579
+ else{
1580
+ screen.addClass( "ui-screen-hidden" );
1581
+ listbox.addClass( "ui-listbox-hidden" ).removeAttr( "style" ).removeClass("in");
1582
+ }
1583
+ };
1584
+
1585
+ //page show/hide events
1586
+ menuPage
1587
+ .bind("pageshow", function(){
1588
+ list.find( ".ui-btn-active" ).focus();
1589
+ return false;
1590
+ })
1591
+ .bind("pagehide", function(){
1592
+ window.scrollTo(currScroll[0], currScroll[1]);
1593
+ select.focus();
1594
+ listbox.append( list ).removeAttr('style');
1595
+ return false;
1596
+ });
1597
+
1598
+
1599
+ //select properties,events
1600
+ select
1601
+ .change(function(){
1602
+ var $el = select.get(0);
1603
+ button.find( ".ui-btn-text" ).text( $($el.options.item($el.selectedIndex)).text() );
1604
+ })
1605
+ .focus(function(){
1606
+ $(this).blur();
1607
+ button.focus();
1608
+ });
1609
+
1610
+ //button events
1611
+ button.mousedown(function(event){
1612
+ showmenu();
1613
+ return false;
1614
+ });
1615
+
1616
+ //apply click events for items
1617
+ list
1618
+ .find("li")
1619
+ .mousedown(function(){
1620
+ //deselect active
1621
+ list.find( "li" )
1622
+ .removeClass( "ui-btn-active" )
1623
+ .children(0)
1624
+ .attr( "aria-selected", "false");
1625
+
1626
+ //select this one
1627
+ $(this)
1628
+ .addClass( "ui-btn-active" )
1629
+ .find( "a" )
1630
+ .attr( "aria-selected", "true");
1631
+
1632
+ //update select
1633
+ var newIndex = list.find( "li" ).index( this ),
1634
+ prevIndex = select[0].selectedIndex;
1635
+
1636
+ select[0].selectedIndex = newIndex;
1637
+
1638
+ //trigger change event
1639
+ if(newIndex !== prevIndex){
1640
+ select.trigger( "change" );
1641
+ }
1642
+
1643
+ //hide custom select
1644
+ hidemenu();
1645
+ return false;
1646
+ });
1647
+
1648
+ //hide on outside click
1649
+ screen.click(function(){
1650
+ hidemenu();
1651
+ return false;
1652
+ });
1653
+ });
1654
+ };
1655
+
1656
+ })(jQuery);
1657
+
1658
+
1659
+
1660
+ /*
1661
+ * jQuery Mobile Framework : sample plugin for making button-like links
1662
+ * Copyright (c) jQuery Project
1663
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1664
+ * Note: Code is in draft form and is subject to change
1665
+ */
1666
+ (function( jQuery ) {
1667
+
1668
+ jQuery.fn.buttonMarkup = function( options ){
1669
+ return this.each( function() {
1670
+ var el = jQuery( this ),
1671
+ o = jQuery.extend( {}, jQuery.fn.buttonMarkup.defaults, el.data(), options),
1672
+
1673
+ // Classes Defined
1674
+ buttonClass,
1675
+ innerClass = "ui-btn-inner",
1676
+ iconClass;
1677
+
1678
+ if ( attachEvents ) {
1679
+ attachEvents();
1680
+ }
1681
+
1682
+ // if not, try to find closest theme container
1683
+ if ( !o.theme ) {
1684
+ var themedParent = el.closest("[class*='ui-bar-'],[class*='ui-body-']");
1685
+ o.theme = themedParent.length ?
1686
+ /ui-(bar|body)-([a-z])/.exec( themedParent.attr("class") )[2] :
1687
+ "c";
1688
+ }
1689
+
1690
+ buttonClass = "ui-btn ui-btn-up-" + o.theme;
1691
+
1692
+ if ( o.inline ) {
1693
+ buttonClass += " ui-btn-inline";
1694
+ }
1695
+
1696
+ if ( o.icon ) {
1697
+ o.icon = "ui-icon-" + o.icon;
1698
+ o.iconpos = o.iconpos || "left";
1699
+
1700
+ iconClass = "ui-icon " + o.icon;
1701
+
1702
+ if ( o.shadow ) {
1703
+ iconClass += " ui-icon-shadow"
1704
+ }
1705
+ }
1706
+
1707
+ if ( o.iconpos ) {
1708
+ buttonClass += " ui-btn-icon-" + o.iconpos;
1709
+
1710
+ if ( o.iconpos == "notext" && !el.attr("title") ) {
1711
+ el.attr( "title", el.text() );
1712
+ }
1713
+ }
1714
+
1715
+ if ( o.corners ) {
1716
+ buttonClass += " ui-btn-corner-all";
1717
+ innerClass += " ui-btn-corner-all";
1718
+ }
1719
+
1720
+ if ( o.shadow ) {
1721
+ buttonClass += " ui-shadow";
1722
+ }
1723
+
1724
+ el
1725
+ .attr( "data-theme", o.theme )
1726
+ .addClass( buttonClass );
1727
+
1728
+ var wrap = ("<D class='" + innerClass + "'><D class='ui-btn-text'></D>" +
1729
+ ( o.icon ? "<span class='" + iconClass + "'></span>" : "" ) +
1730
+ "</D>").replace(/D/g, o.wrapperEls);
1731
+
1732
+ el.wrapInner( wrap );
1733
+ });
1734
+ };
1735
+
1736
+ jQuery.fn.buttonMarkup.defaults = {
1737
+ corners: true,
1738
+ shadow: true,
1739
+ iconshadow: true,
1740
+ wrapperEls: "span"
1741
+ };
1742
+
1743
+ var attachEvents = function() {
1744
+ jQuery(".ui-btn").live({
1745
+ mousedown: function() {
1746
+ var theme = jQuery(this).attr( "data-theme" );
1747
+ jQuery(this).removeClass( "ui-btn-up-" + theme ).addClass( "ui-btn-down-" + theme );
1748
+ },
1749
+ mouseup: function() {
1750
+ var theme = jQuery(this).attr( "data-theme" );
1751
+ jQuery(this).removeClass( "ui-btn-down-" + theme ).addClass( "ui-btn-up-" + theme );
1752
+ },
1753
+ "mouseover focus": function() {
1754
+ var theme = jQuery(this).attr( "data-theme" );
1755
+ jQuery(this).removeClass( "ui-btn-up-" + theme ).addClass( "ui-btn-hover-" + theme );
1756
+ },
1757
+ "mouseout blur": function() {
1758
+ var theme = jQuery(this).attr( "data-theme" );
1759
+ jQuery(this).removeClass( "ui-btn-hover-" + theme ).addClass( "ui-btn-up-" + theme );
1760
+ }
1761
+ });
1762
+
1763
+ attachEvents = null;
1764
+ };
1765
+
1766
+ })(jQuery);
1767
+
1768
+
1769
+ /*
1770
+ * jQuery Mobile Framework : sample plugin for making button links that proxy to native input/buttons
1771
+ * Copyright (c) jQuery Project
1772
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1773
+ * Note: Code is in draft form and is subject to change
1774
+ */
1775
+ (function ( $ ) {
1776
+ $.widget( "mobile.button", $.mobile.widget, {
1777
+ options: {},
1778
+ _create: function(){
1779
+ var $el = this.element,
1780
+ type = $el.attr('type');
1781
+ $el
1782
+ .addClass('ui-btn-hidden')
1783
+ .attr('tabindex','-1');
1784
+
1785
+ //add ARIA role
1786
+ $( "<a>", {
1787
+ "href": "#",
1788
+ "role": "button",
1789
+ "aria-label": $el.attr( "type" )
1790
+ } )
1791
+ .text( $el.text() || $el.val() )
1792
+ .insertBefore( $el )
1793
+ .click(function(){
1794
+ if( type == "submit" ){
1795
+ $(this).closest('form').submit();
1796
+ }
1797
+ else{
1798
+ $el.click();
1799
+ }
1800
+
1801
+ return false;
1802
+ })
1803
+ .buttonMarkup({
1804
+ theme: $el.data("theme"),
1805
+ icon: $el.data("icon"),
1806
+ iconpos: $el.data("iconpos"),
1807
+ inline: $el.data("inline"),
1808
+ corners: $el.data("corners"),
1809
+ shadow: $el.data("shadow"),
1810
+ iconshadow: $el.data("icon-shadow")
1811
+ });
1812
+ }
1813
+ });
1814
+ })( jQuery );
1815
+
1816
+ /*
1817
+ * jQuery Mobile Framework : "slider" plugin (based on code from Filament Group,Inc)
1818
+ * Copyright (c) jQuery Project
1819
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1820
+ * Note: Code is in draft form and is subject to change
1821
+ */
1822
+ (function($){
1823
+ $.fn.slider = function(options){
1824
+ return this.each(function(){
1825
+ var control = $(this),
1826
+ themedParent = control.parents('[class*=ui-bar-],[class*=ui-body-]').eq(0),
1827
+
1828
+ o = $.extend({
1829
+ trackTheme: (themedParent.length ? themedParent.attr('class').match(/ui-(bar|body)-([a-z])/)[2] : 'c'),
1830
+ theme: control.data("theme") || (themedParent.length ? themedParent.attr('class').match(/ui-(bar|body)-([a-z])/)[2] : 'c')
1831
+ },options),
1832
+
1833
+ cType = control[0].nodeName.toLowerCase(),
1834
+ selectClass = (cType == 'select') ? 'ui-slider-switch' : '',
1835
+ controlID = control.attr('id'),
1836
+ labelID = controlID + '-label',
1837
+ label = $('[for='+ controlID +']').attr('id',labelID),
1838
+ val = (cType == 'input') ? control.val() : control[0].selectedIndex,
1839
+ min = (cType == 'input') ? parseFloat(control.attr('min')) : 0,
1840
+ max = (cType == 'input') ? parseFloat(control.attr('max')) : control.find('option').length-1,
1841
+ percent = val / (max - min) * 100,
1842
+ snappedPercent = percent,
1843
+ slider = $('<div class="ui-slider '+ selectClass +' ui-btn-down-'+o.trackTheme+' ui-btn-corner-all" role="application"></div>'),
1844
+ handle = $('<a href="#" class="ui-slider-handle"></a>')
1845
+ .appendTo(slider)
1846
+ .buttonMarkup({corners: true, theme: o.theme, shadow: true})
1847
+ .attr({
1848
+ 'role': 'slider',
1849
+ 'aria-valuemin': min,
1850
+ 'aria-valuemax': max,
1851
+ 'aria-valuenow': val,
1852
+ 'aria-valuetext': val,
1853
+ 'title': val,
1854
+ 'aria-labelledby': labelID
1855
+ }),
1856
+ dragging = false;
1857
+
1858
+ if(cType == 'select'){
1859
+ slider.wrapInner('<div class="ui-slider-inneroffset"></div>');
1860
+ var options = control.find('option');
1861
+
1862
+ control.find('option').each(function(i){
1863
+ var side = (i==0) ?'b':'a',
1864
+ corners = (i==0) ? 'right' :'left',
1865
+ theme = (i==0) ? ' ui-btn-down-' + o.trackTheme :' ui-btn-active';
1866
+ $('<div class="ui-slider-labelbg ui-slider-labelbg-'+ side + theme +' ui-btn-corner-'+ corners+'"></div>').prependTo(slider);
1867
+ $('<span class="ui-slider-label ui-slider-label-'+ side + theme +' ui-btn-corner-'+ corners+'" role="img">'+$(this).text()+'</span>').prependTo(handle);
1868
+ });
1869
+
1870
+ }
1871
+
1872
+ function updateControl(val){
1873
+ if(cType == 'input'){
1874
+ control.val(val);
1875
+ }
1876
+ else {
1877
+ control[0].selectedIndex = val;
1878
+ }
1879
+ control.trigger("change");
1880
+ }
1881
+
1882
+ function slideUpdate(event, val){
1883
+ if (val){
1884
+ percent = parseFloat(val) / (max - min) * 100;
1885
+ } else {
1886
+ var data = event.originalEvent.touches ? event.originalEvent.touches[ 0 ] : event,
1887
+ // a slight tolerance helped get to the ends of the slider
1888
+ tol = 4;
1889
+ if( !dragging
1890
+ || data.pageX < slider.offset().left - tol
1891
+ || data.pageX > slider.offset().left + slider.width() + tol ){
1892
+ return;
1893
+ }
1894
+ percent = Math.round(((data.pageX - slider.offset().left) / slider.width() ) * 100);
1895
+ }
1896
+ if( percent < 0 ) { percent = 0; }
1897
+ if( percent > 100 ) { percent = 100; }
1898
+ var newval = Math.round( (percent/100) * max );
1899
+ if( newval < min ) { newval = min; }
1900
+ if( newval > max ) { newval = max; }
1901
+ //flip the stack of the bg colors
1902
+ if(percent > 60 && cType == 'select'){
1903
+
1904
+ }
1905
+ snappedPercent = Math.round( newval / max * 100 );
1906
+ handle.css('left', percent + '%');
1907
+ handle.attr({
1908
+ 'aria-valuenow': (cType == 'input') ? newval : control.find('option').eq(newval).attr('value'),
1909
+ 'aria-valuetext': (cType == 'input') ? newval : control.find('option').eq(newval).text(),
1910
+ 'title': newval
1911
+ });
1912
+ updateSwitchClass(newval);
1913
+ updateControl(newval);
1914
+ }
1915
+
1916
+ function updateSwitchClass(val){
1917
+ if(cType == 'input'){return;}
1918
+ if(val == 0){ slider.addClass('ui-slider-switch-a').removeClass('ui-slider-switch-b'); }
1919
+ else { slider.addClass('ui-slider-switch-b').removeClass('ui-slider-switch-a'); }
1920
+ }
1921
+
1922
+ updateSwitchClass(val);
1923
+
1924
+ function updateSnap(){
1925
+ if(cType == 'select'){
1926
+ handle
1927
+ .addClass('ui-slider-handle-snapping')
1928
+ .css('left', snappedPercent + '%')
1929
+ .animationComplete(function(){
1930
+ handle.removeClass('ui-slider-handle-snapping');
1931
+ });
1932
+ }
1933
+ }
1934
+
1935
+ label.addClass('ui-slider');
1936
+
1937
+ control
1938
+ .addClass((cType == 'input') ? 'ui-slider-input' : 'ui-slider-switch')
1939
+ .keyup(function(e){
1940
+ slideUpdate(e, $(this).val() );
1941
+ });
1942
+
1943
+ slider
1944
+ .bind($.support.touch ? "touchstart" : "mousedown", function(event){
1945
+ dragging = true;
1946
+ if((cType == 'select')){
1947
+ val = control[0].selectedIndex;
1948
+ }
1949
+ slideUpdate(event);
1950
+ return false;
1951
+ })
1952
+ .bind($.support.touch ? "touchmove" : "mousemove", function(event){
1953
+ slideUpdate(event);
1954
+ return false;
1955
+ })
1956
+ .bind($.support.touch ? "touchend" : "mouseup", function(event){
1957
+ dragging = false;
1958
+ if(cType == 'select'){
1959
+ if(val == control[0].selectedIndex){
1960
+ val = val == 0 ? 1 : 0;
1961
+ //tap occurred, but value didn't change. flip it!
1962
+ slideUpdate(event,val);
1963
+ }
1964
+ updateSnap();
1965
+ }
1966
+ return false;
1967
+ })
1968
+ .insertAfter(control);
1969
+
1970
+ handle
1971
+ .css('left', percent + '%')
1972
+ .bind('click', function(e){ return false; });
1973
+ });
1974
+ };
1975
+ })(jQuery);
1976
+
1977
+
1978
+
1979
+ /*
1980
+ * jQuery Mobile Framework : "collapsible" plugin (based on code from Filament Group,Inc)
1981
+ * Copyright (c) jQuery Project
1982
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
1983
+ * Note: Code is in draft form and is subject to change
1984
+ */
1985
+ (function($){
1986
+ $.fn.collapsible = function(options){
1987
+ return $(this).each(function(){
1988
+ var o = $.extend({
1989
+ expandCueText: ' click to expand contents',
1990
+ collapseCueText: ' click to collapse contents',
1991
+ collapsed: $(this).is('[data-state="collapsed"]'),
1992
+ heading: '>h1,>h2,>h3,>h4,>h5,>h6,>legend',
1993
+ theme: $(this).data('theme'),
1994
+ iconTheme: $(this).data('icontheme') || 'd'
1995
+ },options);
1996
+
1997
+ //define
1998
+ var collapsibleContain = $(this).addClass('ui-collapsible-contain'),
1999
+ collapsibleHeading = $(this).find(o.heading).eq(0),
2000
+ collapsibleContent = collapsibleContain.wrapInner('<div class="ui-collapsible-content"></div>').find('.ui-collapsible-content'),
2001
+ collapsibleParent = $(this).closest('[data-role=collapsible-set]').addClass('ui-collapsible-set');
2002
+
2003
+ //replace collapsibleHeading if it's a legend
2004
+ if(collapsibleHeading.is('legend')){
2005
+ collapsibleHeading = $('<div role="heading">'+ collapsibleHeading.html() +'</div>').insertBefore(collapsibleHeading);
2006
+ collapsibleHeading.next().remove();
2007
+ }
2008
+
2009
+ //drop heading in before content
2010
+ collapsibleHeading.insertBefore(collapsibleContent);
2011
+
2012
+ //modify markup & attributes
2013
+ collapsibleHeading.addClass('ui-collapsible-heading')
2014
+ .append('<span class="ui-collapsible-heading-status"></span>')
2015
+ .wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>')
2016
+ .find('a:eq(0)')
2017
+ .buttonMarkup({
2018
+ shadow: !!!collapsibleParent.length,
2019
+ corners:false,
2020
+ iconPos: 'left',
2021
+ icon: 'plus',
2022
+ theme: o.theme
2023
+ })
2024
+ .find('.ui-icon')
2025
+ .removeAttr('class')
2026
+ .buttonMarkup({
2027
+ shadow: true,
2028
+ corners:true,
2029
+ iconPos: 'notext',
2030
+ icon: 'plus',
2031
+ theme: o.iconTheme
2032
+ });
2033
+
2034
+ if( !collapsibleParent.length ){
2035
+ collapsibleHeading
2036
+ .find('a:eq(0)')
2037
+ .addClass('ui-corner-all')
2038
+ .find('.ui-btn-inner')
2039
+ .addClass('ui-corner-all');
2040
+ }
2041
+ else {
2042
+ if( collapsibleContain.data('collapsible-last') ){
2043
+ collapsibleHeading
2044
+ .find('a:eq(0), .ui-btn-inner')
2045
+ .addClass('ui-corner-bottom');
2046
+ }
2047
+ }
2048
+
2049
+
2050
+ //events
2051
+ collapsibleContain
2052
+ .bind('collapse', function(event){
2053
+ if( !event.isDefaultPrevented() ){
2054
+ event.preventDefault();
2055
+ collapsibleHeading
2056
+ .addClass('ui-collapsible-heading-collapsed')
2057
+ .find('.ui-collapsible-heading-status').text(o.expandCueText);
2058
+
2059
+ collapsibleHeading.find('.ui-icon').removeClass('ui-icon-minus').addClass('ui-icon-plus');
2060
+ collapsibleContent.addClass('ui-collapsible-content-collapsed').attr('aria-hidden',true);
2061
+
2062
+ if( collapsibleContain.data('collapsible-last') ){
2063
+ collapsibleHeading
2064
+ .find('a:eq(0), .ui-btn-inner')
2065
+ .addClass('ui-corner-bottom');
2066
+ }
2067
+ }
2068
+
2069
+ })
2070
+ .bind('expand', function(event){
2071
+ if( !event.isDefaultPrevented() ){
2072
+ event.preventDefault();
2073
+ collapsibleHeading
2074
+ .removeClass('ui-collapsible-heading-collapsed')
2075
+ .find('.ui-collapsible-heading-status').text(o.collapseCueText);
2076
+
2077
+ collapsibleHeading.find('.ui-icon').removeClass('ui-icon-plus').addClass('ui-icon-minus');
2078
+ collapsibleContent.removeClass('ui-collapsible-content-collapsed').attr('aria-hidden',false);
2079
+
2080
+ if( collapsibleContain.data('collapsible-last') ){
2081
+ collapsibleHeading
2082
+ .find('a:eq(0), .ui-btn-inner')
2083
+ .removeClass('ui-corner-bottom');
2084
+ }
2085
+
2086
+ }
2087
+ })
2088
+ .trigger(o.collapsed ? 'collapse' : 'expand');
2089
+
2090
+
2091
+ //close others in a set
2092
+ if( collapsibleParent.length && !collapsibleParent.data("collapsiblebound") ){
2093
+ collapsibleParent
2094
+ .data("collapsiblebound", true)
2095
+ .bind("expand", function( event ){
2096
+ $(this).find( ".ui-collapsible-contain" )
2097
+ .not( $(event.target).closest( ".ui-collapsible-contain" ) )
2098
+ .not( "> .ui-collapsible-contain .ui-collapsible-contain" )
2099
+ .trigger( "collapse" );
2100
+ })
2101
+ var set = collapsibleParent.find('[data-role=collapsible]')
2102
+
2103
+ set.first()
2104
+ .find('a:eq(0)')
2105
+ .addClass('ui-corner-top')
2106
+ .find('.ui-btn-inner')
2107
+ .addClass('ui-corner-top');
2108
+
2109
+ set.last().data('collapsible-last', true)
2110
+ }
2111
+
2112
+ collapsibleHeading.click(function(){
2113
+ if( collapsibleHeading.is('.ui-collapsible-heading-collapsed') ){
2114
+ collapsibleContain.trigger('expand');
2115
+ }
2116
+ else {
2117
+ collapsibleContain.trigger('collapse');
2118
+ }
2119
+ return false;
2120
+ });
2121
+
2122
+ });
2123
+ };
2124
+ })(jQuery);
2125
+
2126
+ /*
2127
+ * jQuery Mobile Framework : prototype for "controlgroup" plugin - corner-rounding for groups of buttons, checks, radios, etc
2128
+ * Copyright (c) jQuery Project
2129
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
2130
+ * Note: Code is in draft form and is subject to change
2131
+ */
2132
+ (function($){
2133
+ $.fn.controlgroup = function(options){
2134
+
2135
+ return $(this).each(function(){
2136
+ var o = $.extend({
2137
+ direction: $( this ).data( "type" ) || "vertical",
2138
+ shadow: false
2139
+ },options);
2140
+ var groupheading = $(this).find('>legend'),
2141
+ flCorners = o.direction == 'horizontal' ? ['ui-corner-left', 'ui-corner-right'] : ['ui-corner-top', 'ui-corner-bottom'],
2142
+ type = $(this).find('input:eq(0)').attr('type');
2143
+
2144
+ //replace legend with more stylable replacement div
2145
+ if( groupheading.length ){
2146
+ $(this).wrapInner('<div class="ui-controlgroup-controls"></div>');
2147
+ $('<div role="heading" class="ui-controlgroup-label">'+ groupheading.html() +'</div>').insertBefore( $(this).children(0) );
2148
+ groupheading.remove();
2149
+ }
2150
+
2151
+ $(this).addClass('ui-corner-all ui-controlgroup ui-controlgroup-'+o.direction);
2152
+
2153
+ function flipClasses(els){
2154
+ els
2155
+ .removeClass('ui-btn-corner-all ui-shadow')
2156
+ .eq(0).addClass(flCorners[0])
2157
+ .end()
2158
+ .filter(':last').addClass(flCorners[1]).addClass('ui-controlgroup-last');
2159
+ }
2160
+ flipClasses($(this).find('.ui-btn'));
2161
+ flipClasses($(this).find('.ui-btn-inner'));
2162
+ if(o.shadow){
2163
+ $(this).addClass('ui-shadow');
2164
+ }
2165
+ });
2166
+ };
2167
+ })(jQuery);
2168
+
2169
+ /*
2170
+ * jQuery Mobile Framework : prototype for "fieldcontain" plugin - simple class additions to make form row separators
2171
+ * Copyright (c) jQuery Project
2172
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
2173
+ * Note: Code is in draft form and is subject to change
2174
+ */
2175
+ (function($){
2176
+ $.fn.fieldcontain = function(options){
2177
+ var o = $.extend({
2178
+ theme: 'c'
2179
+ },options);
2180
+ return $(this).addClass('ui-field-contain ui-body ui-br');
2181
+ };
2182
+ })(jQuery);
2183
+
2184
+ /*
2185
+ * jQuery Mobile Framework : listview plugin
2186
+ * Copyright (c) jQuery Project
2187
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
2188
+ * Note: Code is in draft form and is subject to change
2189
+ */
2190
+ (function( jQuery ) {
2191
+
2192
+ jQuery.widget( "mobile.listview", jQuery.mobile.widget, {
2193
+ options: {
2194
+ theme: "c",
2195
+ countTheme: "c",
2196
+ headerTheme: "b",
2197
+ dividerTheme: "b",
2198
+ splitIcon: "arrow-r",
2199
+ splitTheme: "b",
2200
+ inset: false
2201
+ },
2202
+
2203
+ _create: function() {
2204
+ var $list = this.element,
2205
+ o = this.options;
2206
+
2207
+ // create listview markup
2208
+ $list
2209
+ .addClass( "ui-listview" )
2210
+ .attr( "role", "listbox" )
2211
+
2212
+ if ( o.inset ) {
2213
+ $list.addClass( "ui-listview-inset ui-corner-all ui-shadow" );
2214
+ }
2215
+
2216
+ $list.delegate( ".ui-li", "focusin", function() {
2217
+ jQuery( this ).attr( "tabindex", "0" );
2218
+ });
2219
+
2220
+ this._itemApply( $list, $list );
2221
+
2222
+ this.refresh( true );
2223
+
2224
+ //keyboard events for menu items
2225
+ $list.keydown(function( e ) {
2226
+ var target = jQuery( e.target ),
2227
+ li = target.closest( "li" );
2228
+
2229
+ // switch logic based on which key was pressed
2230
+ switch ( e.keyCode ) {
2231
+ // up or left arrow keys
2232
+ case 38:
2233
+ var prev = li.prev();
2234
+
2235
+ // if there's a previous option, focus it
2236
+ if ( prev.length ) {
2237
+ target
2238
+ .blur()
2239
+ .attr( "tabindex", "-1" );
2240
+
2241
+ prev.find( "a" ).first().focus();
2242
+ }
2243
+
2244
+ return false;
2245
+ break;
2246
+
2247
+ // down or right arrow keys
2248
+ case 40:
2249
+ var next = li.next();
2250
+
2251
+ // if there's a next option, focus it
2252
+ if ( next.length ) {
2253
+ target
2254
+ .blur()
2255
+ .attr( "tabindex", "-1" );
2256
+
2257
+ next.find( "a" ).first().focus();
2258
+ }
2259
+
2260
+ return false;
2261
+ break;
2262
+
2263
+ case 39:
2264
+ var a = li.find( "a.ui-li-link-alt" );
2265
+
2266
+ if ( a.length ) {
2267
+ target.blur();
2268
+ a.first().focus();
2269
+ }
2270
+
2271
+ return false;
2272
+ break;
2273
+
2274
+ case 37:
2275
+ var a = li.find( "a.ui-link-inherit" );
2276
+
2277
+ if ( a.length ) {
2278
+ target.blur();
2279
+ a.first().focus();
2280
+ }
2281
+
2282
+ return false;
2283
+ break;
2284
+
2285
+ // if enter or space is pressed, trigger click
2286
+ case 13:
2287
+ case 32:
2288
+ target.trigger( "click" );
2289
+
2290
+ return false;
2291
+ break;
2292
+ }
2293
+ });
2294
+
2295
+ // tapping the whole LI triggers click on the first link
2296
+ $list.delegate( "li", "click", function(event) {
2297
+ if ( !jQuery( event.target ).closest( "a" ).length ) {
2298
+ jQuery( this ).find( "a" ).first().trigger( "click" );
2299
+ return false;
2300
+ }
2301
+ });
2302
+ },
2303
+
2304
+ _itemApply: function( $list, item ) {
2305
+ // TODO class has to be defined in markup
2306
+ item.find( ".ui-li-count" )
2307
+ .addClass( "ui-btn-up-" + ($list.data( "counttheme" ) || this.options.countTheme) + " ui-btn-corner-all" );
2308
+
2309
+ item.find( "h1, h2, h3, h4, h5, h6" ).addClass( "ui-li-heading" );
2310
+
2311
+ item.find( "p, ul, dl" ).addClass( "ui-li-desc" );
2312
+
2313
+ item.find( "img" ).addClass( "ui-li-thumb" ).each(function() {
2314
+ jQuery( this ).closest( "li" )
2315
+ .addClass( jQuery(this).is( ".ui-li-icon" ) ? "ui-li-has-icon" : "ui-li-has-thumb" );
2316
+ });
2317
+
2318
+ var aside = item.find( ".ui-li-aside" );
2319
+
2320
+ if ( aside.length ) {
2321
+ aside.each(function(i, el) {
2322
+ $(el).prependTo( $(el).parent() ); //shift aside to front for css float
2323
+ });
2324
+ }
2325
+
2326
+ if ( jQuery.support.cssPseudoElement || !jQuery.nodeName( item[0], "ol" ) ) {
2327
+ return;
2328
+ }
2329
+ },
2330
+
2331
+ refresh: function( create ) {
2332
+ this._createSubPages();
2333
+
2334
+ var o = this.options,
2335
+ $list = this.element,
2336
+ self = this,
2337
+ dividertheme = $list.data( "dividertheme" ) || o.dividerTheme,
2338
+ li = $list.children( "li" ),
2339
+ counter = jQuery.support.cssPseudoElement || !jQuery.nodeName( $list[0], "ol" ) ? 0 : 1;
2340
+
2341
+ if ( counter ) {
2342
+ $list.find( ".ui-li-dec" ).remove();
2343
+ }
2344
+
2345
+ li.attr({ "role": "option", "tabindex": "-1" });
2346
+
2347
+ li.first().attr( "tabindex", "0" );
2348
+
2349
+ li.each(function( pos ) {
2350
+ var item = jQuery( this ),
2351
+ itemClass = "ui-li";
2352
+
2353
+ // If we're creating the element, we update it regardless
2354
+ if ( !create && item.hasClass( "ui-li" ) ) {
2355
+ return;
2356
+ }
2357
+
2358
+ var a = item.find( "a" );
2359
+
2360
+ if ( a.length ) {
2361
+ item
2362
+ .buttonMarkup({
2363
+ wrapperEls: "div",
2364
+ shadow: false,
2365
+ corners: false,
2366
+ iconpos: "right",
2367
+ icon: item.data("icon") || "arrow-r",
2368
+ theme: o.theme
2369
+ });
2370
+
2371
+ a.first().addClass( "ui-link-inherit" );
2372
+
2373
+ if ( a.length > 1 ) {
2374
+ itemClass += " ui-li-has-alt";
2375
+
2376
+ var last = a.last();
2377
+
2378
+ last
2379
+ .attr( "title", last.text() )
2380
+ .addClass( "ui-li-link-alt" )
2381
+ .empty()
2382
+ .buttonMarkup({
2383
+ shadow: false,
2384
+ corners: false,
2385
+ theme: o.theme,
2386
+ icon: false,
2387
+ iconpos: false
2388
+ })
2389
+ .find( ".ui-btn-inner" )
2390
+ .append( jQuery( "<span>" ).buttonMarkup({
2391
+ shadow: true,
2392
+ corners: true,
2393
+ theme: $list.data( "splittheme" ) || last.data( "theme" ) || o.splitTheme,
2394
+ iconpos: "notext",
2395
+ icon: $list.data( "spliticon" ) || last.data( "icon" ) || o.splitIcon
2396
+ } ) );
2397
+ }
2398
+
2399
+ } else if ( item.data( "role" ) === "list-divider" ) {
2400
+ itemClass += " ui-li-divider ui-btn ui-bar-" + dividertheme;
2401
+ item.attr( "role", "heading" );
2402
+
2403
+ //reset counter when a divider heading is encountered
2404
+ if ( counter ) {
2405
+ counter = 1;
2406
+ }
2407
+
2408
+ } else {
2409
+ itemClass += " ui-li-static ui-btn-up-" + o.theme;
2410
+ }
2411
+
2412
+ if ( pos === 0 ) {
2413
+ item.find( "img" ).addClass( "ui-corner-tl" );
2414
+
2415
+ if ( o.inset ) {
2416
+ itemClass += " ui-corner-top";
2417
+
2418
+ item
2419
+ .add( item.find( ".ui-btn-inner" ) )
2420
+ .find( ".ui-li-link-alt" )
2421
+ .addClass( "ui-corner-tr" )
2422
+ .end()
2423
+ .find( ".ui-li-thumb" )
2424
+ .addClass( "ui-corner-tl" );
2425
+ }
2426
+
2427
+ } else if ( pos === li.length - 1 ) {
2428
+ item.find( "img" ).addClass( "ui-corner-bl" );
2429
+
2430
+ if ( o.inset ) {
2431
+ itemClass += " ui-corner-bottom";
2432
+
2433
+ item
2434
+ .add( item.find( ".ui-btn-inner" ) )
2435
+ .find( ".ui-li-link-alt" )
2436
+ .addClass( "ui-corner-br" )
2437
+ .end()
2438
+ .find( ".ui-li-thumb" )
2439
+ .addClass( "ui-corner-bl" );
2440
+ }
2441
+ }
2442
+
2443
+ if ( counter && itemClass.indexOf( "ui-li-divider" ) < 0 ) {
2444
+ item
2445
+ .find( ".ui-link-inherit" ).first()
2446
+ .addClass( "ui-li-jsnumbering" )
2447
+ .prepend( "<span class='ui-li-dec'>" + (counter++) + ". </span>" );
2448
+ }
2449
+
2450
+ item.addClass( itemClass );
2451
+
2452
+ if ( !create ) {
2453
+ self._itemApply( $list, item );
2454
+ }
2455
+ });
2456
+ },
2457
+
2458
+ _createSubPages: function() {
2459
+ var parentList = this.element,
2460
+ parentPage = parentList.closest( ".ui-page" ),
2461
+ parentId = parentPage.attr( "id" ),
2462
+ o = this.options,
2463
+ persistentFooterID = parentPage.find( "[data-role='footer']" ).data( "id" );
2464
+
2465
+ jQuery( parentList.find( "ul, ol" ).toArray().reverse() ).each(function( i ) {
2466
+ var list = jQuery( this ),
2467
+ parent = list.parent(),
2468
+ title = parent.contents()[ 0 ].nodeValue.split("\n")[0],
2469
+ id = parentId + "&" + $.mobile.subPageUrlKey + "=" + $.mobile.idStringEscape(title + " " + i),
2470
+ theme = list.data( "theme" ) || o.theme,
2471
+ countTheme = list.data( "counttheme" ) || parentList.data( "counttheme" ) || o.countTheme,
2472
+ newPage = list.wrap( "<div data-role='page'><div data-role='content'></div></div>" )
2473
+ .parent()
2474
+ .before( "<div data-role='header' data-theme='" + o.headerTheme + "'><div class='ui-title'>" + title + "</div></div>" )
2475
+ .after( persistentFooterID ? $( "<div>", { "data-role": "footer", "data-id": persistentFooterID, "class": "ui-footer-duplicate" } ) : "" )
2476
+ .parent()
2477
+ .attr({
2478
+ id: id,
2479
+ "data-theme": theme,
2480
+ "data-count-theme": countTheme
2481
+ })
2482
+ .appendTo( jQuery.pageContainer );
2483
+
2484
+
2485
+
2486
+ newPage.page();
2487
+
2488
+ parent.html( "<a href='#" + id + "'>" + title + "</a>" );
2489
+ }).listview();
2490
+ }
2491
+ });
2492
+
2493
+ })( jQuery );
2494
+
2495
+
2496
+ (function( $ ) {
2497
+
2498
+ $.mobile.listview.prototype.options.filter = false;
2499
+
2500
+ $( "[data-role='listview']" ).live( "listviewcreate", function() {
2501
+ var list = $( this ),
2502
+ listview = list.data( "listview" );
2503
+ if ( !listview.options.filter ) {
2504
+ return;
2505
+ }
2506
+
2507
+ var wrapper = $( "<form>", { "class": "ui-listview-filter ui-bar-c", "role": "search" } ),
2508
+
2509
+ search = $( "<input>", {
2510
+ placeholder: "Filter results...",
2511
+ "data-type": "search"
2512
+ })
2513
+ .bind( "keyup change", function() {
2514
+ var val = this.value.toLowerCase();;
2515
+ list.children().show();
2516
+ if ( val ) {
2517
+ list.children().filter(function() {
2518
+ return $( this ).text().toLowerCase().indexOf( val ) === -1;
2519
+ }).hide();
2520
+ }
2521
+
2522
+ //listview._numberItems();
2523
+ })
2524
+ .appendTo( wrapper )
2525
+ .customTextInput();
2526
+
2527
+ wrapper.insertBefore( list );
2528
+ });
2529
+
2530
+ })( jQuery );
2531
+
2532
+
2533
+ /*
2534
+ * jQuery Mobile Framework : prototype for "dialog" plugin.
2535
+ * Copyright (c) jQuery Project
2536
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
2537
+ * Note: Code is in draft form and is subject to change
2538
+ */
2539
+ (function ( $ ) {
2540
+ $.widget( "mobile.dialog", $.mobile.widget, {
2541
+ options: {},
2542
+ _create: function(){
2543
+ var $el = this.element,
2544
+ $closeBtn = $('<a href="#" data-icon="delete" data-iconpos="notext">Close</a>')
2545
+ .click(function(){
2546
+ $.changePage([$el, $.activePage], undefined, true );
2547
+ return false;
2548
+ });
2549
+
2550
+ this.element
2551
+ .bind("pageshow",function(){
2552
+ return false;
2553
+ })
2554
+ //add ARIA role
2555
+ .attr("role","dialog")
2556
+ .addClass('ui-page ui-dialog ui-body-a')
2557
+ .find('[data-role=header]')
2558
+ .addClass('ui-corner-top ui-overlay-shadow')
2559
+ .prepend( $closeBtn )
2560
+ .end()
2561
+ .find('.ui-content,[data-role=footer]')
2562
+ .last()
2563
+ .addClass('ui-corner-bottom ui-overlay-shadow');
2564
+
2565
+ }
2566
+ });
2567
+ })( jQuery );
2568
+
2569
+ /*
2570
+ * jQuery Mobile Framework : prototype for "navbar" plugin
2571
+ * Copyright (c) jQuery Project
2572
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
2573
+ * Note: Code is in draft form and is subject to change
2574
+ */
2575
+ (function ( $ ) {
2576
+ $.widget( "mobile.navbar", $.mobile.widget, {
2577
+ options: {
2578
+ iconpos: 'top'
2579
+ },
2580
+ _create: function(){
2581
+ var $navbar = this.element,
2582
+ $navbtns = $navbar.find("a"),
2583
+ iconpos = $navbtns.filter('icon').length ? this.options.iconpos : undefined;
2584
+
2585
+ $navbar
2586
+ .addClass('ui-navbar')
2587
+ .attr("role","navigation")
2588
+ .find("ul")
2589
+ .grid({grid: $navbtns.length > 2 ? "b" : "a"});
2590
+
2591
+ if( !iconpos ){
2592
+ $navbar.addClass("ui-navbar-noicons");
2593
+ }
2594
+
2595
+ $navbtns
2596
+ .buttonMarkup({
2597
+ corners: false,
2598
+ shadow: false,
2599
+ iconpos: iconpos
2600
+ });
2601
+
2602
+ $navbar.delegate("a", "click",function(event){
2603
+ $navbtns.removeClass("ui-btn-active");
2604
+ });
2605
+ }
2606
+ });
2607
+ })( jQuery );
2608
+
2609
+ /*
2610
+ * jQuery Mobile Framework : plugin for creating grids
2611
+ * Copyright (c) jQuery Project
2612
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
2613
+ * Note: Code is in draft form and is subject to change
2614
+ */
2615
+ (function($){
2616
+ $.fn.grid = function(options){
2617
+ return $(this).each(function(){
2618
+ var o = $.extend({
2619
+ grid: 'a'
2620
+ },options);
2621
+
2622
+ $(this).addClass('ui-grid-' + o.grid);
2623
+
2624
+ var $kids = $(this).children();
2625
+ iterator = o.grid == 'a' ? 2 : 3;
2626
+
2627
+ $kids.filter(':nth-child(' + iterator + 'n+1)').addClass('ui-block-a');
2628
+ $kids.filter(':nth-child(' + iterator + 'n+2)').addClass('ui-block-b');
2629
+
2630
+ if(iterator == 3){
2631
+ $kids.filter(':nth-child(3n+3)').addClass('ui-block-c');
2632
+ }
2633
+ });
2634
+ };
2635
+ })(jQuery);
2636
+
2637
+
2638
+
2639
+ /*!
2640
+ * jQuery Mobile
2641
+ * http://jquerymobile.com/
2642
+ *
2643
+ * Copyright 2010, jQuery Project
2644
+ * Dual licensed under the MIT or GPL Version 2 licenses.
2645
+ * http://jquery.org/license
2646
+ */
2647
+ (function( $, window, undefined ) {
2648
+ //some critical feature tests should be placed here.
2649
+ //if we're missing support for any of these, then we're a C-grade browser
2650
+ //to-do: see if we need more qualifiers here.
2651
+ if ( !jQuery.support.mediaquery ) {
2652
+ return;
2653
+ }
2654
+
2655
+ //these properties should be made easy to override externally
2656
+ jQuery.mobile = {};
2657
+
2658
+ jQuery.extend(jQuery.mobile, {
2659
+ subPageUrlKey: 'ui-page', //define the key used in urls for sub-pages. Defaults to &ui-page=
2660
+ degradeInputs: {
2661
+ color: true,
2662
+ date: true,
2663
+ datetime: true,
2664
+ "datetime-local": true,
2665
+ email: true,
2666
+ month: true,
2667
+ number: true,
2668
+ range: true,
2669
+ search: true,
2670
+ tel: true,
2671
+ time: true,
2672
+ url: true,
2673
+ week: true
2674
+ },
2675
+ addBackBtn: true
2676
+ });
2677
+
2678
+ var $window = jQuery(window),
2679
+ $html = jQuery('html'),
2680
+ $head = jQuery('head'),
2681
+ $body,
2682
+ $loader = jQuery('<div class="ui-loader ui-body-a ui-corner-all"><span class="ui-icon ui-icon-loading spin"></span><h1>loading</h1></div>'),
2683
+ $startPage,
2684
+ $pageContainer,
2685
+ startPageId = 'ui-page-start',
2686
+ activePageClass = 'ui-page-active',
2687
+ activeBtnClass = 'ui-btn-active',
2688
+ activeClickedLink = null,
2689
+ pageTransition,
2690
+ forceBack,
2691
+ transitions = 'slide slideup slidedown pop flip fade',
2692
+ transitionDuration = 350,
2693
+ backBtnText = "Back",
2694
+ urlStack = [ {
2695
+ url: location.hash.replace( /^#/, "" ),
2696
+ transition: "slide"
2697
+ } ],
2698
+ focusable = "[tabindex],a,button:visible,select:visible,input",
2699
+ nextPageRole = null,
2700
+ hashListener = true,
2701
+ unHashedSelectors = '[data-rel=dialog]',
2702
+ baseUrl = getPathDir( location.protocol + '//' + location.host + location.pathname ),
2703
+ resolutionBreakpoints = [320,480,768,1024];
2704
+
2705
+ // TODO: don't expose (temporary during code reorg)
2706
+ $.mobile.urlStack = urlStack;
2707
+
2708
+ //consistent string escaping for urls and IDs
2709
+ function idStringEscape(str){
2710
+ return str.replace(/[^a-zA-Z0-9]/g, '-');
2711
+ }
2712
+
2713
+ $.mobile.idStringEscape = idStringEscape;
2714
+
2715
+ // hide address bar
2716
+ function hideBrowserChrome() {
2717
+ // prevent scrollstart and scrollstop events
2718
+ jQuery.event.special.scrollstart.enabled = false;
2719
+ setTimeout(function() {
2720
+ window.scrollTo( 0, 0 );
2721
+ },0);
2722
+ setTimeout(function() {
2723
+ jQuery.event.special.scrollstart.enabled = true;
2724
+ }, 150 );
2725
+ }
2726
+
2727
+ function getPathDir( path ){
2728
+ var newPath = path.replace(/#/,'').split('/');
2729
+ newPath.pop();
2730
+ return newPath.join('/') + (newPath.length ? '/' : '');
2731
+ }
2732
+
2733
+ function getBaseURL( nonHashPath ){
2734
+ return getPathDir( nonHashPath || location.hash );
2735
+ }
2736
+
2737
+ var setBaseURL = !$.support.dynamicBaseTag ? $.noop : function( nonHashPath ){
2738
+ //set base url for new page assets
2739
+ $('#ui-base').attr('href', baseUrl + getBaseURL( nonHashPath ));
2740
+ }
2741
+
2742
+ var resetBaseURL = !$.support.dynamicBaseTag ? $.noop : function(){
2743
+ $('#ui-base').attr('href', baseUrl);
2744
+ }
2745
+
2746
+ //for form submission
2747
+ $('form').live('submit', function(){
2748
+ var type = $(this).attr("method"),
2749
+ url = $(this).attr( "action" ).replace( location.protocol + "//" + location.host, "");
2750
+
2751
+ //external submits use regular HTTP
2752
+ if( /^(:?\w+:)/.test( url ) ){
2753
+ return;
2754
+ }
2755
+
2756
+ //if it's a relative href, prefix href with base url
2757
+ if( url.indexOf('/') && url.indexOf('#') !== 0 ){
2758
+ url = getBaseURL() + url;
2759
+ }
2760
+
2761
+ $.changePage({
2762
+ url: url,
2763
+ type: type,
2764
+ data: $(this).serialize()
2765
+ },
2766
+ undefined,
2767
+ undefined,
2768
+ true
2769
+ );
2770
+ return false;
2771
+ });
2772
+
2773
+ //click routing - direct to HTTP or Ajax, accordingly
2774
+ jQuery( "a" ).live( "click", function(event) {
2775
+ var $this = $(this),
2776
+ //get href, remove same-domain protocol and host
2777
+ href = $this.attr( "href" ).replace( location.protocol + "//" + location.host, ""),
2778
+ //if it still starts with a protocol, it's external, or could be :mailto, etc
2779
+ external = /^(:?\w+:)/.test( href ) || $this.is( "[target],[rel=external]" );
2780
+
2781
+ if( href === '#' ){
2782
+ //for links created purely for interaction - ignore
2783
+ return false;
2784
+ }
2785
+
2786
+ activeClickedLink = $this.closest( ".ui-btn" ).addClass( activeBtnClass );
2787
+
2788
+ if( external ){
2789
+ //deliberately redirect, in case click was triggered
2790
+ location.href = href;
2791
+ }
2792
+ else {
2793
+ //use ajax
2794
+ var pageTransition = $this.data( "transition" ) || "slide",
2795
+ forceBack = $this.data( "back" ) || undefined,
2796
+ changeHashOnSuccess = !$this.is(unHashedSelectors);
2797
+
2798
+ nextPageRole = $this.attr( "data-rel" );
2799
+
2800
+ //if it's a relative href, prefix href with base url
2801
+ if( href.indexOf('/') && href.indexOf('#') !== 0 ){
2802
+ href = getBaseURL() + href;
2803
+ }
2804
+
2805
+ href.replace(/^#/,'');
2806
+
2807
+ changePage(href, pageTransition, forceBack, changeHashOnSuccess);
2808
+ }
2809
+ event.preventDefault();
2810
+ });
2811
+
2812
+ // turn on/off page loading message.
2813
+ function pageLoading( done ) {
2814
+ if ( done ) {
2815
+ $html.removeClass( "ui-loading" );
2816
+ } else {
2817
+ $loader.appendTo($pageContainer).css({top: $(window).scrollTop() + 75});
2818
+ $html.addClass( "ui-loading" );
2819
+ }
2820
+ };
2821
+
2822
+ //for directing focus to the page title, or otherwise first focusable element
2823
+ function reFocus(page){
2824
+ var pageTitle = page.find( ".ui-title:eq(0)" );
2825
+ if( pageTitle.length ){
2826
+ pageTitle.focus();
2827
+ }
2828
+ else{
2829
+ page.find( focusable ).eq(0).focus();
2830
+ }
2831
+ }
2832
+
2833
+ //function for setting role of next page
2834
+ function setPageRole( newPage ) {
2835
+ if ( nextPageRole ) {
2836
+ newPage.attr( "data-role", nextPageRole );
2837
+ nextPageRole = undefined;
2838
+ }
2839
+ }
2840
+
2841
+ //wrap page and transfer data-attrs if it has an ID
2842
+ function wrapNewPage( newPage ){
2843
+ var copyAttrs = ['data-role', 'data-theme', 'data-fullscreen'], //TODO: more page-level attrs?
2844
+ wrapper = newPage.wrap( "<div>" ).parent();
2845
+
2846
+ $.each(copyAttrs,function(i){
2847
+ if( newPage.attr( copyAttrs[ i ] ) ){
2848
+ wrapper.attr( copyAttrs[ i ], newPage.attr( copyAttrs[ i ] ) );
2849
+ newPage.removeAttr( copyAttrs[ i ] );
2850
+ }
2851
+ });
2852
+ return wrapper;
2853
+ }
2854
+
2855
+ //remove active classes after page transition or error
2856
+ function removeActiveLinkClass(forceRemoval){
2857
+ if(activeClickedLink && (!activeClickedLink.closest( '.ui-page-active' ).length) || forceRemoval ){
2858
+ activeClickedLink.removeClass( activeBtnClass );
2859
+ }
2860
+ activeClickedLink = null;
2861
+ }
2862
+
2863
+
2864
+ //for getting or creating a new page
2865
+ function changePage( to, transition, back, changeHash){
2866
+
2867
+ //from is always the currently viewed page
2868
+ var toIsArray = $.type(to) === "array",
2869
+ from = toIsArray ? to[0] : $.activePage,
2870
+ to = toIsArray ? to[1] : to,
2871
+ url = fileUrl = $.type(to) === "string" ? to.replace( /^#/, "" ) : null,
2872
+ data = undefined,
2873
+ type = 'get',
2874
+ back = (back !== undefined) ? back : ( urlStack.length > 1 && urlStack[ urlStack.length - 2 ].url === url ),
2875
+ transition = (transition !== undefined) ? transition : ( pageTransition || "slide" );
2876
+
2877
+ if( $.type(to) === "object" ){
2878
+ url = to.url,
2879
+ data = to.data,
2880
+ type = to.type;
2881
+ //make get requests bookmarkable
2882
+ if( data && type == 'get' ){
2883
+ url += "?" + data;
2884
+ data = undefined;
2885
+ }
2886
+ }
2887
+
2888
+ //unset pageTransition, forceBack
2889
+ pageTransition = undefined;
2890
+ forceBack = undefined;
2891
+
2892
+ //reset base to pathname for new request
2893
+ resetBaseURL();
2894
+
2895
+ // if the new href is the same as the previous one
2896
+ if ( back ) {
2897
+ transition = urlStack.pop().transition;
2898
+ } else {
2899
+ urlStack.push({ url: url, transition: transition });
2900
+ }
2901
+
2902
+ //function for transitioning between two existing pages
2903
+ function transitionPages() {
2904
+
2905
+ //kill the keyboard
2906
+ jQuery( document.activeElement ).blur();
2907
+
2908
+ //trigger before show/hide events
2909
+ from.data("page")._trigger("beforehide", {nextPage: to});
2910
+ to.data("page")._trigger("beforeshow", {prevPage: from});
2911
+
2912
+ function loadComplete(){
2913
+ pageLoading( true );
2914
+ //trigger show/hide events, allow preventing focus change through return false
2915
+ if( from.data("page")._trigger("hide", null, {nextPage: to}) !== false && to.data("page")._trigger("show", null, {prevPage: from}) !== false ){
2916
+ $.activePage = to;
2917
+ }
2918
+ reFocus( to );
2919
+ if( changeHash && url ){
2920
+ hashListener = false;
2921
+ location.hash = url;
2922
+ setTimeout(function(){
2923
+ hashListener = true;
2924
+ }, 500);
2925
+ }
2926
+ removeActiveLinkClass();
2927
+ }
2928
+
2929
+ if(transition){
2930
+ $pageContainer.addClass('ui-mobile-viewport-transitioning');
2931
+ // animate in / out
2932
+ from.addClass( transition + " out " + ( back ? "reverse" : "" ) );
2933
+ to.addClass( activePageClass + " " + transition +
2934
+ " in " + ( back ? "reverse" : "" ) );
2935
+
2936
+ // callback - remove classes, etc
2937
+ to.animationComplete(function() {
2938
+ from.add( to ).removeClass(" out in reverse " + transitions );
2939
+ from.removeClass( activePageClass );
2940
+ loadComplete();
2941
+ $pageContainer.removeClass('ui-mobile-viewport-transitioning');
2942
+ });
2943
+ }
2944
+ else{
2945
+ from.removeClass( activePageClass );
2946
+ to.addClass( activePageClass );
2947
+ loadComplete();
2948
+ }
2949
+ };
2950
+
2951
+ //shared page enhancements
2952
+ function enhancePage(){
2953
+ setPageRole( to );
2954
+ to.page();
2955
+ }
2956
+
2957
+ //get the actual file in a jq-mobile nested url
2958
+ function getFileURL( url ){
2959
+ return url.match( '&' + jQuery.mobile.subPageUrlKey ) ? url.split( '&' + jQuery.mobile.subPageUrlKey )[0] : url;
2960
+ }
2961
+
2962
+ //if url is a string
2963
+ if( url ){
2964
+ to = jQuery( "[id='" + url + "']" ),
2965
+ fileUrl = getFileURL(url);
2966
+ }
2967
+ else{ //find base url of element, if avail
2968
+ var toID = to.attr('id'),
2969
+ toIDfileurl = getFileURL(toID);
2970
+
2971
+ if(toID != toIDfileurl){
2972
+ fileUrl = toIDfileurl;
2973
+ }
2974
+ }
2975
+
2976
+ // find the "to" page, either locally existing in the dom or by creating it through ajax
2977
+ if ( to.length ) {
2978
+ if( fileUrl ){
2979
+ setBaseURL(fileUrl);
2980
+ }
2981
+ enhancePage();
2982
+ transitionPages();
2983
+ } else {
2984
+
2985
+ pageLoading();
2986
+
2987
+ $.ajax({
2988
+ url: fileUrl,
2989
+ type: type,
2990
+ data: data,
2991
+ success: function( html ) {
2992
+ setBaseURL(fileUrl);
2993
+ var all = jQuery("<div></div>");
2994
+ //workaround to allow scripts to execute when included in page divs
2995
+ all.get(0).innerHTML = html;
2996
+ to = all.find('[data-role="page"]');
2997
+
2998
+ //rewrite src and href attrs to use a base url
2999
+ if( !$.support.dynamicBaseTag ){
3000
+ var baseUrl = getBaseURL(fileUrl);
3001
+ to.find('[src],[href]').each(function(){
3002
+ var thisAttr = $(this).is('[href]') ? 'href' : 'src',
3003
+ thisUrl = $(this).attr(thisAttr);
3004
+
3005
+ //if full path exists and is same, chop it - helps IE out
3006
+ thisUrl.replace( location.protocol + '//' + location.host + location.pathname, '' );
3007
+
3008
+ if( !/^(\w+:|#|\/)/.test(thisUrl) ){
3009
+ $(this).attr(thisAttr, baseUrl + thisUrl);
3010
+ }
3011
+ });
3012
+ }
3013
+
3014
+ //preserve ID on a retrieved page
3015
+ if ( to.attr('id') ) {
3016
+ to = wrapNewPage( to );
3017
+ }
3018
+
3019
+ to
3020
+ .attr( "id", fileUrl )
3021
+ .appendTo( $pageContainer );
3022
+
3023
+ enhancePage();
3024
+ transitionPages();
3025
+ },
3026
+ error: function() {
3027
+ pageLoading( true );
3028
+ removeActiveLinkClass(true);
3029
+ jQuery("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</h1></div>")
3030
+ .css({ "display": "block", "opacity": 0.96, "top": $(window).scrollTop() + 100 })
3031
+ .appendTo( $pageContainer )
3032
+ .delay( 800 )
3033
+ .fadeOut( 400, function(){
3034
+ $(this).remove();
3035
+ });
3036
+ }
3037
+ });
3038
+ }
3039
+
3040
+ };
3041
+
3042
+
3043
+ jQuery(function() {
3044
+
3045
+ $body = jQuery( "body" );
3046
+ pageLoading();
3047
+
3048
+ // needs to be bound at domready (for IE6)
3049
+ // find or load content, make it active
3050
+ $window.bind( "hashchange", function(e, extras) {
3051
+ if( !hashListener ){ return; }
3052
+ var to = location.hash,
3053
+ transition = (extras && extras.manuallyTriggered) ? false : undefined;
3054
+
3055
+ // either we've backed up to the root page url
3056
+ // or it's the first page load with no hash present
3057
+ //there's a hash and it wasn't manually triggered
3058
+ // > probably a new page, "back" will be figured out by changePage
3059
+ if ( to ){
3060
+ changePage( to, transition);
3061
+ }
3062
+ //there's no hash, the active page is not the start page, and it's not manually triggered hashchange
3063
+ // > probably backed out to the first page visited
3064
+ else if( $.activePage.length && !$startPage.is( $.activePage ) && !(extras && extras.manuallyTriggered) ) {
3065
+ changePage( $startPage, transition, true );
3066
+ }
3067
+ else{
3068
+ $startPage.trigger("pagebeforeshow", {prevPage: $('')});
3069
+ $startPage.addClass( activePageClass );
3070
+ pageLoading( true );
3071
+
3072
+ if( $startPage.trigger("pageshow", {prevPage: $('')}) !== false ){
3073
+ reFocus($startPage);
3074
+ }
3075
+ }
3076
+
3077
+ });
3078
+ });
3079
+
3080
+ //add mobile, loading classes to doc
3081
+ $html.addClass('ui-mobile');
3082
+
3083
+ //add orientation class on flip/resize.
3084
+ $window.bind( "orientationchange", function( event, data ) {
3085
+ $html.removeClass( "portrait landscape" ).addClass( data.orientation );
3086
+ });
3087
+
3088
+ //add breakpoint classes for faux media-q support
3089
+ function detectResolutionBreakpoints(){
3090
+ var currWidth = $window.width(),
3091
+ minPrefix = "min-width-",
3092
+ maxPrefix = "max-width-",
3093
+ minBreakpoints = [],
3094
+ maxBreakpoints = [],
3095
+ unit = "px",
3096
+ breakpointClasses;
3097
+
3098
+ $html.removeClass( minPrefix + resolutionBreakpoints.join(unit + " " + minPrefix) + unit + " " +
3099
+ maxPrefix + resolutionBreakpoints.join( unit + " " + maxPrefix) + unit );
3100
+
3101
+ $.each(resolutionBreakpoints,function( i ){
3102
+ if( currWidth >= resolutionBreakpoints[ i ] ){
3103
+ minBreakpoints.push( minPrefix + resolutionBreakpoints[ i ] + unit );
3104
+ }
3105
+ if( currWidth <= resolutionBreakpoints[ i ] ){
3106
+ maxBreakpoints.push( maxPrefix + resolutionBreakpoints[ i ] + unit );
3107
+ }
3108
+ });
3109
+
3110
+ if( minBreakpoints.length ){ breakpointClasses = minBreakpoints.join(" "); }
3111
+ if( maxBreakpoints.length ){ breakpointClasses += " " + maxBreakpoints.join(" "); }
3112
+
3113
+ $html.addClass( breakpointClasses );
3114
+ };
3115
+
3116
+ //add breakpoints now and on oc/resize events
3117
+ $window.bind( "orientationchange resize", detectResolutionBreakpoints);
3118
+ detectResolutionBreakpoints();
3119
+
3120
+ //common breakpoints, overrideable, changeable
3121
+ $.mobile.addResolutionBreakpoints = function( newbps ){
3122
+ if( $.type( newbps ) === "array" ){
3123
+ resolutionBreakpoints = resolutionBreakpoints.concat( newbps );
3124
+ }
3125
+ else {
3126
+ resolutionBreakpoints.push( newbps );
3127
+ }
3128
+ detectResolutionBreakpoints();
3129
+ }
3130
+
3131
+ //insert mobile meta - these will need to be configurable somehow.
3132
+ var headPrepends =
3133
+ $head.prepend(
3134
+ '<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" />' +
3135
+ ($.support.dynamicBaseTag ? '<base href="" id="ui-base" />' : '')
3136
+ );
3137
+
3138
+ //set base href to pathname
3139
+ resetBaseURL();
3140
+
3141
+ //incomplete fallback to workaround lack of animation callbacks.
3142
+ //should this be extended into a full special event?
3143
+ // note: Expects CSS animations use transitionDuration (350ms)
3144
+ jQuery.fn.animationComplete = function(callback){
3145
+ if(jQuery.support.WebKitAnimationEvent){
3146
+ return jQuery(this).one('webkitAnimationEnd', callback); //check out transitionEnd (opera per Paul's request)
3147
+ }
3148
+ else{
3149
+ setTimeout(callback, transitionDuration);
3150
+ }
3151
+ };
3152
+
3153
+ jQuery.extend({
3154
+ pageLoading: pageLoading,
3155
+ changePage: changePage,
3156
+ hideBrowserChrome: hideBrowserChrome
3157
+ });
3158
+
3159
+ //dom-ready
3160
+ jQuery(function(){
3161
+ var $pages = jQuery("[data-role='page']");
3162
+ //set up active page
3163
+ $startPage = $.activePage = $pages.first();
3164
+
3165
+ //set page container
3166
+ $pageContainer = $startPage.parent().addClass('ui-mobile-viewport');
3167
+
3168
+ jQuery.extend({
3169
+ pageContainer: $pageContainer
3170
+ });
3171
+
3172
+ //make sure it has an ID - for finding it later
3173
+ if(!$startPage.attr('id')){
3174
+ $startPage.attr('id', startPageId);
3175
+ }
3176
+
3177
+ //initialize all pages present
3178
+ $pages.page();
3179
+
3180
+ //trigger a new hashchange, hash or not
3181
+ $window.trigger( "hashchange", { manuallyTriggered: true } );
3182
+
3183
+ //update orientation
3184
+ $html.addClass( jQuery.event.special.orientationchange.orientation( $window ) );
3185
+ });
3186
+
3187
+ $window.load(hideBrowserChrome);
3188
+
3189
+ })( jQuery, this );