compass-jquery-plugin 0.3.0.0 → 0.3.1.beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. data/README.textile +69 -13
  2. data/Rakefile +1 -1
  3. data/VERSION.yml +2 -2
  4. data/gem_tasks/jqgrid.rake +119 -0
  5. data/gem_tasks/jrails.rake +78 -77
  6. data/gem_tasks/mobile.rake +156 -0
  7. data/gem_tasks/rubygems.rake +5 -1
  8. data/gem_tasks/secret_sauce.rake +64 -0
  9. data/lib/jquery/gridify.rb +42 -0
  10. data/lib/jquery/gridify/assertions.rb +37 -0
  11. data/lib/jquery/gridify/grid.rb +210 -0
  12. data/lib/jquery/gridify/grid_column.rb +134 -0
  13. data/lib/jquery/gridify/grid_finder.rb +223 -0
  14. data/lib/jquery/gridify/grid_options.rb +279 -0
  15. data/lib/jquery/gridify/grid_view.rb +435 -0
  16. data/lib/jquery/jqgrid.rb +5 -0
  17. data/lib/jquery/jqgrid/jqgrid.rb +438 -0
  18. data/lib/jquery/mobile.rb +3 -0
  19. data/lib/jquery/secret_sauce.rb +9 -0
  20. data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +14 -0
  21. data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +18 -0
  22. data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +6 -0
  23. data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +118 -0
  24. data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +226 -0
  25. data/lib/jquery/secret_sauce/model/find_for_grid.rb +42 -0
  26. data/templates/dynatree/jquery.dynatree.js +258 -147
  27. data/templates/dynatree/jquery.dynatree.min.js +81 -79
  28. data/templates/dynatree/jquery/dynatree/aero.scss +35 -18
  29. data/templates/dynatree/jquery/dynatree/aero/drop_sibling_here.png +0 -0
  30. data/templates/dynatree/jquery/dynatree/aqua.scss +36 -19
  31. data/templates/dynatree/jquery/dynatree/aqua/drop_sibling_here.png +0 -0
  32. data/templates/dynatree/jquery/dynatree/crystal.scss +38 -21
  33. data/templates/dynatree/jquery/dynatree/crystal/drop_sibling_here.png +0 -0
  34. data/templates/dynatree/jquery/dynatree/xp.scss +59 -42
  35. data/templates/dynatree/jquery/dynatree/xp/drop_sibling_here.png +0 -0
  36. data/templates/dynatree/manifest.rb +4 -0
  37. data/templates/jqgrid/config/initializers/jqgrid.rb +4 -0
  38. data/templates/jqgrid/config/locales/jquery/jqgrid/de.yml +7 -0
  39. data/templates/jqgrid/config/locales/jquery/jqgrid/en.yml +7 -0
  40. data/templates/jqgrid/i18n/jqgrid/locale-bg.js +132 -0
  41. data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +6 -0
  42. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +132 -0
  43. data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +6 -0
  44. data/templates/jqgrid/i18n/jqgrid/locale-cat.js +128 -0
  45. data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +6 -0
  46. data/templates/jqgrid/i18n/jqgrid/locale-cn.js +132 -0
  47. data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +5 -0
  48. data/templates/jqgrid/i18n/jqgrid/locale-cs.js +128 -0
  49. data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +6 -0
  50. data/templates/jqgrid/i18n/jqgrid/locale-da.js +128 -0
  51. data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +6 -0
  52. data/templates/jqgrid/i18n/jqgrid/locale-de.js +133 -0
  53. data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +7 -0
  54. data/templates/jqgrid/i18n/jqgrid/locale-el.js +126 -0
  55. data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +7 -0
  56. data/templates/jqgrid/i18n/jqgrid/locale-en.js +128 -0
  57. data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +6 -0
  58. data/templates/jqgrid/i18n/jqgrid/locale-es.js +128 -0
  59. data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +7 -0
  60. data/templates/jqgrid/i18n/jqgrid/locale-fa.js +125 -0
  61. data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +6 -0
  62. data/templates/jqgrid/i18n/jqgrid/locale-fi.js +130 -0
  63. data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +6 -0
  64. data/templates/jqgrid/i18n/jqgrid/locale-fr.js +126 -0
  65. data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +7 -0
  66. data/templates/jqgrid/i18n/jqgrid/locale-gl.js +126 -0
  67. data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +7 -0
  68. data/templates/jqgrid/i18n/jqgrid/locale-he.js +127 -0
  69. data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +6 -0
  70. data/templates/jqgrid/i18n/jqgrid/locale-hu.js +129 -0
  71. data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +6 -0
  72. data/templates/jqgrid/i18n/jqgrid/locale-is.js +126 -0
  73. data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +6 -0
  74. data/templates/jqgrid/i18n/jqgrid/locale-it.js +1 -0
  75. data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +7 -0
  76. data/templates/jqgrid/i18n/jqgrid/locale-ja.js +155 -0
  77. data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +5 -0
  78. data/templates/jqgrid/i18n/jqgrid/locale-nl.js +149 -0
  79. data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +6 -0
  80. data/templates/jqgrid/i18n/jqgrid/locale-no.js +1 -0
  81. data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +6 -0
  82. data/templates/jqgrid/i18n/jqgrid/locale-pl.js +127 -0
  83. data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +6 -0
  84. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +127 -0
  85. data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +6 -0
  86. data/templates/jqgrid/i18n/jqgrid/locale-pt.js +125 -0
  87. data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +6 -0
  88. data/templates/jqgrid/i18n/jqgrid/locale-ro.js +139 -0
  89. data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +7 -0
  90. data/templates/jqgrid/i18n/jqgrid/locale-ru.js +127 -0
  91. data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +7 -0
  92. data/templates/jqgrid/i18n/jqgrid/locale-sk.js +127 -0
  93. data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +6 -0
  94. data/templates/jqgrid/i18n/jqgrid/locale-sr.js +128 -0
  95. data/templates/jqgrid/i18n/jqgrid/locale-sr.min.js +6 -0
  96. data/templates/jqgrid/i18n/jqgrid/locale-sv.js +127 -0
  97. data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +6 -0
  98. data/templates/jqgrid/i18n/jqgrid/locale-tr.js +126 -0
  99. data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +6 -0
  100. data/templates/jqgrid/i18n/jqgrid/locale-ua.js +127 -0
  101. data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +7 -0
  102. data/templates/jqgrid/jquery.jqGrid.js +11604 -0
  103. data/templates/jqgrid/jquery.jqGrid.min.js +472 -0
  104. data/templates/jqgrid/jquery/jqGrid.scss +692 -0
  105. data/templates/jqgrid/manifest.rb +72 -0
  106. data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +13 -0
  107. data/templates/jqtouch/jquery/touch/apple.scss +5 -5
  108. data/templates/jqtouch/jquery/touch/default.scss +5 -5
  109. data/templates/jqtouch/jquery/touch/jqt.scss +5 -5
  110. data/templates/jrails/config/initializers/jrails.rb +3 -0
  111. data/templates/jrails/jquery-ui.js +45 -62
  112. data/templates/jrails/jquery-ui.min.js +22 -22
  113. data/templates/jrails/jquery.js +340 -206
  114. data/templates/jrails/jquery.min.js +152 -151
  115. data/templates/jrails/jquery.tmpl.js +489 -0
  116. data/templates/jrails/jquery.tmpl.min.js +12 -0
  117. data/templates/jrails/jquery.tmplPlus.js +98 -0
  118. data/templates/jrails/jquery.tmplPlus.min.js +3 -0
  119. data/templates/jrails/jquery/ui/_theme.scss +3 -1
  120. data/templates/jrails/manifest.rb +4 -0
  121. data/templates/jstree/jquery.jstree.js +4479 -4468
  122. data/templates/jstree/jquery.jstree.min.js +4 -3
  123. data/templates/mobile/config/initializers/mobile.rb +6 -0
  124. data/templates/mobile/glyphish/Read me first - license.txt +14 -0
  125. data/templates/mobile/glyphish/icons-black/01-refresh.png +0 -0
  126. data/templates/mobile/glyphish/icons-black/02-redo.png +0 -0
  127. data/templates/mobile/glyphish/icons-black/03-loopback.png +0 -0
  128. data/templates/mobile/glyphish/icons-black/04-squiggle.png +0 -0
  129. data/templates/mobile/glyphish/icons-black/05-shuffle.png +0 -0
  130. data/templates/mobile/glyphish/icons-black/06-magnifying-glass.png +0 -0
  131. data/templates/mobile/glyphish/icons-black/07-map-marker.png +0 -0
  132. data/templates/mobile/glyphish/icons-black/08-chat.png +0 -0
  133. data/templates/mobile/glyphish/icons-black/09-chat2.png +0 -0
  134. data/templates/mobile/glyphish/icons-black/10-medical.png +0 -0
  135. data/templates/mobile/glyphish/icons-black/100-coffee.png +0 -0
  136. data/templates/mobile/glyphish/icons-black/101-gameplan.png +0 -0
  137. data/templates/mobile/glyphish/icons-black/102-walk.png +0 -0
  138. data/templates/mobile/glyphish/icons-black/103-map.png +0 -0
  139. data/templates/mobile/glyphish/icons-black/104-index-cards.png +0 -0
  140. data/templates/mobile/glyphish/icons-black/105-piano.png +0 -0
  141. data/templates/mobile/glyphish/icons-black/106-sliders.png +0 -0
  142. data/templates/mobile/glyphish/icons-black/107-widescreen.png +0 -0
  143. data/templates/mobile/glyphish/icons-black/108-badge.png +0 -0
  144. data/templates/mobile/glyphish/icons-black/109-chicken.png +0 -0
  145. data/templates/mobile/glyphish/icons-black/11-clock.png +0 -0
  146. data/templates/mobile/glyphish/icons-black/110-bug.png +0 -0
  147. data/templates/mobile/glyphish/icons-black/111-user.png +0 -0
  148. data/templates/mobile/glyphish/icons-black/112-group.png +0 -0
  149. data/templates/mobile/glyphish/icons-black/113-navigation.png +0 -0
  150. data/templates/mobile/glyphish/icons-black/114-balloon.png +0 -0
  151. data/templates/mobile/glyphish/icons-black/115-bow-and-arrow.png +0 -0
  152. data/templates/mobile/glyphish/icons-black/116-controller.png +0 -0
  153. data/templates/mobile/glyphish/icons-black/117-todo.png +0 -0
  154. data/templates/mobile/glyphish/icons-black/118-coathanger.png +0 -0
  155. data/templates/mobile/glyphish/icons-black/119-piggybank.png +0 -0
  156. data/templates/mobile/glyphish/icons-black/12-eye.png +0 -0
  157. data/templates/mobile/glyphish/icons-black/120-headphones.png +0 -0
  158. data/templates/mobile/glyphish/icons-black/121-lanscape.png +0 -0
  159. data/templates/mobile/glyphish/icons-black/122-stats.png +0 -0
  160. data/templates/mobile/glyphish/icons-black/123-id-card.png +0 -0
  161. data/templates/mobile/glyphish/icons-black/124-bullhorn.png +0 -0
  162. data/templates/mobile/glyphish/icons-black/125-food.png +0 -0
  163. data/templates/mobile/glyphish/icons-black/126-moon.png +0 -0
  164. data/templates/mobile/glyphish/icons-black/127-sock.png +0 -0
  165. data/templates/mobile/glyphish/icons-black/128-bone.png +0 -0
  166. data/templates/mobile/glyphish/icons-black/129-golf.png +0 -0
  167. data/templates/mobile/glyphish/icons-black/13-target.png +0 -0
  168. data/templates/mobile/glyphish/icons-black/130-dice.png +0 -0
  169. data/templates/mobile/glyphish/icons-black/14-tag.png +0 -0
  170. data/templates/mobile/glyphish/icons-black/15-tags.png +0 -0
  171. data/templates/mobile/glyphish/icons-black/16-line-chart.png +0 -0
  172. data/templates/mobile/glyphish/icons-black/17-bar-chart.png +0 -0
  173. data/templates/mobile/glyphish/icons-black/18-envelope.png +0 -0
  174. data/templates/mobile/glyphish/icons-black/19-gear.png +0 -0
  175. data/templates/mobile/glyphish/icons-black/20-gear2.png +0 -0
  176. data/templates/mobile/glyphish/icons-black/21-skull.png +0 -0
  177. data/templates/mobile/glyphish/icons-black/22-skull-n-crossbones.png +0 -0
  178. data/templates/mobile/glyphish/icons-black/23-bird.png +0 -0
  179. data/templates/mobile/glyphish/icons-black/24-gift.png +0 -0
  180. data/templates/mobile/glyphish/icons-black/25-weather.png +0 -0
  181. data/templates/mobile/glyphish/icons-black/26-bandaid.png +0 -0
  182. data/templates/mobile/glyphish/icons-black/27-planet.png +0 -0
  183. data/templates/mobile/glyphish/icons-black/28-star.png +0 -0
  184. data/templates/mobile/glyphish/icons-black/29-heart.png +0 -0
  185. data/templates/mobile/glyphish/icons-black/30-key.png +0 -0
  186. data/templates/mobile/glyphish/icons-black/31-ipod.png +0 -0
  187. data/templates/mobile/glyphish/icons-black/32-iphone.png +0 -0
  188. data/templates/mobile/glyphish/icons-black/33-cabinet.png +0 -0
  189. data/templates/mobile/glyphish/icons-black/34-coffee.png +0 -0
  190. data/templates/mobile/glyphish/icons-black/35-shopping-bag.png +0 -0
  191. data/templates/mobile/glyphish/icons-black/36-toolbox.png +0 -0
  192. data/templates/mobile/glyphish/icons-black/37-suitcase.png +0 -0
  193. data/templates/mobile/glyphish/icons-black/38-airplane.png +0 -0
  194. data/templates/mobile/glyphish/icons-black/39-spraycan.png +0 -0
  195. data/templates/mobile/glyphish/icons-black/40-inbox.png +0 -0
  196. data/templates/mobile/glyphish/icons-black/41-picture-frame.png +0 -0
  197. data/templates/mobile/glyphish/icons-black/42-photos.png +0 -0
  198. data/templates/mobile/glyphish/icons-black/43-film-roll.png +0 -0
  199. data/templates/mobile/glyphish/icons-black/44-shoebox.png +0 -0
  200. data/templates/mobile/glyphish/icons-black/45-movie1.png +0 -0
  201. data/templates/mobile/glyphish/icons-black/46-movie2.png +0 -0
  202. data/templates/mobile/glyphish/icons-black/47-fuel.png +0 -0
  203. data/templates/mobile/glyphish/icons-black/48-fork-and-knife.png +0 -0
  204. data/templates/mobile/glyphish/icons-black/49-battery.png +0 -0
  205. data/templates/mobile/glyphish/icons-black/50-beaker.png +0 -0
  206. data/templates/mobile/glyphish/icons-black/51-outlet.png +0 -0
  207. data/templates/mobile/glyphish/icons-black/52-pinetree.png +0 -0
  208. data/templates/mobile/glyphish/icons-black/53-house.png +0 -0
  209. data/templates/mobile/glyphish/icons-black/54-lock.png +0 -0
  210. data/templates/mobile/glyphish/icons-black/55-network.png +0 -0
  211. data/templates/mobile/glyphish/icons-black/56-cloud.png +0 -0
  212. data/templates/mobile/glyphish/icons-black/57-download.png +0 -0
  213. data/templates/mobile/glyphish/icons-black/58-bookmark.png +0 -0
  214. data/templates/mobile/glyphish/icons-black/59-flag.png +0 -0
  215. data/templates/mobile/glyphish/icons-black/60-signpost.png +0 -0
  216. data/templates/mobile/glyphish/icons-black/61-brightness.png +0 -0
  217. data/templates/mobile/glyphish/icons-black/62-contrast.png +0 -0
  218. data/templates/mobile/glyphish/icons-black/63-runner.png +0 -0
  219. data/templates/mobile/glyphish/icons-black/64-zap.png +0 -0
  220. data/templates/mobile/glyphish/icons-black/65-note.png +0 -0
  221. data/templates/mobile/glyphish/icons-black/66-microphone.png +0 -0
  222. data/templates/mobile/glyphish/icons-black/67-tshirt.png +0 -0
  223. data/templates/mobile/glyphish/icons-black/68-paperclip.png +0 -0
  224. data/templates/mobile/glyphish/icons-black/69-display.png +0 -0
  225. data/templates/mobile/glyphish/icons-black/70-tv.png +0 -0
  226. data/templates/mobile/glyphish/icons-black/71-compass.png +0 -0
  227. data/templates/mobile/glyphish/icons-black/72-pin.png +0 -0
  228. data/templates/mobile/glyphish/icons-black/73-radar.png +0 -0
  229. data/templates/mobile/glyphish/icons-black/74-location.png +0 -0
  230. data/templates/mobile/glyphish/icons-black/75-phone.png +0 -0
  231. data/templates/mobile/glyphish/icons-black/76-baby.png +0 -0
  232. data/templates/mobile/glyphish/icons-black/77-ekg.png +0 -0
  233. data/templates/mobile/glyphish/icons-black/78-stopwatch.png +0 -0
  234. data/templates/mobile/glyphish/icons-black/79-medical-bag.png +0 -0
  235. data/templates/mobile/glyphish/icons-black/80-shopping-cart.png +0 -0
  236. data/templates/mobile/glyphish/icons-black/81-dashboard.png +0 -0
  237. data/templates/mobile/glyphish/icons-black/82-dogpaw.png +0 -0
  238. data/templates/mobile/glyphish/icons-black/83-calendar.png +0 -0
  239. data/templates/mobile/glyphish/icons-black/84-lightbulb.png +0 -0
  240. data/templates/mobile/glyphish/icons-black/85-trophy.png +0 -0
  241. data/templates/mobile/glyphish/icons-black/86-camera.png +0 -0
  242. data/templates/mobile/glyphish/icons-black/87-wineglass.png +0 -0
  243. data/templates/mobile/glyphish/icons-black/88-beermug.png +0 -0
  244. data/templates/mobile/glyphish/icons-black/89-dumbbell.png +0 -0
  245. data/templates/mobile/glyphish/icons-black/90-lifebuoy.png +0 -0
  246. data/templates/mobile/glyphish/icons-black/91-beaker2.png +0 -0
  247. data/templates/mobile/glyphish/icons-black/92-testtube.png +0 -0
  248. data/templates/mobile/glyphish/icons-black/93-thermometer.png +0 -0
  249. data/templates/mobile/glyphish/icons-black/94-pill.png +0 -0
  250. data/templates/mobile/glyphish/icons-black/95-equalizer.png +0 -0
  251. data/templates/mobile/glyphish/icons-black/96-book.png +0 -0
  252. data/templates/mobile/glyphish/icons-black/97-puzzle.png +0 -0
  253. data/templates/mobile/glyphish/icons-black/98-palette.png +0 -0
  254. data/templates/mobile/glyphish/icons-black/99-umbrella.png +0 -0
  255. data/templates/mobile/glyphish/icons-white/09-chat2.png +0 -0
  256. data/templates/mobile/glyphish/icons-white/100-coffee.png +0 -0
  257. data/templates/mobile/glyphish/icons-white/18-envelope.png +0 -0
  258. data/templates/mobile/glyphish/icons-white/19-gear.png +0 -0
  259. data/templates/mobile/glyphish/icons-white/21-skull.png +0 -0
  260. data/templates/mobile/glyphish/icons-white/30-key.png +0 -0
  261. data/templates/mobile/glyphish/icons-white/34-coffee.png +0 -0
  262. data/templates/mobile/glyphish/icons-white/88-beermug.png +0 -0
  263. data/templates/mobile/glyphish/mini-icons-black/band-aid.png +0 -0
  264. data/templates/mobile/glyphish/mini-icons-black/chat.png +0 -0
  265. data/templates/mobile/glyphish/mini-icons-black/clock.png +0 -0
  266. data/templates/mobile/glyphish/mini-icons-black/eye.png +0 -0
  267. data/templates/mobile/glyphish/mini-icons-black/flag.png +0 -0
  268. data/templates/mobile/glyphish/mini-icons-black/fork-and-knife.png +0 -0
  269. data/templates/mobile/glyphish/mini-icons-black/gear.png +0 -0
  270. data/templates/mobile/glyphish/mini-icons-black/heart.png +0 -0
  271. data/templates/mobile/glyphish/mini-icons-black/lightning-bolt.png +0 -0
  272. data/templates/mobile/glyphish/mini-icons-black/magnifying-glass.png +0 -0
  273. data/templates/mobile/glyphish/mini-icons-black/map-marker.png +0 -0
  274. data/templates/mobile/glyphish/mini-icons-black/map-pin.png +0 -0
  275. data/templates/mobile/glyphish/mini-icons-black/microphone.png +0 -0
  276. data/templates/mobile/glyphish/mini-icons-black/music-note.png +0 -0
  277. data/templates/mobile/glyphish/mini-icons-black/paw.png +0 -0
  278. data/templates/mobile/glyphish/mini-icons-black/plus.png +0 -0
  279. data/templates/mobile/glyphish/mini-icons-black/puzzle.png +0 -0
  280. data/templates/mobile/glyphish/mini-icons-black/star.png +0 -0
  281. data/templates/mobile/glyphish/mini-icons-black/tag.png +0 -0
  282. data/templates/mobile/glyphish/mini-icons-black/tshirt.png +0 -0
  283. data/templates/mobile/jquery.mobile.js +3995 -0
  284. data/templates/mobile/jquery.mobile.min.js +28 -0
  285. data/templates/mobile/jquery/mobile/_base.scss +1344 -0
  286. data/templates/mobile/jquery/mobile/default.scss +745 -0
  287. data/templates/mobile/jquery/mobile/default/ajax-loader.png +0 -0
  288. data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
  289. data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
  290. data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
  291. data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
  292. data/templates/mobile/jquery/mobile/default/icon-search-black.png +0 -0
  293. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  294. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  295. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  296. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  297. data/templates/mobile/jquery/mobile/valencia.scss +807 -0
  298. data/templates/mobile/jquery/mobile/valencia/ajax-loader.png +0 -0
  299. data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
  300. data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
  301. data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
  302. data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
  303. data/templates/mobile/jquery/mobile/valencia/icon-search-black.png +0 -0
  304. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  305. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  306. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  307. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  308. data/templates/mobile/jquery/mobile/valencia/texture_05.png +0 -0
  309. data/templates/mobile/jquery/mobile/valencia/texture_075.png +0 -0
  310. data/templates/mobile/lib/tasks/jquery.mobile.rake +106 -0
  311. data/templates/mobile/manifest.rb +191 -0
  312. data/templates/secret_sauce/app/views/shared/_ui_form_error_messages.html.haml +6 -0
  313. data/templates/secret_sauce/app/views/shared/_ui_grid_for_without_block.js.haml +144 -0
  314. data/templates/secret_sauce/app/views/shared/_ui_static_dialog.html.haml +6 -0
  315. data/templates/secret_sauce/config/initializers/secret_sauce.rb +8 -0
  316. data/templates/secret_sauce/jquery/secret_sauce.scss +33 -0
  317. data/templates/secret_sauce/manifest.rb +10 -0
  318. data/templates/secret_sauce/secret_sauce.js +12 -0
  319. data/templates/secret_sauce/secret_sauce.min.js +1 -0
  320. metadata +313 -17
  321. data/.gitignore +0 -22
  322. data/compass-jquery-plugin.gemspec +0 -1064
