prime-rails 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (626) hide show
  1. checksums.yaml +15 -0
  2. data/app/assets/images/images/loading.gif +0 -0
  3. data/app/assets/images/images/messages.png +0 -0
  4. data/app/assets/images/images/ornament.png +0 -0
  5. data/app/assets/images/images/password-meter.png +0 -0
  6. data/app/assets/javascripts/js/accordion/accordion.js +134 -0
  7. data/app/assets/javascripts/js/autocomplete/autocomplete.js +439 -0
  8. data/app/assets/javascripts/js/button/button.js +98 -0
  9. data/app/assets/javascripts/js/checkbox/checkbox.js +117 -0
  10. data/app/assets/javascripts/js/core/core.js +60 -0
  11. data/app/assets/javascripts/js/datatable/datatable.js +334 -0
  12. data/app/assets/javascripts/js/dialog/dialog.js +485 -0
  13. data/app/assets/javascripts/js/dropdown/dropdown.js +546 -0
  14. data/app/assets/javascripts/js/fieldset/fieldset.js +68 -0
  15. data/app/assets/javascripts/js/galleria/galleria.js +221 -0
  16. data/app/assets/javascripts/js/growl/growl.js +98 -0
  17. data/app/assets/javascripts/js/inputtext/inputtext.js +40 -0
  18. data/app/assets/javascripts/js/inputtextarea/inputtextarea.js +360 -0
  19. data/app/assets/javascripts/js/lightbox/lightbox.js +343 -0
  20. data/app/assets/javascripts/js/menu/menu.js +689 -0
  21. data/app/assets/javascripts/js/notify/notify.js +79 -0
  22. data/app/assets/javascripts/js/paginator/paginator.js +280 -0
  23. data/app/assets/javascripts/js/panel/panel.js +170 -0
  24. data/app/assets/javascripts/js/password/password.js +157 -0
  25. data/app/assets/javascripts/js/progressbar/progressbar.js +92 -0
  26. data/app/assets/javascripts/js/radiobutton/radiobutton.js +94 -0
  27. data/app/assets/javascripts/js/rating/rating.js +87 -0
  28. data/app/assets/javascripts/js/spinner/spinner.js +227 -0
  29. data/app/assets/javascripts/js/tabview/tabview.js +153 -0
  30. data/app/assets/javascripts/js/terminal/terminal.js +91 -0
  31. data/app/assets/javascripts/js/tooltip/tooltip.js +124 -0
  32. data/app/assets/javascripts/plugins/cursorposition.js +138 -0
  33. data/app/assets/javascripts/plugins/rangyinput.js +239 -0
  34. data/app/assets/javascripts/primefaces-core.js +1253 -0
  35. data/app/assets/javascripts/primefaces-rails.js +152 -0
  36. data/app/assets/javascripts/primeui.js +5577 -0
  37. data/app/assets/stylesheets/css/primeui/css/accordion/accordion.css +39 -0
  38. data/app/assets/stylesheets/css/primeui/css/autocomplete/autocomplete.css +100 -0
  39. data/app/assets/stylesheets/css/primeui/css/button/button.css +75 -0
  40. data/app/assets/stylesheets/css/primeui/css/checkbox/checkbox.css +23 -0
  41. data/app/assets/stylesheets/css/primeui/css/core/core.css +5 -0
  42. data/app/assets/stylesheets/css/primeui/css/datatable/datatable.css +60 -0
  43. data/app/assets/stylesheets/css/primeui/css/dialog/dialog.css +36 -0
  44. data/app/assets/stylesheets/css/primeui/css/dropdown/dropdown.css +96 -0
  45. data/app/assets/stylesheets/css/primeui/css/fieldset/fieldset.css +15 -0
  46. data/app/assets/stylesheets/css/primeui/css/galleria/galleria.css +77 -0
  47. data/app/assets/stylesheets/css/primeui/css/growl/growl.css +78 -0
  48. data/app/assets/stylesheets/css/primeui/css/inputtext/inputtext.css +11 -0
  49. data/app/assets/stylesheets/css/primeui/css/inputtextarea/inputtextarea.css +4 -0
  50. data/app/assets/stylesheets/css/primeui/css/lightbox/lightbox.css +52 -0
  51. data/app/assets/stylesheets/css/primeui/css/menu/menu.css +391 -0
  52. data/app/assets/stylesheets/css/primeui/css/notify/notify.css +27 -0
  53. data/app/assets/stylesheets/css/primeui/css/paginator/paginator.css +61 -0
  54. data/app/assets/stylesheets/css/primeui/css/panel/panel.css +51 -0
  55. data/app/assets/stylesheets/css/primeui/css/password/password.css +20 -0
  56. data/app/assets/stylesheets/css/primeui/css/progressbar/progressbar.css +22 -0
  57. data/app/assets/stylesheets/css/primeui/css/radiobutton/radiobutton.css +20 -0
  58. data/app/assets/stylesheets/css/primeui/css/rating/images/rating.png +0 -0
  59. data/app/assets/stylesheets/css/primeui/css/rating/rating.css +37 -0
  60. data/app/assets/stylesheets/css/primeui/css/spinner/spinner.css +46 -0
  61. data/app/assets/stylesheets/css/primeui/css/tabview/tabview.css +124 -0
  62. data/app/assets/stylesheets/css/primeui/css/terminal/terminal.css +25 -0
  63. data/app/assets/stylesheets/css/primeui/css/tooltip/tooltip.css +5 -0
  64. data/app/assets/stylesheets/css/primeui/primeui.css +1453 -0
  65. data/app/assets/stylesheets/jquery-ui.css +53 -0
  66. data/app/assets/stylesheets/themes/afterdark/images/ui-icons-dark.png +0 -0
  67. data/app/assets/stylesheets/themes/afterdark/images/ui-icons-light.png +0 -0
  68. data/app/assets/stylesheets/themes/afterdark/theme.css +435 -0
  69. data/app/assets/stylesheets/themes/afternoon/images/ui-icons-dark.png +0 -0
  70. data/app/assets/stylesheets/themes/afternoon/images/ui-icons-light.png +0 -0
  71. data/app/assets/stylesheets/themes/afternoon/theme.css +443 -0
  72. data/app/assets/stylesheets/themes/afterwork/images/ui-icons-dark.png +0 -0
  73. data/app/assets/stylesheets/themes/afterwork/images/ui-icons-light.png +0 -0
  74. data/app/assets/stylesheets/themes/afterwork/theme.css +442 -0
  75. data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_0_2d5972_40x100.png +0 -0
  76. data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_0_4f4f4f_40x100.png +0 -0
  77. data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  78. data/app/assets/stylesheets/themes/aristo/images/ui-bg_flat_100_ffffff_40x100.png +0 -0
  79. data/app/assets/stylesheets/themes/aristo/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  80. data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-hard_80_85b2cb_1x100.png +0 -0
  81. data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-hard_80_c4c4c4_1x100.png +0 -0
  82. data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-hard_80_e3e3e3_1x100.png +0 -0
  83. data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-soft_100_c4c4c4_1x100.png +0 -0
  84. data/app/assets/stylesheets/themes/aristo/images/ui-bg_highlight-soft_75_85b2cb_1x100.png +0 -0
  85. data/app/assets/stylesheets/themes/aristo/images/ui-bg_inset-hard_65_85b2cb_1x100.png +0 -0
  86. data/app/assets/stylesheets/themes/aristo/images/ui-bg_inset-hard_65_c4c4c4_1x100.png +0 -0
  87. data/app/assets/stylesheets/themes/aristo/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  88. data/app/assets/stylesheets/themes/aristo/images/ui-icons_2d5972_256x240.png +0 -0
  89. data/app/assets/stylesheets/themes/aristo/images/ui-icons_2e83ff_256x240.png +0 -0
  90. data/app/assets/stylesheets/themes/aristo/images/ui-icons_38667f_256x240.png +0 -0
  91. data/app/assets/stylesheets/themes/aristo/images/ui-icons_3a6983_256x240.png +0 -0
  92. data/app/assets/stylesheets/themes/aristo/images/ui-icons_616161_256x240.png +0 -0
  93. data/app/assets/stylesheets/themes/aristo/images/ui-icons_898989_256x240.png +0 -0
  94. data/app/assets/stylesheets/themes/aristo/images/ui-icons_cd0a0a_256x240.png +0 -0
  95. data/app/assets/stylesheets/themes/aristo/images/ui-icons_ffffff_256x240.png +0 -0
  96. data/app/assets/stylesheets/themes/aristo/theme.css +1251 -0
  97. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  98. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  99. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
  100. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  101. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  102. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  103. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  104. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  105. data/app/assets/stylesheets/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  106. data/app/assets/stylesheets/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
  107. data/app/assets/stylesheets/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
  108. data/app/assets/stylesheets/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
  109. data/app/assets/stylesheets/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
  110. data/app/assets/stylesheets/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
  111. data/app/assets/stylesheets/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
  112. data/app/assets/stylesheets/themes/black-tie/theme.css +269 -0
  113. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  114. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  115. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
  116. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  117. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  118. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  119. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  120. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  121. data/app/assets/stylesheets/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  122. data/app/assets/stylesheets/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
  123. data/app/assets/stylesheets/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
  124. data/app/assets/stylesheets/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
  125. data/app/assets/stylesheets/themes/blitzer/theme.css +269 -0
  126. data/app/assets/stylesheets/themes/bluesky/images/active.png +0 -0
  127. data/app/assets/stylesheets/themes/bluesky/images/default.png +0 -0
  128. data/app/assets/stylesheets/themes/bluesky/images/header.png +0 -0
  129. data/app/assets/stylesheets/themes/bluesky/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  130. data/app/assets/stylesheets/themes/bluesky/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  131. data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  132. data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  133. data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  134. data/app/assets/stylesheets/themes/bluesky/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  135. data/app/assets/stylesheets/themes/bluesky/images/ui-icons_2e83ff_256x240.png +0 -0
  136. data/app/assets/stylesheets/themes/bluesky/images/ui-icons_3d80b3_256x240.png +0 -0
  137. data/app/assets/stylesheets/themes/bluesky/images/ui-icons_72a7cf_256x240.png +0 -0
  138. data/app/assets/stylesheets/themes/bluesky/images/ui-icons_ffffff_256x240.png +0 -0
  139. data/app/assets/stylesheets/themes/bluesky/theme.css +262 -0
  140. data/app/assets/stylesheets/themes/bootstrap/images/ui-icons_333333_256x240.png +0 -0
  141. data/app/assets/stylesheets/themes/bootstrap/images/ui-icons_ffffff_256x240.png +0 -0
  142. data/app/assets/stylesheets/themes/bootstrap/theme.css +918 -0
  143. data/app/assets/stylesheets/themes/casablanca/images/active.png +0 -0
  144. data/app/assets/stylesheets/themes/casablanca/images/default.png +0 -0
  145. data/app/assets/stylesheets/themes/casablanca/images/header.png +0 -0
  146. data/app/assets/stylesheets/themes/casablanca/images/hover.png +0 -0
  147. data/app/assets/stylesheets/themes/casablanca/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  148. data/app/assets/stylesheets/themes/casablanca/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  149. data/app/assets/stylesheets/themes/casablanca/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  150. data/app/assets/stylesheets/themes/casablanca/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  151. data/app/assets/stylesheets/themes/casablanca/images/ui-icons_222222_256x240.png +0 -0
  152. data/app/assets/stylesheets/themes/casablanca/images/ui-icons_2e83ff_256x240.png +0 -0
  153. data/app/assets/stylesheets/themes/casablanca/images/ui-icons_454545_256x240.png +0 -0
  154. data/app/assets/stylesheets/themes/casablanca/images/ui-icons_888888_256x240.png +0 -0
  155. data/app/assets/stylesheets/themes/casablanca/images/ui-icons_cd0a0a_256x240.png +0 -0
  156. data/app/assets/stylesheets/themes/casablanca/theme.css +262 -0
  157. data/app/assets/stylesheets/themes/cruze/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  158. data/app/assets/stylesheets/themes/cruze/images/ui-bg_flat_50_575757_40x100.png +0 -0
  159. data/app/assets/stylesheets/themes/cruze/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  160. data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_20_3d3d3d_1x400.png +0 -0
  161. data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_20_474747_1x400.png +0 -0
  162. data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_40_0099e0_1x400.png +0 -0
  163. data/app/assets/stylesheets/themes/cruze/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  164. data/app/assets/stylesheets/themes/cruze/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  165. data/app/assets/stylesheets/themes/cruze/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  166. data/app/assets/stylesheets/themes/cruze/images/ui-icons_0099e0_256x240.png +0 -0
  167. data/app/assets/stylesheets/themes/cruze/images/ui-icons_a83300_256x240.png +0 -0
  168. data/app/assets/stylesheets/themes/cruze/images/ui-icons_eeeeee_256x240.png +0 -0
  169. data/app/assets/stylesheets/themes/cruze/images/ui-icons_ffffff_256x240.png +0 -0
  170. data/app/assets/stylesheets/themes/cruze/theme.css +273 -0
  171. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  172. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  173. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  174. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  175. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  176. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  177. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  178. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  179. data/app/assets/stylesheets/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  180. data/app/assets/stylesheets/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  181. data/app/assets/stylesheets/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  182. data/app/assets/stylesheets/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
  183. data/app/assets/stylesheets/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  184. data/app/assets/stylesheets/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  185. data/app/assets/stylesheets/themes/cupertino/theme.css +269 -0
  186. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  187. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  188. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  189. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  190. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  191. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  192. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  193. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  194. data/app/assets/stylesheets/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  195. data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  196. data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  197. data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  198. data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  199. data/app/assets/stylesheets/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  200. data/app/assets/stylesheets/themes/dark-hive/theme.css +269 -0
  201. data/app/assets/stylesheets/themes/delta/images/icons_16.png +0 -0
  202. data/app/assets/stylesheets/themes/delta/images/jGrowl-close.png +0 -0
  203. data/app/assets/stylesheets/themes/delta/images/modalClose.png +0 -0
  204. data/app/assets/stylesheets/themes/delta/images/modalClose@2x.png +0 -0
  205. data/app/assets/stylesheets/themes/delta/images/slider_handles.png +0 -0
  206. data/app/assets/stylesheets/themes/delta/images/slider_handles@2x.png +0 -0
  207. data/app/assets/stylesheets/themes/delta/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  208. data/app/assets/stylesheets/themes/delta/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  209. data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  210. data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  211. data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  212. data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  213. data/app/assets/stylesheets/themes/delta/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  214. data/app/assets/stylesheets/themes/delta/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  215. data/app/assets/stylesheets/themes/delta/images/ui-icons_222222_256x240.png +0 -0
  216. data/app/assets/stylesheets/themes/delta/images/ui-icons_2e83ff_256x240.png +0 -0
  217. data/app/assets/stylesheets/themes/delta/images/ui-icons_454545_256x240.png +0 -0
  218. data/app/assets/stylesheets/themes/delta/images/ui-icons_888888_256x240.png +0 -0
  219. data/app/assets/stylesheets/themes/delta/images/ui-icons_cd0a0a_256x240.png +0 -0
  220. data/app/assets/stylesheets/themes/delta/images/ui-icons_ffffff_256x240.png +0 -0
  221. data/app/assets/stylesheets/themes/delta/theme.css +671 -0
  222. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  223. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  224. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
  225. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  226. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  227. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  228. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
  229. data/app/assets/stylesheets/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  230. data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
  231. data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
  232. data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
  233. data/app/assets/stylesheets/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
  234. data/app/assets/stylesheets/themes/dot-luv/theme.css +269 -0
  235. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  236. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  237. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
  238. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
  239. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  240. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  241. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  242. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  243. data/app/assets/stylesheets/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  244. data/app/assets/stylesheets/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
  245. data/app/assets/stylesheets/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
  246. data/app/assets/stylesheets/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
  247. data/app/assets/stylesheets/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
  248. data/app/assets/stylesheets/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
  249. data/app/assets/stylesheets/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
  250. data/app/assets/stylesheets/themes/eggplant/theme.css +269 -0
  251. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  252. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  253. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  254. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  255. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
  256. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
  257. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  258. data/app/assets/stylesheets/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  259. data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
  260. data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
  261. data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
  262. data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
  263. data/app/assets/stylesheets/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
  264. data/app/assets/stylesheets/themes/excite-bike/theme.css +270 -0
  265. data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  266. data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  267. data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
  268. data/app/assets/stylesheets/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  269. data/app/assets/stylesheets/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  270. data/app/assets/stylesheets/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  271. data/app/assets/stylesheets/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  272. data/app/assets/stylesheets/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  273. data/app/assets/stylesheets/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
  274. data/app/assets/stylesheets/themes/flick/images/ui-icons_454545_256x240.png +0 -0
  275. data/app/assets/stylesheets/themes/flick/images/ui-icons_666666_256x240.png +0 -0
  276. data/app/assets/stylesheets/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
  277. data/app/assets/stylesheets/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
  278. data/app/assets/stylesheets/themes/flick/theme.css +269 -0
  279. data/app/assets/stylesheets/themes/glass-x/images/active.png +0 -0
  280. data/app/assets/stylesheets/themes/glass-x/images/default.png +0 -0
  281. data/app/assets/stylesheets/themes/glass-x/images/header.png +0 -0
  282. data/app/assets/stylesheets/themes/glass-x/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  283. data/app/assets/stylesheets/themes/glass-x/images/ui-icons_222222_256x240.png +0 -0
  284. data/app/assets/stylesheets/themes/glass-x/theme.css +276 -0
  285. data/app/assets/stylesheets/themes/home/images/active.png +0 -0
  286. data/app/assets/stylesheets/themes/home/images/default.png +0 -0
  287. data/app/assets/stylesheets/themes/home/images/header.png +0 -0
  288. data/app/assets/stylesheets/themes/home/images/hover.png +0 -0
  289. data/app/assets/stylesheets/themes/home/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  290. data/app/assets/stylesheets/themes/home/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  291. data/app/assets/stylesheets/themes/home/images/ui-bg_glass_40_111111_1x400.png +0 -0
  292. data/app/assets/stylesheets/themes/home/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  293. data/app/assets/stylesheets/themes/home/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  294. data/app/assets/stylesheets/themes/home/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  295. data/app/assets/stylesheets/themes/home/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  296. data/app/assets/stylesheets/themes/home/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  297. data/app/assets/stylesheets/themes/home/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  298. data/app/assets/stylesheets/themes/home/images/ui-icons_222222_256x240.png +0 -0
  299. data/app/assets/stylesheets/themes/home/images/ui-icons_4ca300_256x240.png +0 -0
  300. data/app/assets/stylesheets/themes/home/images/ui-icons_bbbbbb_256x240.png +0 -0
  301. data/app/assets/stylesheets/themes/home/images/ui-icons_ededed_256x240.png +0 -0
  302. data/app/assets/stylesheets/themes/home/images/ui-icons_ffcf29_256x240.png +0 -0
  303. data/app/assets/stylesheets/themes/home/images/ui-icons_ffffff_256x240.png +0 -0
  304. data/app/assets/stylesheets/themes/home/theme.css +273 -0
  305. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  306. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  307. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  308. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  309. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  310. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  311. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
  312. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  313. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  314. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
  315. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
  316. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
  317. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
  318. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
  319. data/app/assets/stylesheets/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
  320. data/app/assets/stylesheets/themes/hot-sneaks/theme.css +269 -0
  321. data/app/assets/stylesheets/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  322. data/app/assets/stylesheets/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  323. data/app/assets/stylesheets/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
  324. data/app/assets/stylesheets/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  325. data/app/assets/stylesheets/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  326. data/app/assets/stylesheets/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  327. data/app/assets/stylesheets/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  328. data/app/assets/stylesheets/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  329. data/app/assets/stylesheets/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
  330. data/app/assets/stylesheets/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
  331. data/app/assets/stylesheets/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
  332. data/app/assets/stylesheets/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
  333. data/app/assets/stylesheets/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
  334. data/app/assets/stylesheets/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
  335. data/app/assets/stylesheets/themes/humanity/theme.css +269 -0
  336. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  337. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  338. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  339. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  340. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  341. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  342. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  343. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  344. data/app/assets/stylesheets/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  345. data/app/assets/stylesheets/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
  346. data/app/assets/stylesheets/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
  347. data/app/assets/stylesheets/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
  348. data/app/assets/stylesheets/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
  349. data/app/assets/stylesheets/themes/le-frog/theme.css +269 -0
  350. data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  351. data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_100_18181f_40x100.png +0 -0
  352. data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_100_583d3d_40x100.png +0 -0
  353. data/app/assets/stylesheets/themes/midnight/images/ui-bg_flat_10_3d4858_40x100.png +0 -0
  354. data/app/assets/stylesheets/themes/midnight/images/ui-bg_highlight-soft_15_191921_1x100.png +0 -0
  355. data/app/assets/stylesheets/themes/midnight/images/ui-bg_highlight-soft_15_32323d_1x100.png +0 -0
  356. data/app/assets/stylesheets/themes/midnight/images/ui-bg_highlight-soft_35_191921_1x100.png +0 -0
  357. data/app/assets/stylesheets/themes/midnight/images/ui-bg_inset-soft_35_191921_1x100.png +0 -0
  358. data/app/assets/stylesheets/themes/midnight/images/ui-icons_8fddff_256x240.png +0 -0
  359. data/app/assets/stylesheets/themes/midnight/images/ui-icons_a1ddff_256x240.png +0 -0
  360. data/app/assets/stylesheets/themes/midnight/images/ui-icons_f4f4f9_256x240.png +0 -0
  361. data/app/assets/stylesheets/themes/midnight/images/ui-icons_fafafa_256x240.png +0 -0
  362. data/app/assets/stylesheets/themes/midnight/images/ui-icons_ff8f8f_256x240.png +0 -0
  363. data/app/assets/stylesheets/themes/midnight/theme.css +268 -0
  364. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  365. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
  366. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  367. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  368. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  369. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  370. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  371. data/app/assets/stylesheets/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  372. data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
  373. data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
  374. data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
  375. data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
  376. data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
  377. data/app/assets/stylesheets/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
  378. data/app/assets/stylesheets/themes/mint-choc/theme.css +269 -0
  379. data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  380. data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  381. data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
  382. data/app/assets/stylesheets/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  383. data/app/assets/stylesheets/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  384. data/app/assets/stylesheets/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
  385. data/app/assets/stylesheets/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  386. data/app/assets/stylesheets/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  387. data/app/assets/stylesheets/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  388. data/app/assets/stylesheets/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
  389. data/app/assets/stylesheets/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
  390. data/app/assets/stylesheets/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
  391. data/app/assets/stylesheets/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
  392. data/app/assets/stylesheets/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
  393. data/app/assets/stylesheets/themes/overcast/theme.css +269 -0
  394. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  395. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  396. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  397. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  398. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  399. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  400. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  401. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  402. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  403. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
  404. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
  405. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
  406. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
  407. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
  408. data/app/assets/stylesheets/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
  409. data/app/assets/stylesheets/themes/pepper-grinder/theme.css +269 -0
  410. data/app/assets/stylesheets/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  411. data/app/assets/stylesheets/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  412. data/app/assets/stylesheets/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  413. data/app/assets/stylesheets/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  414. data/app/assets/stylesheets/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  415. data/app/assets/stylesheets/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  416. data/app/assets/stylesheets/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  417. data/app/assets/stylesheets/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  418. data/app/assets/stylesheets/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  419. data/app/assets/stylesheets/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  420. data/app/assets/stylesheets/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  421. data/app/assets/stylesheets/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  422. data/app/assets/stylesheets/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  423. data/app/assets/stylesheets/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  424. data/app/assets/stylesheets/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  425. data/app/assets/stylesheets/themes/redmond/theme.css +269 -0
  426. data/app/assets/stylesheets/themes/rocket/images/ui-bg_diagonals-thick_50_00a6dd_40x40.png +0 -0
  427. data/app/assets/stylesheets/themes/rocket/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  428. data/app/assets/stylesheets/themes/rocket/images/ui-bg_flat_100_f1f1f1_40x100.png +0 -0
  429. data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_242122_1x100.png +0 -0
  430. data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_65358a_1x100.png +0 -0
  431. data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_8A56B2_1x100.png +0 -0
  432. data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_9eca38_1x100.png +0 -0
  433. data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_15_ca3838_1x100.png +0 -0
  434. data/app/assets/stylesheets/themes/rocket/images/ui-bg_highlight-soft_35_00a6dd_1x100.png +0 -0
  435. data/app/assets/stylesheets/themes/rocket/images/ui-bg_inset-soft_100_e1e1e1_1x100.png +0 -0
  436. data/app/assets/stylesheets/themes/rocket/images/ui-bg_inset-soft_15_242122_1x100 - Copy.png +0 -0
  437. data/app/assets/stylesheets/themes/rocket/images/ui-bg_inset-soft_15_242122_1x100.png +0 -0
  438. data/app/assets/stylesheets/themes/rocket/images/ui-icons_00a6dd_256x240.png +0 -0
  439. data/app/assets/stylesheets/themes/rocket/images/ui-icons_304915_256x240.png +0 -0
  440. data/app/assets/stylesheets/themes/rocket/images/ui-icons_d399ff_256x240.png +0 -0
  441. data/app/assets/stylesheets/themes/rocket/images/ui-icons_eaffb9_256x240.png +0 -0
  442. data/app/assets/stylesheets/themes/rocket/images/ui-icons_f4f4f9_256x240.png +0 -0
  443. data/app/assets/stylesheets/themes/rocket/images/ui-icons_fafafa_256x240.png +0 -0
  444. data/app/assets/stylesheets/themes/rocket/images/ui-icons_ff8f8f_256x240.png +0 -0
  445. data/app/assets/stylesheets/themes/rocket/theme.css +301 -0
  446. data/app/assets/stylesheets/themes/sam/images/sprite.png +0 -0
  447. data/app/assets/stylesheets/themes/sam/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  448. data/app/assets/stylesheets/themes/sam/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  449. data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  450. data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  451. data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  452. data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  453. data/app/assets/stylesheets/themes/sam/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  454. data/app/assets/stylesheets/themes/sam/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  455. data/app/assets/stylesheets/themes/sam/images/ui-default.png +0 -0
  456. data/app/assets/stylesheets/themes/sam/images/ui-icons_222222_256x240.png +0 -0
  457. data/app/assets/stylesheets/themes/sam/images/ui-icons_2e83ff_256x240.png +0 -0
  458. data/app/assets/stylesheets/themes/sam/images/ui-icons_454545_256x240.png +0 -0
  459. data/app/assets/stylesheets/themes/sam/images/ui-icons_888888_256x240.png +0 -0
  460. data/app/assets/stylesheets/themes/sam/images/ui-icons_cd0a0a_256x240.png +0 -0
  461. data/app/assets/stylesheets/themes/sam/theme.css +303 -0
  462. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  463. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  464. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  465. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  466. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  467. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  468. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  469. data/app/assets/stylesheets/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  470. data/app/assets/stylesheets/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  471. data/app/assets/stylesheets/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  472. data/app/assets/stylesheets/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  473. data/app/assets/stylesheets/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  474. data/app/assets/stylesheets/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  475. data/app/assets/stylesheets/themes/smoothness/theme.css +269 -0
  476. data/app/assets/stylesheets/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  477. data/app/assets/stylesheets/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  478. data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  479. data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  480. data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  481. data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  482. data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  483. data/app/assets/stylesheets/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  484. data/app/assets/stylesheets/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  485. data/app/assets/stylesheets/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
  486. data/app/assets/stylesheets/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
  487. data/app/assets/stylesheets/themes/south-street/images/ui-icons_8dc262_256x240.png +0 -0
  488. data/app/assets/stylesheets/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
  489. data/app/assets/stylesheets/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
  490. data/app/assets/stylesheets/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
  491. data/app/assets/stylesheets/themes/south-street/theme.css +269 -0
  492. data/app/assets/stylesheets/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  493. data/app/assets/stylesheets/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  494. data/app/assets/stylesheets/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  495. data/app/assets/stylesheets/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  496. data/app/assets/stylesheets/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  497. data/app/assets/stylesheets/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  498. data/app/assets/stylesheets/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  499. data/app/assets/stylesheets/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  500. data/app/assets/stylesheets/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  501. data/app/assets/stylesheets/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
  502. data/app/assets/stylesheets/themes/start/images/ui-icons_056b93_256x240.png +0 -0
  503. data/app/assets/stylesheets/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  504. data/app/assets/stylesheets/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
  505. data/app/assets/stylesheets/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
  506. data/app/assets/stylesheets/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
  507. data/app/assets/stylesheets/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
  508. data/app/assets/stylesheets/themes/start/theme.css +269 -0
  509. data/app/assets/stylesheets/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  510. data/app/assets/stylesheets/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  511. data/app/assets/stylesheets/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  512. data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  513. data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  514. data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  515. data/app/assets/stylesheets/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  516. data/app/assets/stylesheets/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  517. data/app/assets/stylesheets/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  518. data/app/assets/stylesheets/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
  519. data/app/assets/stylesheets/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
  520. data/app/assets/stylesheets/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
  521. data/app/assets/stylesheets/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
  522. data/app/assets/stylesheets/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
  523. data/app/assets/stylesheets/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
  524. data/app/assets/stylesheets/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
  525. data/app/assets/stylesheets/themes/sunny/theme.css +269 -0
  526. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  527. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
  528. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
  529. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  530. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
  531. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
  532. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  533. data/app/assets/stylesheets/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  534. data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
  535. data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
  536. data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
  537. data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
  538. data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
  539. data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
  540. data/app/assets/stylesheets/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
  541. data/app/assets/stylesheets/themes/swanky-purse/theme.css +269 -0
  542. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  543. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
  544. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  545. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  546. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  547. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
  548. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  549. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  550. data/app/assets/stylesheets/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  551. data/app/assets/stylesheets/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
  552. data/app/assets/stylesheets/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
  553. data/app/assets/stylesheets/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
  554. data/app/assets/stylesheets/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
  555. data/app/assets/stylesheets/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
  556. data/app/assets/stylesheets/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
  557. data/app/assets/stylesheets/themes/trontastic/theme.css +269 -0
  558. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  559. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  560. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  561. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  562. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  563. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  564. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  565. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  566. data/app/assets/stylesheets/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  567. data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  568. data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  569. data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  570. data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  571. data/app/assets/stylesheets/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  572. data/app/assets/stylesheets/themes/ui-darkness/theme.css +269 -0
  573. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  574. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  575. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  576. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  577. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  578. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  579. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  580. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  581. data/app/assets/stylesheets/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  582. data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  583. data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  584. data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  585. data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  586. data/app/assets/stylesheets/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  587. data/app/assets/stylesheets/themes/ui-lightness/theme.css +269 -0
  588. data/app/assets/stylesheets/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  589. data/app/assets/stylesheets/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  590. data/app/assets/stylesheets/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  591. data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  592. data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  593. data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  594. data/app/assets/stylesheets/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  595. data/app/assets/stylesheets/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  596. data/app/assets/stylesheets/themes/vader/images/ui-icons_666666_256x240.png +0 -0
  597. data/app/assets/stylesheets/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
  598. data/app/assets/stylesheets/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
  599. data/app/assets/stylesheets/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
  600. data/app/assets/stylesheets/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
  601. data/app/assets/stylesheets/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
  602. data/app/assets/stylesheets/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
  603. data/app/assets/stylesheets/themes/vader/theme.css +269 -0
  604. data/app/helpers/breadcrumb_helper.rb +51 -0
  605. data/app/helpers/dialog_helper.rb +34 -0
  606. data/app/helpers/fieldset_helper.rb +35 -0
  607. data/app/helpers/panel_helper.rb +35 -0
  608. data/app/helpers/progressbar_helper.rb +31 -0
  609. data/app/helpers/tabview_helper.rb +54 -0
  610. data/app/helpers/tooltip_helper.rb +35 -0
  611. data/app/views/prime-rails/_breadcrumbs.html.erb +10 -0
  612. data/lib/generators/primerails/install/install_generator.rb +47 -0
  613. data/lib/generators/primerails/install/templates/application.css +7 -0
  614. data/lib/generators/primerails/install/templates/application.js +11 -0
  615. data/lib/generators/primerails/install/templates/primerails_and_overrides.css +5 -0
  616. data/lib/prime/rails/engine.rb +22 -0
  617. data/lib/prime/rails/form_helper.rb +19 -0
  618. data/lib/prime/rails/form_tag_helper.rb +139 -0
  619. data/lib/prime/rails/prime-rails-breadcrumbs.rb +43 -0
  620. data/lib/prime/rails/primerails.rb +3 -0
  621. data/lib/prime/rails/tags/text_area.rb +32 -0
  622. data/lib/prime/rails/tags/text_field.rb +26 -0
  623. data/lib/prime/rails/utils.rb +28 -0
  624. data/lib/prime/rails/version.rb +5 -0
  625. data/lib/prime-rails.rb +1 -0
  626. metadata +681 -0