@@ -1,8 +1,8 @@
1
1
  // Generated by compass-jquery-plugin/gem-tasks/dynatree.rake
2
2
 
3
- /*******************************************************************************/
4
- /* Tree container */
5
- /*******************************************************************************/
3
+ /*******************************************************************************
4
+ * Tree container
5
+ */
6
6
 
7
7
  ul {
8
8
  &.dynatree-container {
@@ -13,6 +13,7 @@ ul {
13
13
  padding: 3px;
14
14
  background-color: white;
15
15
  border: 1px dotted gray;
16
+ overflow: auto;
16
17
  ul {
17
18
  padding: 0 0 0 16px; }
18
19
  li {
@@ -30,20 +31,23 @@ ul {
30
31
  margin: 0;
31
32
  /* padding:3px 0 3px 16px;*/
32
33
  /* padding:3px 0 3px 0;*/
33
- padding: 1px 0 0 0; }
34
- >li {
35
- /* background-image: none;*/ }
36
- li.dynatree-lastsib {
37
- background-image: none; } }
38
- &.dynatree-disabled ul.dynatree-container {
39
- opacity: 0.5;
40
- /* filter: alpha(opacity=50); /* Yields a css warning */
41
- background-color: silver; } }
42
-
43
- /* Always suppress vertical line for top level*/
34
+ padding: 1px 0 0 0;
35
+ &.dynatree-lastsib {
36
+ background-image: none; } } }
37
+ &.dynatree-no-connector > li {
38
+ background-image: none; } }
39
+
40
+ /* Suppress lines for last child node */
41
+
42
+ /* Suppress lines if level is fixed expanded (option minExpandLevel) */
44
43
 
45
44
  /* Style, when control is disabled */
46
45
 
46
+ .ui-dynatree-disabled ul.dynatree-container {
47
+ opacity: 0.5;
48
+ /* filter: alpha(opacity=50); /* Yields a css warning */
49
+ background-color: silver; }
50
+
47
51
  /*******************************************************************************
48
52
  * Default for custom icons
49
53
  */
@@ -74,7 +78,7 @@ span {
74
78
  background-repeat: no-repeat;
75
79
  background-position: left; } }
76
80
 
77
- #dynatree_drop_marker {
81
+ #dynatree-drop-marker {
78
82
  width: 16px;
79
83
  height: 16px;
80
84
  display: -moz-inline-box;
@@ -140,6 +144,9 @@ span {
140
144
  .dynatree-exp-el span.dynatree-expander, .dynatree-exp-edl span.dynatree-expander {
141
145
  background-image: image_url("jquery/dynatree/xp/ltM_ne.png"); }
142
146
 
147
+ .dynatree-loading span.dynatree-expander {
148
+ background-image: image_url("jquery/dynatree/xp/ltWait.gif"); }
149
+
143
150
  /*******************************************************************************
144
151
  * Checkbox icon
145
152
  */
@@ -214,7 +221,8 @@ span.dynatree-icon {
214
221
  * Node titles
215
222
  */
216
223
 
217
- /* @Chrome: otherwise hit area of node titles is broken (issue 133) */
224
+ /* @Chrome: otherwise hit area of node titles is broken (issue 133)
225
+ Removed again for issue 165; (133 couldn't be reproduced) */
218
226
 
219
227
  span.dynatree-node {
220
228
  display: -moz-inline-box;
@@ -233,7 +241,11 @@ ul.dynatree-container a {
233
241
  margin-left: 3px;
234
242
  /* outline: 0; /* @ Firefox, prevent dotted border after click */
235
243
  &:hover {
236
- text-decoration: underline; } }
244
+ /* text-decoration: underline; */
245
+ background: #F2F7FD;
246
+ /* light blue */
247
+ border-color: #B8D6FB;
248
+ /* darker light blue */ } }
237
249
 
238
250
  span {
239
251
  &.dynatree-node a {
@@ -264,10 +276,11 @@ span {
264
276
  color: white !important;
265
277
  /* @ IE6 */ } }
266
278
 
267
- /***********************************************************************
279
+ /*******************************************************************************
268
280
  * Drag'n'drop support
269
281
  */
270
- /* Helper object */
282
+
283
+ /*** Helper object ************************************************************/
271
284
 
272
285
  div.dynatree-drag-helper a {
273
286
  border: 1px solid gray;
@@ -283,8 +296,9 @@ span.dynatree-drag-helper-img {
283
296
  */ }
284
297
 
285
298
  div {
286
- &.dynatree-drag-helper.dynatree-drop-accept {
287
- border-color: green; }
299
+ &.dynatree-drag-helper {
300
+ /* border-color: green;
301
+ background-color: red;*/ }
288
302
  &.dynatree-drop-accept span.dynatree-drag-helper-img {
289
303
  background-image: image_url("jquery/dynatree/xp/drop_accept.png"); }
290
304
  &.dynatree-drag-helper.dynatree-drop-reject {
@@ -292,7 +306,21 @@ div {
292
306
  &.dynatree-drop-reject span.dynatree-drag-helper-img {
293
307
  background-image: image_url("jquery/dynatree/xp/drop_reject.png"); } }
294
308
 
295
- /* Source node while dragging */
309
+ /*** Drop marker icon *********************************************************/
310
+
311
+ #dynatree-drop-marker {
312
+ width: 24px;
313
+ position: absolute;
314
+ background-image: image_url("jquery/dynatree/xp/drop_here.png");
315
+ &.dynatree-drop-after, &.dynatree-drop-before {
316
+ width: 64px;
317
+ background-image: image_url("jquery/dynatree/xp/drop_sibling_here.png"); }
318
+ &.dynatree-drop-copy {
319
+ background-image: image_url("jquery/dynatree/xp/copy_here.png"); }
320
+ &.dynatree-drop-move {
321
+ background-image: image_url("jquery/dynatree/xp/move_here.png"); } }
322
+
323
+ /*** Source node while dragging ***********************************************/
296
324
 
297
325
  span {
298
326
  &.dynatree-drag-source {
@@ -303,38 +331,27 @@ span {
303
331
  &.dynatree-drop-target {
304
332
  /*border: 1px solid gray;*/
305
333
  a {
306
- background-repeat: no-repeat;
334
+ /*background-repeat: no-repeat;
307
335
  background-position: right;
308
- /*background-image: image_url("jquery/dynatree/xp/drop_child.png");*/ }
336
+ background-image: image_url("jquery/dynatree/xp/drop_child.png");*/ }
309
337
  &.dynatree-drop-accept a {
310
338
  /*border: 1px solid green;*/
311
339
  background-color: #3169C6 !important;
312
340
  color: white !important;
313
- /* @ IE6 */ }
341
+ /* @ IE6 */
342
+ text-decoration: none; }
314
343
  &.dynatree-drop-reject {
315
344
  /*border: 1px solid red;*/ }
316
345
  &.dynatree-drop-after a {
317
346
  /*background-repeat: repeat-x;
318
347
  background-position: bottom;
319
- background-image: image_url("jquery/dynatree/xp/drop_append.png");*/ } } }
348
+ background-image: image_url("jquery/dynatree/xp/drop_append.png");*/ } }
349
+ &.custom1 a {
350
+ background-color: maroon;
351
+ color: yellow; } }
320
352
 
321
- /* Target node while dragging cursor is over it */
322
-
323
- /* Drop marker icon */
324
-
325
- #dynatree_drop_marker {
326
- width: 24px;
327
- position: absolute;
328
- background-image: image_url("jquery/dynatree/xp/drop_here.png");
329
- &.dynatree_drop_copy {
330
- background-image: image_url("jquery/dynatree/xp/copy_here.png"); }
331
- &.dynatree_drop_move {
332
- background-image: image_url("jquery/dynatree/xp/move_here.png"); } }
353
+ /*** Target node while dragging cursor is over it *****************************/
333
354
 