@@ -0,0 +1,117 @@
1
+ /**
2
+ * PrimeUI checkbox widget
3
+ */
4
+ $(function() {
5
+
6
+ $.widget("primeui.puicheckbox", {
7
+
8
+ _create: function() {
9
+ this.element.wrap('<div class="pui-chkbox ui-widget"><div class="ui-helper-hidden-accessible"></div></div>');
10
+ this.container = this.element.parent().parent();
11
+ this.box = $('<div class="pui-chkbox-box ui-widget ui-corner-all ui-state-default">').appendTo(this.container);
12
+ this.icon = $('<span class="pui-chkbox-icon pui-c"></span>').appendTo(this.box);
13
+ this.disabled = this.element.prop('disabled');
14
+ this.label = $('label[for="' + this.element.attr('id') + '"]');
15
+
16
+ if(this.element.prop('checked')) {
17
+ this.box.addClass('ui-state-active');
18
+ this.icon.addClass('ui-icon ui-icon-check');
19
+ }
20
+
21
+ if(this.disabled) {
22
+ this.box.addClass('ui-state-disabled');
23
+ } else {
24
+ this._bindEvents();
25
+ }
26
+ },
27
+
28
+ _bindEvents: function() {
29
+ var $this = this;
30
+
31
+ this.box.on('mouseover.puicheckbox', function() {
32
+ if(!$this.isChecked())
33
+ $this.box.addClass('ui-state-hover');
34
+ })
35
+ .on('mouseout.puicheckbox', function() {
36
+ $this.box.removeClass('ui-state-hover');
37
+ })
38
+ .on('click.puicheckbox', function() {
39
+ $this.toggle();
40
+ });
41
+
42
+ this.element.focus(function() {
43
+ if($this.isChecked()) {
44
+ $this.box.removeClass('ui-state-active');
45
+ }
46
+
47
+ $this.box.addClass('ui-state-focus');
48
+ })
49
+ .blur(function() {
50
+ if($this.isChecked()) {
51
+ $this.box.addClass('ui-state-active');
52
+ }
53
+
54
+ $this.box.removeClass('ui-state-focus');
55
+ })
56
+ .keydown(function(e) {
57
+ var keyCode = $.ui.keyCode;
58
+ if(e.which == keyCode.SPACE) {
59
+ e.preventDefault();
60
+ }
61
+ })
62
+ .keyup(function(e) {
63
+ var keyCode = $.ui.keyCode;
64
+ if(e.which == keyCode.SPACE) {
65
+ $this.toggle(true);
66
+
67
+ e.preventDefault();
68
+ }
69
+ });
70
+
71
+ this.label.on('click.puicheckbox', function(e) {
72
+ $this.toggle();
73
+ e.preventDefault();
74
+ });
75
+ },
76
+
77
+ toggle: function(keypress) {
78
+ if(this.isChecked()) {
79
+ this.uncheck(keypress);
80
+ } else {
81
+ this.check(keypress);
82
+ }
83
+
84
+ this._trigger('change', null, this.isChecked());
85
+ },
86
+
87
+ isChecked: function() {
88
+ return this.element.prop('checked');
89
+ },
90
+
91
+ check: function(activate, silent) {
92
+ if(!this.isChecked()) {
93
+ this.element.prop('checked', true);
94
+ this.icon.addClass('ui-icon ui-icon-check');
95
+
96
+ if(!activate) {
97
+ this.box.addClass('ui-state-active');
98
+ }
99
+
100
+ if(!silent) {
101
+ this.element.trigger('change');
102
+ }
103
+ }
104
+ },
105
+
106
+ uncheck: function() {
107
+ if(this.isChecked()) {
108
+ this.element.prop('checked', false);
109
+ this.box.removeClass('ui-state-active');
110
+ this.icon.removeClass('ui-icon ui-icon-check');
111
+
112
+ this.element.trigger('change');
113
+ }
114
+ }
115
+ });
116
+
117
+ });
@@ -0,0 +1,60 @@
1
+ /**
2
+ * PUI Object
3
+ */
4
+ PUI = {
5
+
6
+ zindex : 1000,
7
+
8
+ /**
9
+ * Aligns container scrollbar to keep item in container viewport, algorithm copied from jquery-ui menu widget
10
+ */
11
+ scrollInView: function(container, item) {
12
+ var borderTop = parseFloat(container.css('borderTopWidth')) || 0,
13
+ paddingTop = parseFloat(container.css('paddingTop')) || 0,
14
+ offset = item.offset().top - container.offset().top - borderTop - paddingTop,
15
+ scroll = container.scrollTop(),
16
+ elementHeight = container.height(),
17
+ itemHeight = item.outerHeight(true);
18
+
19
+ if(offset < 0) {
20
+ container.scrollTop(scroll + offset);
21
+ }
22
+ else if((offset + itemHeight) > elementHeight) {
23
+ container.scrollTop(scroll + offset - elementHeight + itemHeight);
24
+ }
25
+ },
26
+
27
+ isIE: function(version) {
28
+ return ($.browser.msie && parseInt($.browser.version, 10) === version);
29
+ },
30
+
31
+ escapeRegExp: function(text) {
32
+ return text.replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");
33
+ },
34
+
35
+ escapeHTML: function(value) {
36
+ return value.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');
37
+ },
38
+
39
+ clearSelection: function() {
40
+ if(window.getSelection) {
41
+ if(window.getSelection().empty) {
42
+ window.getSelection().empty();
43
+ } else if(window.getSelection().removeAllRanges) {
44
+ window.getSelection().removeAllRanges();
45
+ }
46
+ } else if(document.selection && document.selection.empty) {
47
+ document.selection.empty();
48
+ }
49
+ },
50
+
51
+ inArray: function(arr, item) {
52
+ for(var i = 0; i < arr.length; i++) {
53
+ if(arr[i] === item) {
54
+ return true;
55
+ }
56
+ }
57
+
58
+ return false;
59
+ }
60
+ };
@@ -0,0 +1,334 @@
1
+ /**
2
+ * PrimeUI Datatable Widget
3
+ */
4
+ $(function() {
5
+
6
+ $.widget("primeui.puidatatable", {
7
+
8
+ options: {
9
+ columns: null,
10
+ datasource: null,
11
+ paginator: null,
12
+ selectionMode: null,
13
+ rowSelect: null,
14
+ rowUnselect: null,
15
+ caption: null
16
+ },
17
+
18
+ _create: function() {
19
+ this.id = this.element.attr('id');
20
+ if(!this.id) {
21
+ this.id = this.element.uniqueId().attr('id');
22
+ }
23
+
24
+ this.element.addClass('pui-datatable ui-widget');
25
+ this.tableWrapper = $('<div class="pui-datatable-tablewrapper" />').appendTo(this.element);
26
+ this.table = $('<table><thead></thead><tbody></tbody></table>').appendTo(this.tableWrapper);
27
+ this.thead = this.table.children('thead');
28
+ this.tbody = this.table.children('tbody').addClass('pui-datatable-data');
29
+
30
+ if(this.options.datasource) {
31
+ if($.isArray(this.options.datasource)) {
32
+ this.data = this.options.datasource;
33
+ this._initialize();
34
+ }
35
+ else if($.type(this.options.datasource) === 'function') {
36
+ this.options.datasource.call(this, this._handleDataLoad);
37
+ }
38
+ }
39
+ },
40
+
41
+ _initialize: function() {
42
+ var $this = this;
43
+
44
+ if(this.options.columns) {
45
+ $.each(this.options.columns, function(i, col) {
46
+ var header = $('<th class="ui-state-default"></th>').data('field', col.field).appendTo($this.thead);
47
+
48
+ if(col.headerText) {
49
+ header.text(col.headerText);
50
+ }
51
+
52
+ if(col.sortable) {
53
+ header.addClass('pui-sortable-column')
54
+ .data('order', 1)
55
+ .append('<span class="pui-sortable-column-icon ui-icon ui-icon-carat-2-n-s"></span>');
56
+ }
57
+ });
58
+ }
59
+
60
+ if(this.options.caption) {
61
+ this.table.prepend('<caption class="pui-datatable-caption ui-widget-header">' + this.options.caption + '</caption>');
62
+ }
63
+
64
+ if(this.options.paginator) {
65
+ this.options.paginator.paginate = function(state) {
66
+ $this.paginate();
67
+ }
68
+
69
+ this.options.paginator.totalRecords = this.options.paginator.totalRecords||this.data.length;
70
+ this.paginator = $('<div></div>').insertAfter(this.tableWrapper).puipaginator(this.options.paginator);
71
+ }
72
+
73
+ if(this._isSortingEnabled()) {
74
+ this._initSorting();
75
+ }
76
+
77
+ if(this.options.selectionMode) {
78
+ this._initSelection();
79
+ }
80
+
81
+ this._renderData();
82
+ },
83
+
84
+ _handleDataLoad: function(data) {
85
+ this.data = data;
86
+ if(!this.data) {
87
+ this.data = [];
88
+ }
89
+
90
+ this._initialize();
91
+ },
92
+
93
+ _initSorting: function() {
94
+ var $this = this,
95
+ sortableColumns = this.thead.children('th.pui-sortable-column');
96
+
97
+ sortableColumns.on('mouseover.puidatatable', function() {
98
+ var column = $(this);
99
+
100
+ if(!column.hasClass('ui-state-active'))
101
+ column.addClass('ui-state-hover');
102
+ })
103
+ .on('mouseout.puidatatable', function() {
104
+ var column = $(this);
105
+
106
+ if(!column.hasClass('ui-state-active'))
107
+ column.removeClass('ui-state-hover');
108
+ })
109
+ .on('click.puidatatable', function() {
110
+ var column = $(this),
111
+ field = column.data('field'),
112
+ order = column.data('order'),
113
+ sortIcon = column.children('.pui-sortable-column-icon');
114
+
115
+ //clean previous sort state
116
+ column.siblings().filter('.ui-state-active').data('order', 1).removeClass('ui-state-active').children('span.pui-sortable-column-icon')
117
+ .removeClass('ui-icon-triangle-1-n ui-icon-triangle-1-s');
118
+
119
+ $this.sort(field, order);
120
+
121
+ //update state
122
+ column.data('order', -1*order);
123
+
124
+ column.removeClass('ui-state-hover').addClass('ui-state-active');
125
+ if(order === -1)
126
+ sortIcon.removeClass('ui-icon-triangle-1-n').addClass('ui-icon-triangle-1-s');
127
+ else if(order === 1)
128
+ sortIcon.removeClass('ui-icon-triangle-1-s').addClass('ui-icon-triangle-1-n');
129
+ });
130
+ },
131
+
132
+ paginate: function() {
133
+ this._renderData();
134
+ },
135
+
136
+ sort: function(field,order) {
137
+ this.data.sort(function(data1, data2) {
138
+ var value1 = data1[field],
139
+ value2 = data2[field],
140
+ result = (value1 < value2) ? -1 : (value1 > value2) ? 1 : 0;
141
+
142
+ return (order * result);
143
+ });
144
+
145
+ if(this.options.selectionMode) {
146
+ this.selection = [];
147
+ }
148
+
149
+ if(this.paginator) {
150
+ this.paginator.puipaginator('option', 'page', 0);
151
+ }
152
+
153
+ this._renderData();
154
+ },
155
+
156
+ sortByField: function(a, b) {
157
+ var aName = a.name.toLowerCase();
158
+ var bName = b.name.toLowerCase();
159
+ return ((aName < bName) ? -1 : ((aName > bName) ? 1 : 0));
160
+ },
161
+
162
+ _renderData: function() {
163
+ if(this.data) {
164
+ this.tbody.html('');
165
+
166
+ var first = this.getFirst(),
167
+ rows = this.getRows();
168
+
169
+ for(var i = first; i < (first + rows); i++) {
170
+ var rowData = this.data[i];
171
+
172
+ if(rowData) {
173
+ var row = $('<tr class="ui-widget-content" />').appendTo(this.tbody),
174
+ zebraStyle = (i%2 === 0) ? 'pui-datatable-even' : 'pui-datatable-odd';
175
+
176
+ row.addClass(zebraStyle);
177
+
178
+ if(this.options.selectionMode && PUI.inArray(this.selection, i)) {
179
+ row.addClass("ui-state-highlight");
180
+ }
181
+
182
+ for(var j = 0; j < this.options.columns.length; j++) {
183
+ var column = $('<td />').appendTo(row),
184
+ fieldValue = rowData[this.options.columns[j].field];
185
+
186
+ column.text(fieldValue);
187
+ }
188
+ }
189
+ }
190
+ }
191
+ },
192
+
193
+ getFirst: function() {
194
+ if(this.paginator) {
195
+ var page = this.paginator.puipaginator('option', 'page'),
196
+ rows = this.paginator.puipaginator('option', 'rows');
197
+
198
+ return (page * rows);
199
+ }
200
+ else {
201
+ return 0;
202
+ }
203
+ },
204
+
205
+ getRows: function() {
206
+ return this.paginator ? this.paginator.puipaginator('option', 'rows') : this.data.length;
207
+ },
208
+
209
+ _isSortingEnabled: function() {
210
+ var cols = this.options.columns;
211
+ if(cols) {
212
+ for(var i = 0; i < cols.length; i++) {
213
+ if(cols[i].sortable) {
214
+ return true;
215
+ }
216
+ }
217
+ }
218
+
219
+ return false;
220
+ },
221
+
222
+ _initSelection: function() {
223
+ var $this = this;
224
+ this.selection = [];
225
+ this.rowSelector = '#' + this.id + ' tbody.pui-datatable-data > tr.ui-widget-content:not(.ui-datatable-empty-message)';
226
+
227
+ //shift key based range selection
228
+ if(this._isMultipleSelection()) {
229
+ this.originRowIndex = 0;
230
+ this.cursorIndex = null;
231
+ }
232
+
233
+ $(document).off('mouseover.puidatatable mouseout.puidatatable click.puidatatable', this.rowSelector)
234
+ .on('mouseover.datatable', this.rowSelector, null, function() {
235
+ var element = $(this);
236
+
237
+ if(!element.hasClass('ui-state-highlight')) {
238
+ element.addClass('ui-state-hover');
239
+ }
240
+ })
241
+ .on('mouseout.datatable', this.rowSelector, null, function() {
242
+ var element = $(this);
243
+
244
+ if(!element.hasClass('ui-state-highlight')) {
245
+ element.removeClass('ui-state-hover');
246
+ }
247
+ })
248
+ .on('click.datatable', this.rowSelector, null, function(e) {
249
+ $this._onRowClick(e, this);
250
+ });
251
+ },
252
+
253
+ _onRowClick: function(event, rowElement) {
254
+ if(!$(event.target).is(':input,:button,a')) {
255
+ var row = $(rowElement),
256
+ selected = row.hasClass('ui-state-highlight'),
257
+ metaKey = event.metaKey||event.ctrlKey,
258
+ shiftKey = event.shiftKey;
259
+
260
+ //unselect a selected row if metakey is on
261
+ if(selected && metaKey) {
262
+ this.unselectRow(row);
263
+ }
264
+ else {
265
+ //unselect previous selection if this is single selection or multiple one with no keys
266
+ if(this._isSingleSelection() || (this._isMultipleSelection() && !metaKey && !shiftKey)) {
267
+ this.unselectAllRows();
268
+ }
269
+
270
+ this.selectRow(row);
271
+ }
272
+
273
+ PUI.clearSelection();
274
+ }
275
+ },
276
+
277
+ _isSingleSelection: function() {
278
+ return this.options.selectionMode === 'single';
279
+ },
280
+
281
+ _isMultipleSelection: function() {
282
+ return this.options.selectionMode === 'multiple';
283
+ },
284
+
285
+ unselectAllRows: function() {
286
+ this.tbody.children('tr.ui-state-highlight').removeClass('ui-state-highlight').attr('aria-selected', false);
287
+ this.selection = [];
288
+ },
289
+
290
+ unselectRow: function(row, silent) {
291
+ var rowIndex = this._getRowIndex(row);
292
+ row.removeClass('ui-state-highlight').attr('aria-selected', false);
293
+
294
+ this._removeSelection(rowIndex);
295
+
296
+ if(!silent) {
297
+ this._trigger('rowUnselect', null, this.data[rowIndex]);
298
+ }
299
+ },
300
+
301
+ selectRow: function(row, silent) {
302
+ var rowIndex = this._getRowIndex(row);
303
+ row.removeClass('ui-state-hover').addClass('ui-state-highlight').attr('aria-selected', true);
304
+
305
+ this._addSelection(rowIndex);
306
+
307
+ if(!silent) {
308
+ this._trigger('rowSelect', null, this.data[rowIndex]);
309
+ }
310
+ },
311
+
312
+ _removeSelection: function(rowIndex) {
313
+ this.selection = $.grep(this.selection, function(value) {
314
+ return value !== rowIndex;
315
+ });
316
+ },
317
+
318
+ _addSelection: function(rowIndex) {
319
+ if(!this._isSelected(rowIndex)) {
320
+ this.selection.push(rowIndex);
321
+ }
322
+ },
323
+
324
+ _isSelected: function(rowIndex) {
325
+ return PUI.inArray(this.selection, rowIndex);
326
+ },
327
+
328
+ _getRowIndex: function(row) {
329
+ var index = row.index();
330
+
331
+ return this.options.paginator ? this.getFirst() + index : index;
332
+ }
333
+ });
334
+ });