334
355
  /*******************************************************************************
335
356
  * Custom node classes (sample)
336
357
  */
337
-
338
- span.custom1 a {
339
- background-color: maroon;
340
- color: yellow; }
@@ -21,6 +21,7 @@ image 'jquery/dynatree/aero/doc_with_children.png'
21
21
  image 'jquery/dynatree/aero/drop_accept.png'
22
22
  image 'jquery/dynatree/aero/drop_here.png'
23
23
  image 'jquery/dynatree/aero/drop_reject.png'
24
+ image 'jquery/dynatree/aero/drop_sibling_here.png'
24
25
  image 'jquery/dynatree/aero/empty.png'
25
26
  image 'jquery/dynatree/aero/expanded.png'
26
27
  image 'jquery/dynatree/aero/expanded_hover.png'
@@ -55,6 +56,7 @@ image 'jquery/dynatree/aqua/doc_with_children.png'
55
56
  image 'jquery/dynatree/aqua/drop_accept.png'
56
57
  image 'jquery/dynatree/aqua/drop_here.png'
57
58
  image 'jquery/dynatree/aqua/drop_reject.png'
59
+ image 'jquery/dynatree/aqua/drop_sibling_here.png'
58
60
  image 'jquery/dynatree/aqua/empty.png'
59
61
  image 'jquery/dynatree/aqua/expanded.png'
60
62
  image 'jquery/dynatree/aqua/expanded_hover.png'
@@ -90,6 +92,7 @@ image 'jquery/dynatree/crystal/doc_with_children.png'
90
92
  image 'jquery/dynatree/crystal/drop_accept.png'
91
93
  image 'jquery/dynatree/crystal/drop_here.png'
92
94
  image 'jquery/dynatree/crystal/drop_reject.png'
95
+ image 'jquery/dynatree/crystal/drop_sibling_here.png'
93
96
  image 'jquery/dynatree/crystal/empty.png'
94
97
  image 'jquery/dynatree/crystal/expanded.png'
95
98
  image 'jquery/dynatree/crystal/expanded_hover.png'
@@ -121,6 +124,7 @@ image 'jquery/dynatree/xp/customFolder1.png'
121
124
  image 'jquery/dynatree/xp/drop_accept.png'
122
125
  image 'jquery/dynatree/xp/drop_here.png'
123
126
  image 'jquery/dynatree/xp/drop_reject.png'
127
+ image 'jquery/dynatree/xp/drop_sibling_here.png'
124
128
  image 'jquery/dynatree/xp/ltDoc.png'
125
129
  image 'jquery/dynatree/xp/ltD_ne.png'
126
130
  image 'jquery/dynatree/xp/ltD_nes.png'
@@ -0,0 +1,4 @@
1
+ require 'jquery/jqgrid'
2
+ require 'jquery/gridify'
3
+
4
+ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jqgrid => ['compiled/jquery/jqGrid.css']
@@ -0,0 +1,7 @@
1
+ ---
2
+ de:
3
+ jquery:
4
+ jqgrid:
5
+ search: Suche
6
+ toogle_search: Suche umschalten
7
+
@@ -0,0 +1,7 @@
1
+ ---
2
+ en:
3
+ jquery:
4
+ jqgrid:
5
+ search: Search
6
+ toogle_search: Toogle Search
7
+
@@ -0,0 +1,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Bulgarian Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = {
11
+ defaults : {
12
+ recordtext: "{0} - {1} от {2}",
13
+ emptyrecords: "Няма запис(и)",
14
+ loadtext: "Зареждам...",
15
+ pgtext : "Стр. {0} от {1}"
16
+ },
17
+ search : {
18
+ caption: "Търсене...",
19
+ Find: "Намери",
20
+ Reset: "Изчисти",
21
+ odata : ['равно', 'различно', 'по-малко', 'по-малко или=','по-голямо','по-голямо или =', 'започва с','не започва с','се намира в','не се намира в','завършва с','не завършава с','съдържа', 'не съдържа' ],
22
+ groupOps: [ { op: "AND", text: " И " }, { op: "OR", text: "ИЛИ" } ],
23
+ matchText: " включи",
24
+ rulesText: " клауза"
25
+ },
26
+ edit : {
27
+ addCaption: "Нов Запис",
28
+ editCaption: "Редакция Запис",
29
+ bSubmit: "Запиши",
30
+ bCancel: "Изход",
31
+ bClose: "Затвори",
32
+ saveData: "Данните са променени! Да съхраня ли промените?",
33
+ bYes : "Да",
34
+ bNo : "Не",
35
+ bExit : "Отказ",
36
+ msg: {
37
+ required:"Полето е задължително",
38
+ number:"Въведете валидно число!",
39
+ minValue:"стойността трябва да е по-голяма или равна от",
40
+ maxValue:"стойността трябва да е по-малка или равна от",
41
+ email: "не е валиден ел. адрес",
42
+ integer: "Въведете валидно цяло число",
43
+ date: "Въведете валидна дата",
44
+ url: "e невалиден URL. Изискава се префикс('http://' или 'https://')",
45
+ nodefined : " е недефинирана!",
46
+ novalue : " изисква връщане на стойност!",
47
+ customarray : "Потреб. Функция трябва да върне масив!",
48
+ customfcheck : "Потребителска функция е задължителна при този тип елемент!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "Преглед запис",
53
+ bClose: "Затвори"
54
+ },
55
+ del : {
56
+ caption: "Изтриване",
57
+ msg: "Да изтрия ли избраният запис?",
58
+ bSubmit: "Изтрий",
59
+ bCancel: "Отказ"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Редакция избран запис",
64
+ addtext:" ",
65
+ addtitle: "Добавяне нов запис",
66
+ deltext: " ",
67
+ deltitle: "Изтриване избран запис",
68
+ searchtext: " ",
69
+ searchtitle: "Търсене запис(и)",
70
+ refreshtext: "",
71
+ refreshtitle: "Обнови таблица",
72
+ alertcap: "Предупреждение",
73
+ alerttext: "Моля, изберете запис",
74
+ viewtext: "",
75
+ viewtitle: "Преглед избран запис"
76
+ },
77
+ col : {
78
+ caption: "Избери колони",
79
+ bSubmit: "Ок",
80
+ bCancel: "Изход"
81
+ },
82
+ errors : {
83
+ errcap : "Грешка",
84
+ nourl : "Няма посочен url адрес",
85
+ norecords: "Няма запис за обработка",
86
+ model : "Модела не съответства на имената!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'},
92
+ date : {
93
+ dayNames: [
94
+ "Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб",
95
+ "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"
96
+ ],
97
+ monthNames: [
98
+ "Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек",
99
+ "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
100
+ ],
101
+ AmPm : ["","","",""],
102
+ S: function (j) {
103
+ if(j==7 || j==8 || j== 27 || j== 28) {
104
+ return 'ми';
105
+ }
106
+ return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)];
107
+ },
108
+ srcformat: 'Y-m-d',
109
+ newformat: 'd/m/Y',
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "n/j/Y",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ };
132
+ })(jQuery);
@@ -0,0 +1,6 @@
1
+ (function(b){b.jgrid={defaults:{recordtext:"{0} - {1} от {2}",emptyrecords:"Няма запис(и)",loadtext:"Зареждам...",pgtext:"Стр. {0} от {1}"},search:{caption:"Търсене...",Find:"Намери",Reset:"Изчисти",odata:["равно","различно","по-малко","по-малко или=","по-голямо","по-голямо или =","започва с","не започва с","се намира в","не се намира в","завършва с","не завършава с","съдържа","не съдържа"],groupOps:[{op:"AND",text:" И "},{op:"OR",text:"ИЛИ"}],matchText:" включи",rulesText:" клауза"},edit:{addCaption:"Нов Запис",
2
+ editCaption:"Редакция Запис",bSubmit:"Запиши",bCancel:"Изход",bClose:"Затвори",saveData:"Данните са променени! Да съхраня ли промените?",bYes:"Да",bNo:"Не",bExit:"Отказ",msg:{required:"Полето е задължително",number:"Въведете валидно число!",minValue:"стойността трябва да е по-голяма или равна от",maxValue:"стойността трябва да е по-малка или равна от",email:"не е валиден ел. адрес",integer:"Въведете валидно цяло число",date:"Въведете валидна дата",url:"e невалиден URL. Изискава се префикс('http://' или 'https://')",
3
+ nodefined:" е недефинирана!",novalue:" изисква връщане на стойност!",customarray:"Потреб. Функция трябва да върне масив!",customfcheck:"Потребителска функция е задължителна при този тип елемент!"}},view:{caption:"Преглед запис",bClose:"Затвори"},del:{caption:"Изтриване",msg:"Да изтрия ли избраният запис?",bSubmit:"Изтрий",bCancel:"Отказ"},nav:{edittext:" ",edittitle:"Редакция избран запис",addtext:" ",addtitle:"Добавяне нов запис",deltext:" ",deltitle:"Изтриване избран запис",searchtext:" ",searchtitle:"Търсене запис(и)",
4
+ refreshtext:"",refreshtitle:"Обнови таблица",alertcap:"Предупреждение",alerttext:"Моля, изберете запис",viewtext:"",viewtitle:"Преглед избран запис"},col:{caption:"Избери колони",bSubmit:"Ок",bCancel:"Изход"},errors:{errcap:"Грешка",nourl:"Няма посочен url адрес",norecords:"Няма запис за обработка",model:"Модела не съответства на имената!"},formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",
5
+ thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:" лв.",defaultValue:"0.00"},date:{dayNames:["Нед","Пон","Вт","Ср","Чет","Пет","Съб","Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],monthNames:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек","Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],AmPm:["","","",""],S:function(a){if(a==7||a==8||a==27||a==28)return"ми";return["ви","ри","ти"][Math.min((a-
6
+ 1)%10,2)]},srcformat:"Y-m-d",newformat:"d/m/Y",masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}}})(jQuery);
@@ -0,0 +1,132 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Bulgarian Translation
4
+ * Tony Tomov tony@trirand.com
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = {
11
+ defaults : {
12
+ recordtext: "{0} - {1} �� {2}",
13
+ emptyrecords: "���� �����(�)",
14
+ loadtext: "��������...",
15
+ pgtext : "���. {0} �� {1}"
16
+ },
17
+ search : {
18
+ caption: "�������...",
19
+ Find: "������",
20
+ Reset: "�������",
21
+ odata : ['�����', '��������', '��-�����', '��-����� ���=','��-������','��-������ ��� =', '������� �','�� ������� �','�� ������ �','�� �� ������ �','�������� �','�� ��������� �','�������', '�� �������' ],
22
+ groupOps: [ { op: "AND", text: " � " }, { op: "OR", text: "���" } ],
23
+ matchText: " ������",
24
+ rulesText: " ������"
25
+ },
26
+ edit : {
27
+ addCaption: "��� �����",
28
+ editCaption: "�������� �����",
29
+ bSubmit: "������",
30
+ bCancel: "�����",
31
+ bClose: "�������",
32
+ saveData: "������� �� ���������! �� ������� �� ���������?",
33
+ bYes : "��",
34
+ bNo : "��",
35
+ bExit : "�����",
36
+ msg: {
37
+ required:"������ � ������������",
38
+ number:"�������� ������� �����!",
39
+ minValue:"���������� ������ �� � ��-������ ��� ����� ��",
40
+ maxValue:"���������� ������ �� � ��-����� ��� ����� ��",
41
+ email: "�� � ������� ��. �����",
42
+ integer: "�������� ������� ���� �����",
43
+ date: "�������� ������� ����",
44
+ url: "e ��������� URL. �������� �� �������('http://' ��� 'https://')",
45
+ nodefined : " � ������������!",
46
+ novalue : " ������� ������� �� ��������!",
47
+ customarray : "������. ������� ������ �� ����� �����!",
48
+ customfcheck : "������������� ������� � ������������ ��� ���� ��� �������!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "������� �����",
53
+ bClose: "�������"
54
+ },
55
+ del : {
56
+ caption: "���������",
57
+ msg: "�� ������ �� ��������� �����?",
58
+ bSubmit: "������",
59
+ bCancel: "�����"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "�������� ������ �����",
64
+ addtext:" ",
65
+ addtitle: "�������� ��� �����",
66
+ deltext: " ",
67
+ deltitle: "��������� ������ �����",
68
+ searchtext: " ",
69
+ searchtitle: "������� �����(�)",
70
+ refreshtext: "",
71
+ refreshtitle: "������ �������",
72
+ alertcap: "��������������",
73
+ alerttext: "����, �������� �����",
74
+ viewtext: "",
75
+ viewtitle: "������� ������ �����"
76
+ },
77
+ col : {
78
+ caption: "����� ������",
79
+ bSubmit: "��",
80
+ bCancel: "�����"
81
+ },
82
+ errors : {
83
+ errcap : "������",
84
+ nourl : "���� ������� url �����",
85
+ norecords: "���� ����� �� ���������",
86
+ model : "������ �� ����������� �� �������!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
91
+ currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" ��.", defaultValue: '0.00'},
92
+ date : {
93
+ dayNames: [
94
+ "���", "���", "��", "��", "���", "���", "���",
95
+ "������", "����������", "�������", "�����", "���������", "�����", "������"
96
+ ],
97
+ monthNames: [
98
+ "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���", "���",
99
+ "������", "��������", "����", "�����", "���", "���", "���", "������", "���������", "��������", "�������", "��������"
100
+ ],
101
+ AmPm : ["","","",""],
102
+ S: function (j) {
103
+ if(j==7 || j==8 || j== 27 || j== 28) {
104
+ return '��';
105
+ }
106
+ return ['��', '��', '��'][Math.min((j - 1) % 10, 2)];
107
+ },
108
+ srcformat: 'Y-m-d',
109
+ newformat: 'd/m/Y',
110
+ masks : {
111
+ ISO8601Long:"Y-m-d H:i:s",
112
+ ISO8601Short:"Y-m-d",
113
+ ShortDate: "n/j/Y",
114
+ LongDate: "l, F d, Y",
115
+ FullDateTime: "l, F d, Y g:i:s A",
116
+ MonthDay: "F d",
117
+ ShortTime: "g:i A",
118
+ LongTime: "g:i:s A",
119
+ SortableDateTime: "Y-m-d\\TH:i:s",
120
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
121
+ YearMonth: "F, Y"
122
+ },
123
+ reformatAfterEdit : false
124
+ },
125
+ baseLinkUrl: '',
126
+ showAction: '',
127
+ target: '',
128
+ checkbox : {disabled:true},
129
+ idName : 'id'
130
+ }
131
+ };
132
+ })(jQuery);