cg_app_base 1.0.51

Sign up to get free protection for your applications and to get access to all the features.
Files changed (852) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +23 -0
  5. data/app/assets/fonts/flatty/FontAwesome.otf +0 -0
  6. data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.eot +0 -0
  7. data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.svg +228 -0
  8. data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  9. data/app/assets/fonts/flatty/bootstrap/glyphicons-halflings-regular.woff +0 -0
  10. data/app/assets/fonts/flatty/fontawesome-webfont.eot +0 -0
  11. data/app/assets/fonts/flatty/fontawesome-webfont.svg +399 -0
  12. data/app/assets/fonts/flatty/fontawesome-webfont.ttf +0 -0
  13. data/app/assets/fonts/flatty/fontawesome-webfont.woff +0 -0
  14. data/app/assets/fonts/flatty/montserrat-bold-webfont.eot +0 -0
  15. data/app/assets/fonts/flatty/montserrat-bold-webfont.svg +244 -0
  16. data/app/assets/fonts/flatty/montserrat-bold-webfont.ttf +0 -0
  17. data/app/assets/fonts/flatty/montserrat-bold-webfont.woff +0 -0
  18. data/app/assets/fonts/flatty/montserrat-regular-webfont.eot +0 -0
  19. data/app/assets/fonts/flatty/montserrat-regular-webfont.svg +243 -0
  20. data/app/assets/fonts/flatty/montserrat-regular-webfont.ttf +0 -0
  21. data/app/assets/fonts/flatty/montserrat-regular-webfont.woff +0 -0
  22. data/app/assets/images/ajaxSpinner.gif +0 -0
  23. data/app/assets/images/flatty/ajax-loaders/1.gif +0 -0
  24. data/app/assets/images/flatty/ajax-loaders/10.gif +0 -0
  25. data/app/assets/images/flatty/ajax-loaders/11.gif +0 -0
  26. data/app/assets/images/flatty/ajax-loaders/12.gif +0 -0
  27. data/app/assets/images/flatty/ajax-loaders/13.gif +0 -0
  28. data/app/assets/images/flatty/ajax-loaders/14.gif +0 -0
  29. data/app/assets/images/flatty/ajax-loaders/15.gif +0 -0
  30. data/app/assets/images/flatty/ajax-loaders/16.gif +0 -0
  31. data/app/assets/images/flatty/ajax-loaders/17.gif +0 -0
  32. data/app/assets/images/flatty/ajax-loaders/18.gif +0 -0
  33. data/app/assets/images/flatty/ajax-loaders/2.gif +0 -0
  34. data/app/assets/images/flatty/ajax-loaders/3.gif +0 -0
  35. data/app/assets/images/flatty/ajax-loaders/4.gif +0 -0
  36. data/app/assets/images/flatty/ajax-loaders/5.gif +0 -0
  37. data/app/assets/images/flatty/ajax-loaders/6.gif +0 -0
  38. data/app/assets/images/flatty/ajax-loaders/7.gif +0 -0
  39. data/app/assets/images/flatty/ajax-loaders/8.gif +0 -0
  40. data/app/assets/images/flatty/ajax-loaders/9.gif +0 -0
  41. data/app/assets/images/flatty/avatar.jpg +0 -0
  42. data/app/assets/images/flatty/avatar@2x.jpg +0 -0
  43. data/app/assets/images/flatty/emails/logo.jpg +0 -0
  44. data/app/assets/images/flatty/emails/logo_blue.jpg +0 -0
  45. data/app/assets/images/flatty/emails/logo_green.jpg +0 -0
  46. data/app/assets/images/flatty/emails/logo_muted.jpg +0 -0
  47. data/app/assets/images/flatty/emails/logo_orange.jpg +0 -0
  48. data/app/assets/images/flatty/emails/logo_purple.jpg +0 -0
  49. data/app/assets/images/flatty/jquery_ui/animated-overlay.gif +0 -0
  50. data/app/assets/images/flatty/logo.png +0 -0
  51. data/app/assets/images/flatty/logo.svg +3443 -0
  52. data/app/assets/images/flatty/logo_lg.png +0 -0
  53. data/app/assets/images/flatty/logo_lg.svg +59 -0
  54. data/app/assets/images/flatty/logo_xs.png +0 -0
  55. data/app/assets/images/flatty/logo_xs.svg +3372 -0
  56. data/app/assets/images/flatty/meta_icons/apple-touch-icon-114x114.png +0 -0
  57. data/app/assets/images/flatty/meta_icons/apple-touch-icon-144x144.png +0 -0
  58. data/app/assets/images/flatty/meta_icons/apple-touch-icon-57x57.png +0 -0
  59. data/app/assets/images/flatty/meta_icons/apple-touch-icon-72x72.png +0 -0
  60. data/app/assets/images/flatty/meta_icons/apple-touch-icon.png +0 -0
  61. data/app/assets/images/flatty/meta_icons/favicon.ico +0 -0
  62. data/app/assets/images/flatty/plugins/bootstrap_colorpicker/alpha.png +0 -0
  63. data/app/assets/images/flatty/plugins/bootstrap_colorpicker/hue.png +0 -0
  64. data/app/assets/images/flatty/plugins/bootstrap_colorpicker/saturation.png +0 -0
  65. data/app/assets/images/flatty/plugins/dynatree/icons.gif +0 -0
  66. data/app/assets/images/flatty/plugins/dynatree/loading.gif +0 -0
  67. data/app/assets/images/flatty/plugins/flags/flags.png +0 -0
  68. data/app/assets/images/flatty/plugins/lightbox/close.png +0 -0
  69. data/app/assets/images/flatty/plugins/lightbox/loading.gif +0 -0
  70. data/app/assets/images/flatty/plugins/lightbox/next.png +0 -0
  71. data/app/assets/images/flatty/plugins/lightbox/prev.png +0 -0
  72. data/app/assets/images/flatty/plugins/naked_password/f0.png +0 -0
  73. data/app/assets/images/flatty/plugins/naked_password/f1.png +0 -0
  74. data/app/assets/images/flatty/plugins/naked_password/f2.png +0 -0
  75. data/app/assets/images/flatty/plugins/naked_password/f3.png +0 -0
  76. data/app/assets/images/flatty/plugins/naked_password/f4.png +0 -0
  77. data/app/assets/images/flatty/plugins/naked_password/f5.png +0 -0
  78. data/app/assets/images/flatty/plugins/naked_password/m0.png +0 -0
  79. data/app/assets/images/flatty/plugins/naked_password/m1.png +0 -0
  80. data/app/assets/images/flatty/plugins/naked_password/m2.png +0 -0
  81. data/app/assets/images/flatty/plugins/naked_password/m3.png +0 -0
  82. data/app/assets/images/flatty/plugins/naked_password/m4.png +0 -0
  83. data/app/assets/images/flatty/plugins/naked_password/m5.png +0 -0
  84. data/app/assets/images/flatty/plugins/select2/select2-spinner.gif +0 -0
  85. data/app/assets/images/flatty/plugins/select2/select2.png +0 -0
  86. data/app/assets/images/flatty/plugins/select2/select2x2.png +0 -0
  87. data/app/assets/images/loading.gif +0 -0
  88. data/app/assets/images/logo_caronetguay-3.jpg +0 -0
  89. data/app/assets/images/logo_caronetguay-nwsltr.jpg +0 -0
  90. data/app/assets/images/logo_caronetguay.jpg +0 -0
  91. data/app/assets/images/newicons/black0.png +0 -0
  92. data/app/assets/images/newicons/black1.png +0 -0
  93. data/app/assets/images/newicons/black10.png +0 -0
  94. data/app/assets/images/newicons/black100.png +0 -0
  95. data/app/assets/images/newicons/black11.png +0 -0
  96. data/app/assets/images/newicons/black12.png +0 -0
  97. data/app/assets/images/newicons/black13.png +0 -0
  98. data/app/assets/images/newicons/black14.png +0 -0
  99. data/app/assets/images/newicons/black15.png +0 -0
  100. data/app/assets/images/newicons/black16.png +0 -0
  101. data/app/assets/images/newicons/black17.png +0 -0
  102. data/app/assets/images/newicons/black18.png +0 -0
  103. data/app/assets/images/newicons/black19.png +0 -0
  104. data/app/assets/images/newicons/black2.png +0 -0
  105. data/app/assets/images/newicons/black20.png +0 -0
  106. data/app/assets/images/newicons/black21.png +0 -0
  107. data/app/assets/images/newicons/black22.png +0 -0
  108. data/app/assets/images/newicons/black23.png +0 -0
  109. data/app/assets/images/newicons/black24.png +0 -0
  110. data/app/assets/images/newicons/black25.png +0 -0
  111. data/app/assets/images/newicons/black26.png +0 -0
  112. data/app/assets/images/newicons/black27.png +0 -0
  113. data/app/assets/images/newicons/black28.png +0 -0
  114. data/app/assets/images/newicons/black29.png +0 -0
  115. data/app/assets/images/newicons/black3.png +0 -0
  116. data/app/assets/images/newicons/black30.png +0 -0
  117. data/app/assets/images/newicons/black31.png +0 -0
  118. data/app/assets/images/newicons/black32.png +0 -0
  119. data/app/assets/images/newicons/black33.png +0 -0
  120. data/app/assets/images/newicons/black34.png +0 -0
  121. data/app/assets/images/newicons/black35.png +0 -0
  122. data/app/assets/images/newicons/black36.png +0 -0
  123. data/app/assets/images/newicons/black37.png +0 -0
  124. data/app/assets/images/newicons/black38.png +0 -0
  125. data/app/assets/images/newicons/black39.png +0 -0
  126. data/app/assets/images/newicons/black4.png +0 -0
  127. data/app/assets/images/newicons/black40.png +0 -0
  128. data/app/assets/images/newicons/black41.png +0 -0
  129. data/app/assets/images/newicons/black42.png +0 -0
  130. data/app/assets/images/newicons/black43.png +0 -0
  131. data/app/assets/images/newicons/black44.png +0 -0
  132. data/app/assets/images/newicons/black45.png +0 -0
  133. data/app/assets/images/newicons/black46.png +0 -0
  134. data/app/assets/images/newicons/black47.png +0 -0
  135. data/app/assets/images/newicons/black48.png +0 -0
  136. data/app/assets/images/newicons/black49.png +0 -0
  137. data/app/assets/images/newicons/black5.png +0 -0
  138. data/app/assets/images/newicons/black50.png +0 -0
  139. data/app/assets/images/newicons/black51.png +0 -0
  140. data/app/assets/images/newicons/black52.png +0 -0
  141. data/app/assets/images/newicons/black53.png +0 -0
  142. data/app/assets/images/newicons/black54.png +0 -0
  143. data/app/assets/images/newicons/black55.png +0 -0
  144. data/app/assets/images/newicons/black56.png +0 -0
  145. data/app/assets/images/newicons/black57.png +0 -0
  146. data/app/assets/images/newicons/black58.png +0 -0
  147. data/app/assets/images/newicons/black59.png +0 -0
  148. data/app/assets/images/newicons/black6.png +0 -0
  149. data/app/assets/images/newicons/black60.png +0 -0
  150. data/app/assets/images/newicons/black61.png +0 -0
  151. data/app/assets/images/newicons/black62.png +0 -0
  152. data/app/assets/images/newicons/black63.png +0 -0
  153. data/app/assets/images/newicons/black64.png +0 -0
  154. data/app/assets/images/newicons/black65.png +0 -0
  155. data/app/assets/images/newicons/black66.png +0 -0
  156. data/app/assets/images/newicons/black67.png +0 -0
  157. data/app/assets/images/newicons/black68.png +0 -0
  158. data/app/assets/images/newicons/black69.png +0 -0
  159. data/app/assets/images/newicons/black7.png +0 -0
  160. data/app/assets/images/newicons/black70.png +0 -0
  161. data/app/assets/images/newicons/black71.png +0 -0
  162. data/app/assets/images/newicons/black72.png +0 -0
  163. data/app/assets/images/newicons/black73.png +0 -0
  164. data/app/assets/images/newicons/black74.png +0 -0
  165. data/app/assets/images/newicons/black75.png +0 -0
  166. data/app/assets/images/newicons/black76.png +0 -0
  167. data/app/assets/images/newicons/black77.png +0 -0
  168. data/app/assets/images/newicons/black78.png +0 -0
  169. data/app/assets/images/newicons/black79.png +0 -0
  170. data/app/assets/images/newicons/black8.png +0 -0
  171. data/app/assets/images/newicons/black80.png +0 -0
  172. data/app/assets/images/newicons/black81.png +0 -0
  173. data/app/assets/images/newicons/black82.png +0 -0
  174. data/app/assets/images/newicons/black83.png +0 -0
  175. data/app/assets/images/newicons/black84.png +0 -0
  176. data/app/assets/images/newicons/black85.png +0 -0
  177. data/app/assets/images/newicons/black86.png +0 -0
  178. data/app/assets/images/newicons/black87.png +0 -0
  179. data/app/assets/images/newicons/black88.png +0 -0
  180. data/app/assets/images/newicons/black89.png +0 -0
  181. data/app/assets/images/newicons/black9.png +0 -0
  182. data/app/assets/images/newicons/black90.png +0 -0
  183. data/app/assets/images/newicons/black91.png +0 -0
  184. data/app/assets/images/newicons/black92.png +0 -0
  185. data/app/assets/images/newicons/black93.png +0 -0
  186. data/app/assets/images/newicons/black94.png +0 -0
  187. data/app/assets/images/newicons/black95.png +0 -0
  188. data/app/assets/images/newicons/black96.png +0 -0
  189. data/app/assets/images/newicons/black97.png +0 -0
  190. data/app/assets/images/newicons/black98.png +0 -0
  191. data/app/assets/images/newicons/black99.png +0 -0
  192. data/app/assets/images/newicons/index.html +213 -0
  193. data/app/assets/images/newicons/red0.png +0 -0
  194. data/app/assets/images/newicons/red1.png +0 -0
  195. data/app/assets/images/newicons/red10.png +0 -0
  196. data/app/assets/images/newicons/red100.png +0 -0
  197. data/app/assets/images/newicons/red11.png +0 -0
  198. data/app/assets/images/newicons/red12.png +0 -0
  199. data/app/assets/images/newicons/red13.png +0 -0
  200. data/app/assets/images/newicons/red14.png +0 -0
  201. data/app/assets/images/newicons/red15.png +0 -0
  202. data/app/assets/images/newicons/red16.png +0 -0
  203. data/app/assets/images/newicons/red17.png +0 -0
  204. data/app/assets/images/newicons/red18.png +0 -0
  205. data/app/assets/images/newicons/red19.png +0 -0
  206. data/app/assets/images/newicons/red2.png +0 -0
  207. data/app/assets/images/newicons/red20.png +0 -0
  208. data/app/assets/images/newicons/red21.png +0 -0
  209. data/app/assets/images/newicons/red22.png +0 -0
  210. data/app/assets/images/newicons/red23.png +0 -0
  211. data/app/assets/images/newicons/red24.png +0 -0
  212. data/app/assets/images/newicons/red25.png +0 -0
  213. data/app/assets/images/newicons/red26.png +0 -0
  214. data/app/assets/images/newicons/red27.png +0 -0
  215. data/app/assets/images/newicons/red28.png +0 -0
  216. data/app/assets/images/newicons/red29.png +0 -0
  217. data/app/assets/images/newicons/red3.png +0 -0
  218. data/app/assets/images/newicons/red30.png +0 -0
  219. data/app/assets/images/newicons/red31.png +0 -0
  220. data/app/assets/images/newicons/red32.png +0 -0
  221. data/app/assets/images/newicons/red33.png +0 -0
  222. data/app/assets/images/newicons/red34.png +0 -0
  223. data/app/assets/images/newicons/red35.png +0 -0
  224. data/app/assets/images/newicons/red36.png +0 -0
  225. data/app/assets/images/newicons/red37.png +0 -0
  226. data/app/assets/images/newicons/red38.png +0 -0
  227. data/app/assets/images/newicons/red39.png +0 -0
  228. data/app/assets/images/newicons/red4.png +0 -0
  229. data/app/assets/images/newicons/red40.png +0 -0
  230. data/app/assets/images/newicons/red41.png +0 -0
  231. data/app/assets/images/newicons/red42.png +0 -0
  232. data/app/assets/images/newicons/red43.png +0 -0
  233. data/app/assets/images/newicons/red44.png +0 -0
  234. data/app/assets/images/newicons/red45.png +0 -0
  235. data/app/assets/images/newicons/red46.png +0 -0
  236. data/app/assets/images/newicons/red47.png +0 -0
  237. data/app/assets/images/newicons/red48.png +0 -0
  238. data/app/assets/images/newicons/red49.png +0 -0
  239. data/app/assets/images/newicons/red5.png +0 -0
  240. data/app/assets/images/newicons/red50.png +0 -0
  241. data/app/assets/images/newicons/red51.png +0 -0
  242. data/app/assets/images/newicons/red52.png +0 -0
  243. data/app/assets/images/newicons/red53.png +0 -0
  244. data/app/assets/images/newicons/red54.png +0 -0
  245. data/app/assets/images/newicons/red55.png +0 -0
  246. data/app/assets/images/newicons/red56.png +0 -0
  247. data/app/assets/images/newicons/red57.png +0 -0
  248. data/app/assets/images/newicons/red58.png +0 -0
  249. data/app/assets/images/newicons/red59.png +0 -0
  250. data/app/assets/images/newicons/red6.png +0 -0
  251. data/app/assets/images/newicons/red60.png +0 -0
  252. data/app/assets/images/newicons/red61.png +0 -0
  253. data/app/assets/images/newicons/red62.png +0 -0
  254. data/app/assets/images/newicons/red63.png +0 -0
  255. data/app/assets/images/newicons/red64.png +0 -0
  256. data/app/assets/images/newicons/red65.png +0 -0
  257. data/app/assets/images/newicons/red66.png +0 -0
  258. data/app/assets/images/newicons/red67.png +0 -0
  259. data/app/assets/images/newicons/red68.png +0 -0
  260. data/app/assets/images/newicons/red69.png +0 -0
  261. data/app/assets/images/newicons/red7.png +0 -0
  262. data/app/assets/images/newicons/red70.png +0 -0
  263. data/app/assets/images/newicons/red71.png +0 -0
  264. data/app/assets/images/newicons/red72.png +0 -0
  265. data/app/assets/images/newicons/red73.png +0 -0
  266. data/app/assets/images/newicons/red74.png +0 -0
  267. data/app/assets/images/newicons/red75.png +0 -0
  268. data/app/assets/images/newicons/red76.png +0 -0
  269. data/app/assets/images/newicons/red77.png +0 -0
  270. data/app/assets/images/newicons/red78.png +0 -0
  271. data/app/assets/images/newicons/red79.png +0 -0
  272. data/app/assets/images/newicons/red8.png +0 -0
  273. data/app/assets/images/newicons/red80.png +0 -0
  274. data/app/assets/images/newicons/red81.png +0 -0
  275. data/app/assets/images/newicons/red82.png +0 -0
  276. data/app/assets/images/newicons/red83.png +0 -0
  277. data/app/assets/images/newicons/red84.png +0 -0
  278. data/app/assets/images/newicons/red85.png +0 -0
  279. data/app/assets/images/newicons/red86.png +0 -0
  280. data/app/assets/images/newicons/red87.png +0 -0
  281. data/app/assets/images/newicons/red88.png +0 -0
  282. data/app/assets/images/newicons/red89.png +0 -0
  283. data/app/assets/images/newicons/red9.png +0 -0
  284. data/app/assets/images/newicons/red90.png +0 -0
  285. data/app/assets/images/newicons/red91.png +0 -0
  286. data/app/assets/images/newicons/red92.png +0 -0
  287. data/app/assets/images/newicons/red93.png +0 -0
  288. data/app/assets/images/newicons/red94.png +0 -0
  289. data/app/assets/images/newicons/red95.png +0 -0
  290. data/app/assets/images/newicons/red96.png +0 -0
  291. data/app/assets/images/newicons/red97.png +0 -0
  292. data/app/assets/images/newicons/red98.png +0 -0
  293. data/app/assets/images/newicons/red99.png +0 -0
  294. data/app/assets/images/spinner_squares_circle.gif +0 -0
  295. data/app/assets/images/sprite-skin-flat.png +0 -0
  296. data/app/assets/images/top-arrow.png +0 -0
  297. data/app/assets/javascripts/autocomplete-rails.js +143 -0
  298. data/app/assets/javascripts/base.js.coffee +56 -0
  299. data/app/assets/javascripts/flatty/bootstrap/bootstrap.js +1999 -0
  300. data/app/assets/javascripts/flatty/bootstrap/bootstrap.min.js +6 -0
  301. data/app/assets/javascripts/flatty/demo.js.coffee +19 -0
  302. data/app/assets/javascripts/flatty/ie/html5shiv.js +11 -0
  303. data/app/assets/javascripts/flatty/ie/respond.min.js +6 -0
  304. data/app/assets/javascripts/flatty/jquery/jquery-migrate.min.js +2 -0
  305. data/app/assets/javascripts/flatty/jquery/jquery-ui.min.js +12 -0
  306. data/app/assets/javascripts/flatty/jquery/jquery.min.js +4 -0
  307. data/app/assets/javascripts/flatty/jquery/jquery.mobile.custom.min.js +2 -0
  308. data/app/assets/javascripts/flatty/plugins/autosize/jquery.autosize-min.js +7 -0
  309. data/app/assets/javascripts/flatty/plugins/bootbox/bootbox.min.js +6 -0
  310. data/app/assets/javascripts/flatty/plugins/bootstrap_colorpicker/bootstrap-colorpicker.min.js +1 -0
  311. data/app/assets/javascripts/flatty/plugins/bootstrap_daterangepicker/bootstrap-daterangepicker.js +1026 -0
  312. data/app/assets/javascripts/flatty/plugins/bootstrap_daterangepicker/daterangepicker.js +1026 -0
  313. data/app/assets/javascripts/flatty/plugins/bootstrap_daterangepicker/moment.min.js +6 -0
  314. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/bootstrap-datepicker.js +1671 -0
  315. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/bootstrap-datetimepicker.js +26 -0
  316. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ar.js +15 -0
  317. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.az.js +12 -0
  318. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.bg.js +14 -0
  319. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ca.js +14 -0
  320. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.cs.js +15 -0
  321. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.cy.js +14 -0
  322. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.da.js +15 -0
  323. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.de.js +17 -0
  324. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.el.js +13 -0
  325. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.es.js +14 -0
  326. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.et.js +18 -0
  327. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.fa.js +17 -0
  328. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.fi.js +16 -0
  329. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.fr.js +17 -0
  330. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.gl.js +11 -0
  331. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.he.js +15 -0
  332. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.hr.js +13 -0
  333. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.hu.js +16 -0
  334. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.id.js +15 -0
  335. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.is.js +14 -0
  336. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.it.js +17 -0
  337. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ja.js +15 -0
  338. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ka.js +17 -0
  339. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.kk.js +15 -0
  340. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.kr.js +13 -0
  341. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.lt.js +16 -0
  342. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.lv.js +16 -0
  343. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.mk.js +15 -0
  344. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ms.js +14 -0
  345. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.nb.js +14 -0
  346. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.nl-BE.js +17 -0
  347. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.nl.js +14 -0
  348. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.no.js +16 -0
  349. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.pl.js +15 -0
  350. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.pt-BR.js +15 -0
  351. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.pt.js +16 -0
  352. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ro.js +16 -0
  353. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.rs-latin.js +14 -0
  354. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.rs.js +14 -0
  355. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ru.js +15 -0
  356. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sk.js +15 -0
  357. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sl.js +14 -0
  358. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sq.js +15 -0
  359. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sv.js +16 -0
  360. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.sw.js +15 -0
  361. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.th.js +14 -0
  362. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.tr.js +16 -0
  363. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.ua.js +15 -0
  364. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.vi.js +16 -0
  365. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.zh-CN.js +16 -0
  366. data/app/assets/javascripts/flatty/plugins/bootstrap_datetimepicker/locales/bootstrap-datepicker.zh-TW.js +17 -0
  367. data/app/assets/javascripts/flatty/plugins/bootstrap_hover_dropdown/twitter-bootstrap-hover-dropdown.min.js +13 -0
  368. data/app/assets/javascripts/flatty/plugins/bootstrap_maxlength/bootstrap-maxlength.min.js +13 -0
  369. data/app/assets/javascripts/flatty/plugins/bootstrap_switch/bootstrapSwitch.min.js +14 -0
  370. data/app/assets/javascripts/flatty/plugins/charCount/charCount.js +58 -0
  371. data/app/assets/javascripts/flatty/plugins/ckeditor/build-config.js +162 -0
  372. data/app/assets/javascripts/flatty/plugins/ckeditor/ckeditor.js +919 -0
  373. data/app/assets/javascripts/flatty/plugins/ckeditor/config.js +10 -0
  374. data/app/assets/javascripts/flatty/plugins/ckeditor/contents.css +103 -0
  375. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/af.js +5 -0
  376. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ar.js +5 -0
  377. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/bg.js +5 -0
  378. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/bn.js +5 -0
  379. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/bs.js +5 -0
  380. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ca.js +5 -0
  381. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/cs.js +5 -0
  382. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/cy.js +5 -0
  383. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/da.js +5 -0
  384. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/de.js +5 -0
  385. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/el.js +5 -0
  386. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en-au.js +5 -0
  387. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en-ca.js +5 -0
  388. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en-gb.js +5 -0
  389. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/en.js +5 -0
  390. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/eo.js +5 -0
  391. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/es.js +5 -0
  392. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/et.js +5 -0
  393. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/eu.js +5 -0
  394. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fa.js +5 -0
  395. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fi.js +5 -0
  396. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fo.js +5 -0
  397. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fr-ca.js +5 -0
  398. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/fr.js +5 -0
  399. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/gl.js +5 -0
  400. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/gu.js +5 -0
  401. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/he.js +5 -0
  402. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/hi.js +5 -0
  403. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/hr.js +5 -0
  404. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/hu.js +5 -0
  405. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/is.js +5 -0
  406. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/it.js +5 -0
  407. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ja.js +5 -0
  408. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ka.js +5 -0
  409. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/km.js +5 -0
  410. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ko.js +5 -0
  411. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ku.js +5 -0
  412. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/lt.js +5 -0
  413. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/lv.js +5 -0
  414. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/mk.js +5 -0
  415. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/mn.js +5 -0
  416. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ms.js +5 -0
  417. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/nb.js +5 -0
  418. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/nl.js +5 -0
  419. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/no.js +5 -0
  420. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/pl.js +5 -0
  421. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/pt-br.js +5 -0
  422. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/pt.js +5 -0
  423. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ro.js +5 -0
  424. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ru.js +5 -0
  425. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sk.js +5 -0
  426. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sl.js +5 -0
  427. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sq.js +5 -0
  428. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sr-latn.js +5 -0
  429. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sr.js +5 -0
  430. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/sv.js +5 -0
  431. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/th.js +5 -0
  432. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/tr.js +5 -0
  433. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/ug.js +5 -0
  434. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/uk.js +5 -0
  435. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/vi.js +5 -0
  436. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/zh-cn.js +5 -0
  437. data/app/assets/javascripts/flatty/plugins/ckeditor/lang/zh.js +5 -0
  438. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
  439. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
  440. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +9 -0
  441. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +9 -0
  442. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +10 -0
  443. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +10 -0
  444. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +9 -0
  445. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +9 -0
  446. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +10 -0
  447. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +10 -0
  448. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +9 -0
  449. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +10 -0
  450. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +10 -0
  451. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +9 -0
  452. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +9 -0
  453. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +10 -0
  454. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +10 -0
  455. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +10 -0
  456. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +9 -0
  457. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +9 -0
  458. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +9 -0
  459. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +9 -0
  460. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +9 -0
  461. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +10 -0
  462. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
  463. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +9 -0
  464. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +10 -0
  465. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +9 -0
  466. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +11 -0
  467. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +9 -0
  468. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +9 -0
  469. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +9 -0
  470. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +10 -0
  471. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +9 -0
  472. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +10 -0
  473. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +9 -0
  474. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +9 -0
  475. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +9 -0
  476. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +9 -0
  477. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +10 -0
  478. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +9 -0
  479. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +9 -0
  480. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +10 -0
  481. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +9 -0
  482. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +10 -0
  483. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +9 -0
  484. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +9 -0
  485. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +9 -0
  486. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +7 -0
  487. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/about/dialogs/about.js +6 -0
  488. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  489. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
  490. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/colordialog/dialogs/colordialog.js +13 -0
  491. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  492. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/div/dialogs/div.js +9 -0
  493. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/fakeobjects/images/spacer.gif +0 -0
  494. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/find/dialogs/find.js +24 -0
  495. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/flash/dialogs/flash.js +24 -0
  496. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/flash/images/placeholder.png +0 -0
  497. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/button.js +8 -0
  498. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/checkbox.js +8 -0
  499. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/form.js +8 -0
  500. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
  501. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/radio.js +8 -0
  502. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/select.js +20 -0
  503. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/textarea.js +8 -0
  504. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/dialogs/textfield.js +10 -0
  505. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  506. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/icons.png +0 -0
  507. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/iframe/dialogs/iframe.js +10 -0
  508. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  509. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/image/dialogs/image.js +43 -0
  510. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/image/images/noimage.png +0 -0
  511. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/link/dialogs/anchor.js +8 -0
  512. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/link/dialogs/link.js +36 -0
  513. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/link/images/anchor.png +0 -0
  514. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
  515. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/magicline/images/icon.png +0 -0
  516. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  517. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/pastefromword/filter/default.js +31 -0
  518. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/preview/preview.html +10 -0
  519. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/scayt/dialogs/options.js +20 -0
  520. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
  521. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  522. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  523. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  524. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  525. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  526. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  527. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  528. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  529. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  530. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  531. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  532. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/dialogs/smiley.js +10 -0
  533. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  534. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  535. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  536. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  537. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  538. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  539. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  540. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  541. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  542. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/heart.gif +0 -0
  543. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  544. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  545. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  546. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  547. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  548. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  549. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  550. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  551. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  552. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  553. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  554. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  555. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  556. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
  557. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
  558. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
  559. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
  560. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
  561. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
  562. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
  563. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
  564. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
  565. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/et.js +13 -0
  566. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
  567. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
  568. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
  569. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/fr.js +11 -0
  570. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/he.js +13 -0
  571. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
  572. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
  573. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
  574. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
  575. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
  576. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
  577. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
  578. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
  579. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
  580. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
  581. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
  582. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
  583. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
  584. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
  585. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
  586. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
  587. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
  588. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/table/dialogs/table.js +21 -0
  589. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/tabletools/dialogs/tableCell.js +16 -0
  590. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/dialogs/templates.css +84 -0
  591. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/dialogs/templates.js +10 -0
  592. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/default.js +6 -0
  593. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  594. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  595. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  596. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  597. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  598. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/wsc.css +82 -0
  599. data/app/assets/javascripts/flatty/plugins/ckeditor/plugins/wsc/dialogs/wsc.js +11 -0
  600. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/ajax.html +82 -0
  601. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/api.html +207 -0
  602. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/appendto.html +57 -0
  603. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/inlineall/logo.png +0 -0
  604. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/outputxhtml/outputxhtml.css +204 -0
  605. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/posteddata.php +59 -0
  606. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/sample.css +3 -0
  607. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/sample.jpg +0 -0
  608. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/assets/uilanguages/languages.js +7 -0
  609. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/datafiltering.html +401 -0
  610. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/divreplace.html +141 -0
  611. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/index.html +122 -0
  612. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/inlineall.html +311 -0
  613. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/inlinebycode.html +122 -0
  614. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/dialog/assets/my_dialog.js +48 -0
  615. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/dialog/dialog.html +187 -0
  616. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/enterkey/enterkey.html +103 -0
  617. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla +0 -0
  618. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf +0 -0
  619. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/swfobject.js +18 -0
  620. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/outputforflash.html +280 -0
  621. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/htmlwriter/outputhtml.html +221 -0
  622. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/magicline/magicline.html +207 -0
  623. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/toolbar/toolbar.html +232 -0
  624. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/plugins/wysiwygarea/fullpage.html +77 -0
  625. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/readonly.html +73 -0
  626. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/replacebyclass.html +57 -0
  627. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/replacebycode.html +56 -0
  628. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/sample.css +339 -0
  629. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/sample.js +33 -0
  630. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/sample_posteddata.php +16 -0
  631. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/tabindex.html +75 -0
  632. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/uicolor.html +69 -0
  633. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/uilanguages.html +119 -0
  634. data/app/assets/javascripts/flatty/plugins/ckeditor/samples/xhtmlstyle.html +231 -0
  635. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog.css +5 -0
  636. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_ie.css +5 -0
  637. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_ie7.css +5 -0
  638. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_ie8.css +5 -0
  639. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_iequirks.css +5 -0
  640. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/dialog_opera.css +5 -0
  641. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor.css +5 -0
  642. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_gecko.css +5 -0
  643. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_ie.css +5 -0
  644. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_ie7.css +5 -0
  645. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_ie8.css +5 -0
  646. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/editor_iequirks.css +5 -0
  647. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/icons.png +0 -0
  648. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/images/arrow.png +0 -0
  649. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/images/close.png +0 -0
  650. data/app/assets/javascripts/flatty/plugins/ckeditor/skins/moono/images/mini.png +0 -0
  651. data/app/assets/javascripts/flatty/plugins/ckeditor/styles.js +111 -0
  652. data/app/assets/javascripts/flatty/plugins/common/bootstrap-wysihtml5.js +498 -0
  653. data/app/assets/javascripts/flatty/plugins/common/moment.min.js +6 -0
  654. data/app/assets/javascripts/flatty/plugins/common/wysihtml5.min.js +261 -0
  655. data/app/assets/javascripts/flatty/plugins/datatables/dataTables.overrides.js +131 -0
  656. data/app/assets/javascripts/flatty/plugins/datatables/jquery.dataTables.columnFilter.js +365 -0
  657. data/app/assets/javascripts/flatty/plugins/datatables/jquery.dataTables.min.js +155 -0
  658. data/app/assets/javascripts/flatty/plugins/dynatree/jquery.dynatree.min.js +4 -0
  659. data/app/assets/javascripts/flatty/plugins/fileinput/bootstrap-fileinput.js +122 -0
  660. data/app/assets/javascripts/flatty/plugins/fileupload/canvas-to-blob.min.js +1 -0
  661. data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload-fp.min.js +1 -0
  662. data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload-init.js +48 -0
  663. data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload-ui.min.js +1 -0
  664. data/app/assets/javascripts/flatty/plugins/fileupload/jquery.fileupload.min.js +1 -0
  665. data/app/assets/javascripts/flatty/plugins/fileupload/jquery.iframe-transport.min.js +1 -0
  666. data/app/assets/javascripts/flatty/plugins/fileupload/load-image.min.js +1 -0
  667. data/app/assets/javascripts/flatty/plugins/fileupload/tmpl.min.js +1 -0
  668. data/app/assets/javascripts/flatty/plugins/flot/excanvas.js +1 -0
  669. data/app/assets/javascripts/flatty/plugins/flot/flot.crosshair.js +167 -0
  670. data/app/assets/javascripts/flatty/plugins/flot/flot.fillbetween.js +183 -0
  671. data/app/assets/javascripts/flatty/plugins/flot/flot.image.js +238 -0
  672. data/app/assets/javascripts/flatty/plugins/flot/flot.min.js +33 -0
  673. data/app/assets/javascripts/flatty/plugins/flot/flot.navigate.js +33 -0
  674. data/app/assets/javascripts/flatty/plugins/flot/flot.pie.js +750 -0
  675. data/app/assets/javascripts/flatty/plugins/flot/flot.resize.js +60 -0
  676. data/app/assets/javascripts/flatty/plugins/flot/flot.selection.js +344 -0
  677. data/app/assets/javascripts/flatty/plugins/flot/flot.stack.js +184 -0
  678. data/app/assets/javascripts/flatty/plugins/flot/flot.symbol.js +70 -0
  679. data/app/assets/javascripts/flatty/plugins/flot/flot.threshold.js +103 -0
  680. data/app/assets/javascripts/flatty/plugins/fuelux/wizard.js +165 -0
  681. data/app/assets/javascripts/flatty/plugins/fullcalendar/fullcalendar.min.js +7 -0
  682. data/app/assets/javascripts/flatty/plugins/input_mask/bootstrap-inputmask.min.js +7 -0
  683. data/app/assets/javascripts/flatty/plugins/ion_range_slider/ion.rangeSlider.js +1966 -0
  684. data/app/assets/javascripts/flatty/plugins/ion_range_slider/ion.rangeSlider.min.js +69 -0
  685. data/app/assets/javascripts/flatty/plugins/jgrowl/jquery.jgrowl.min.js +1 -0
  686. data/app/assets/javascripts/flatty/plugins/jquery_ui_touch_punch/jquery.ui.touch-punch.min.js +11 -0
  687. data/app/assets/javascripts/flatty/plugins/lightbox/lightbox.min.js +1 -0
  688. data/app/assets/javascripts/flatty/plugins/mention/mention.min.js +166 -0
  689. data/app/assets/javascripts/flatty/plugins/modernizr/modernizr.min.js +4 -0
  690. data/app/assets/javascripts/flatty/plugins/naked_password/naked_password-0.2.4.min.js +9 -0
  691. data/app/assets/javascripts/flatty/plugins/nestable/jquery.nestable.js +485 -0
  692. data/app/assets/javascripts/flatty/plugins/plugins.js +50 -0
  693. data/app/assets/javascripts/flatty/plugins/pwstrength/pwstrength.js +320 -0
  694. data/app/assets/javascripts/flatty/plugins/retina/retina.js +3 -0
  695. data/app/assets/javascripts/flatty/plugins/select2/select2.js +22 -0
  696. data/app/assets/javascripts/flatty/plugins/slider_nav/slidernav-min.js +7 -0
  697. data/app/assets/javascripts/flatty/plugins/slimscroll/jquery.slimscroll.min.js +16 -0
  698. data/app/assets/javascripts/flatty/plugins/sparklines/jquery.sparkline.min.js +5 -0
  699. data/app/assets/javascripts/flatty/plugins/tabdrop/bootstrap-tabdrop.js +117 -0
  700. data/app/assets/javascripts/flatty/plugins/timeago/jquery.timeago.js +193 -0
  701. data/app/assets/javascripts/flatty/plugins/typeahead/typeahead.js +335 -0
  702. data/app/assets/javascripts/flatty/plugins/validate/additional-methods.js +617 -0
  703. data/app/assets/javascripts/flatty/plugins/validate/additional-methods.min.js +2 -0
  704. data/app/assets/javascripts/flatty/plugins/validate/jquery.validate.js +1231 -0
  705. data/app/assets/javascripts/flatty/plugins/validate/jquery.validate.min.js +2 -0
  706. data/app/assets/javascripts/flatty/plugins/validate/messages_fr.js +47 -0
  707. data/app/assets/javascripts/flatty/theme.js.coffee +314 -0
  708. data/app/assets/stylesheets/_timeline.scss +87 -0
  709. data/app/assets/stylesheets/application.scss +7 -0
  710. data/app/assets/stylesheets/application2.scss +1675 -0
  711. data/app/assets/stylesheets/bootstrap-generators.scss +22 -0
  712. data/app/assets/stylesheets/bootstrap-variables.scss +839 -0
  713. data/app/assets/stylesheets/cg_app_base/application.css +15 -0
  714. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_alerts.scss +73 -0
  715. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss +51 -0
  716. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_bootstrap.scss +59 -0
  717. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_breadcrumbs.scss +23 -0
  718. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_button-groups.scss +250 -0
  719. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_buttons.scss +165 -0
  720. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_carousel.scss +209 -0
  721. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_close.scss +35 -0
  722. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_code.scss +56 -0
  723. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_component-animations.scss +29 -0
  724. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_dropdowns.scss +194 -0
  725. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_forms.scss +352 -0
  726. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_glyphicons.scss +232 -0
  727. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_grid.scss +296 -0
  728. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_input-groups.scss +127 -0
  729. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_jumbotron.scss +40 -0
  730. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_labels.scss +70 -0
  731. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_list-group.scss +90 -0
  732. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_media.scss +56 -0
  733. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_mixins.scss +730 -0
  734. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_modals.scss +146 -0
  735. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_navbar.scss +625 -0
  736. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_navs.scss +229 -0
  737. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_normalize.scss +396 -0
  738. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_pager.scss +55 -0
  739. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_pagination.scss +83 -0
  740. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_panels.scss +148 -0
  741. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_popovers.scss +133 -0
  742. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_print.scss +100 -0
  743. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_progress-bars.scss +95 -0
  744. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_responsive-utilities.scss +209 -0
  745. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_scaffolding.scss +130 -0
  746. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_tables.scss +236 -0
  747. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_theme.scss +234 -0
  748. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_thumbnails.scss +31 -0
  749. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_tooltip.scss +95 -0
  750. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_type.scss +238 -0
  751. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_utilities.scss +42 -0
  752. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_variables.scss +627 -0
  753. data/app/assets/stylesheets/flatty/bootstrap/bootstrap/_wells.scss +29 -0
  754. data/app/assets/stylesheets/flatty/bootstrap/bootstrap.scss +1 -0
  755. data/app/assets/stylesheets/flatty/dark-blue-theme.scss +142 -0
  756. data/app/assets/stylesheets/flatty/dark-theme.scss +142 -0
  757. data/app/assets/stylesheets/flatty/demo.scss +16 -0
  758. data/app/assets/stylesheets/flatty/jquery/jquery.ui.datepicker.scss +179 -0
  759. data/app/assets/stylesheets/flatty/jquery/jquery.ui.theme.scss +408 -0
  760. data/app/assets/stylesheets/flatty/jquery/jquery_ui.scss +6 -0
  761. data/app/assets/stylesheets/flatty/light-theme.scss +142 -0
  762. data/app/assets/stylesheets/flatty/plugins/_plugins.scss +19 -0
  763. data/app/assets/stylesheets/flatty/plugins/bootstrap_colorpicker/bootstrap-colorpicker.scss +7 -0
  764. data/app/assets/stylesheets/flatty/plugins/bootstrap_daterangepicker/bootstrap-daterangepicker.scss +267 -0
  765. data/app/assets/stylesheets/flatty/plugins/bootstrap_datetimepicker/bootstrap-datetimepicker.min.scss +249 -0
  766. data/app/assets/stylesheets/flatty/plugins/bootstrap_datetimepicker/datepicker3.scss +790 -0
  767. data/app/assets/stylesheets/flatty/plugins/bootstrap_switch/bootstrap-switch.scss +287 -0
  768. data/app/assets/stylesheets/flatty/plugins/common/bootstrap-wysihtml5.scss +102 -0
  769. data/app/assets/stylesheets/flatty/plugins/datatables/bootstrap-datatable.scss +152 -0
  770. data/app/assets/stylesheets/flatty/plugins/dynatree/ui.dynatree.scss +452 -0
  771. data/app/assets/stylesheets/flatty/plugins/flags/flags.scss +258 -0
  772. data/app/assets/stylesheets/flatty/plugins/fuelux/wizard.scss +164 -0
  773. data/app/assets/stylesheets/flatty/plugins/fullcalendar/fullcalendar.scss +564 -0
  774. data/app/assets/stylesheets/flatty/plugins/ion_range_slider/ion.rangeSlider.css +146 -0
  775. data/app/assets/stylesheets/flatty/plugins/ion_range_slider/ion.range_slider.skin_flat.css +107 -0
  776. data/app/assets/stylesheets/flatty/plugins/jgrowl/jquery.jgrowl.min.scss +136 -0
  777. data/app/assets/stylesheets/flatty/plugins/jquery_fileupload/jquery.fileupload-ui.scss +84 -0
  778. data/app/assets/stylesheets/flatty/plugins/lightbox/lightbox.scss +170 -0
  779. data/app/assets/stylesheets/flatty/plugins/mention/mention.scss +19 -0
  780. data/app/assets/stylesheets/flatty/plugins/select2/select2.scss +614 -0
  781. data/app/assets/stylesheets/flatty/plugins/slider_nav/slidernav.scss +26 -0
  782. data/app/assets/stylesheets/flatty/plugins/tabdrop/tabdrop.scss +12 -0
  783. data/app/assets/stylesheets/flatty/theme/_accordions.scss +39 -0
  784. data/app/assets/stylesheets/flatty/theme/_boxes-quick-links.scss +63 -0
  785. data/app/assets/stylesheets/flatty/theme/_boxes-statistics.scss +59 -0
  786. data/app/assets/stylesheets/flatty/theme/_boxes.scss +193 -0
  787. data/app/assets/stylesheets/flatty/theme/_calendar.scss +62 -0
  788. data/app/assets/stylesheets/flatty/theme/_chat.scss +114 -0
  789. data/app/assets/stylesheets/flatty/theme/_common.scss +55 -0
  790. data/app/assets/stylesheets/flatty/theme/_content.scss +117 -0
  791. data/app/assets/stylesheets/flatty/theme/_font-awesome.scss +1479 -0
  792. data/app/assets/stylesheets/flatty/theme/_forms.scss +144 -0
  793. data/app/assets/stylesheets/flatty/theme/_header.scss +336 -0
  794. data/app/assets/stylesheets/flatty/theme/_navigation.scss +484 -0
  795. data/app/assets/stylesheets/flatty/theme/_nestable-list.scss +99 -0
  796. data/app/assets/stylesheets/flatty/theme/_overrides-bootstrap.scss +86 -0
  797. data/app/assets/stylesheets/flatty/theme/_overrides-plugins.scss +223 -0
  798. data/app/assets/stylesheets/flatty/theme/_recent-activity.scss +124 -0
  799. data/app/assets/stylesheets/flatty/theme/_tables.scss +130 -0
  800. data/app/assets/stylesheets/flatty/theme/_tabs.scss +221 -0
  801. data/app/assets/stylesheets/flatty/theme/_tasks.scss +12 -0
  802. data/app/assets/stylesheets/flatty/theme/_todo-list.scss +152 -0
  803. data/app/assets/stylesheets/flatty/theme/_type.scss +170 -0
  804. data/app/assets/stylesheets/flatty/theme/_utilities.scss +122 -0
  805. data/app/assets/stylesheets/flatty/theme/_variables.scss +140 -0
  806. data/app/assets/stylesheets/flatty/theme/_wizard.scss +62 -0
  807. data/app/assets/stylesheets/flatty/theme/common/_buttons.scss +258 -0
  808. data/app/assets/stylesheets/flatty/theme/common/_dropdowns.scss +7 -0
  809. data/app/assets/stylesheets/flatty/theme/common/_elements.scss +17 -0
  810. data/app/assets/stylesheets/flatty/theme/common/_modals.scss +3 -0
  811. data/app/assets/stylesheets/flatty/theme/common/_paginations.scss +5 -0
  812. data/app/assets/stylesheets/flatty/theme/common/_progress.scss +55 -0
  813. data/app/assets/stylesheets/flatty/theme/pages/_errors.scss +84 -0
  814. data/app/assets/stylesheets/flatty/theme/pages/_faq.scss +25 -0
  815. data/app/assets/stylesheets/flatty/theme/pages/_gallery.scss +64 -0
  816. data/app/assets/stylesheets/flatty/theme/pages/_invoice.scss +77 -0
  817. data/app/assets/stylesheets/flatty/theme/pages/_login.scss +81 -0
  818. data/app/assets/stylesheets/flatty/theme/pages/_orders.scss +45 -0
  819. data/app/assets/stylesheets/flatty/theme/pages/_pricing_tables.scss +65 -0
  820. data/app/assets/stylesheets/flatty/theme/pages/_timeline.scss +87 -0
  821. data/app/assets/stylesheets/flatty/theme-colors.scss +329 -0
  822. data/app/assets/stylesheets/scaffolds.css.scss +69 -0
  823. data/app/assets/stylesheets/vehicles.css.scss +3 -0
  824. data/app/controllers/cg_app_base/application_controller.rb +13 -0
  825. data/app/controllers/cg_app_base/redirect_tool_controller.rb +10 -0
  826. data/app/controllers/concerns/cg_app_base/ip_authorization_concern.rb +19 -0
  827. data/app/helpers/cg_app_base/application_helper.rb +23 -0
  828. data/app/models/ability.rb +41 -0
  829. data/app/models/cg_app_base/address.rb +54 -0
  830. data/app/models/cg_app_base/contact.rb +33 -0
  831. data/app/models/cg_app_base/phone.rb +36 -0
  832. data/app/models/concerns/attributes_normalizer.rb +19 -0
  833. data/app/navigation_renderers/cg_navigation_renderer.rb +57 -0
  834. data/app/views/cg_app_base/redirect_tool/index.html.erb +86 -0
  835. data/app/views/layouts/application.html.erb +116 -0
  836. data/app/views/shared/_flash_message.html.erb +14 -0
  837. data/app/views/shared/_main_navigation.html.erb +17 -0
  838. data/app/views/shared/_navigation.html.erb +21 -0
  839. data/app/views/shared/_navigation_embedded.html.erb +10 -0
  840. data/config/cucumber.yml +8 -0
  841. data/config/initializers/simple_form.rb +145 -0
  842. data/config/initializers/simple_form_bootstrap.rb +86 -0
  843. data/config/initializers/simple_navigation.rb +2 -0
  844. data/config/navigation.rb +117 -0
  845. data/config/routes.rb +2 -0
  846. data/lib/cg_app_base/engine.rb +13 -0
  847. data/lib/cg_app_base/version.rb +3 -0
  848. data/lib/cg_app_base.rb +11 -0
  849. data/lib/controllers/concerns/layout_concern.rb +16 -0
  850. data/lib/tasks/cg_app_base_tasks.rake +4 -0
  851. data/lib/tasks/cucumber.rake +65 -0
  852. metadata +1104 -0
@@ -0,0 +1,221 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>HTML Compliant Output &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../../../ckeditor.js"></script>
11
+ <script src="../../sample.js"></script>
12
+ <link href="../../sample.css" rel="stylesheet">
13
+ <meta name="ckeditor-sample-required-plugins" content="sourcearea">
14
+ <meta name="ckeditor-sample-name" content="Output HTML">
15
+ <meta name="ckeditor-sample-group" content="Advanced Samples">
16
+ <meta name="ckeditor-sample-description" content="Configuring CKEditor to produce legacy HTML 4 code.">
17
+ </head>
18
+ <body>
19
+ <h1 class="samples">
20
+ <a href="../../index.html">CKEditor Samples</a> &raquo; Producing HTML Compliant Output
21
+ </h1>
22
+ <div class="description">
23
+ <p>
24
+ This sample shows how to configure CKEditor to output valid
25
+ <a class="samples" href="http://www.w3.org/TR/html401/">HTML 4.01</a> code.
26
+ Traditional HTML elements like <code>&lt;b&gt;</code>,
27
+ <code>&lt;i&gt;</code>, and <code>&lt;font&gt;</code> are used in place of
28
+ <code>&lt;strong&gt;</code>, <code>&lt;em&gt;</code>, and CSS styles.
29
+ </p>
30
+ <p>
31
+ To add a CKEditor instance outputting legacy HTML 4.01 code, load the editor using a standard
32
+ JavaScript call, and define CKEditor features to use the HTML compliant elements and attributes.
33
+ </p>
34
+ <p>
35
+ A snippet of the configuration code can be seen below; check the source of this page for
36
+ full definition:
37
+ </p>
38
+ <pre class="samples">
39
+ CKEDITOR.replace( '<em>textarea_id</em>', {
40
+ coreStyles_bold: { element: 'b' },
41
+ coreStyles_italic: { element: 'i' },
42
+
43
+ fontSize_style: {
44
+ element: 'font',
45
+ attributes: { 'size': '#(size)' }
46
+ }
47
+
48
+ ...
49
+ });</pre>
50
+ </div>
51
+ <form action="../../sample_posteddata.php" method="post">
52
+ <p>
53
+ <label for="editor1">
54
+ Editor 1:
55
+ </label>
56
+ <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;b&gt;sample text&lt;/b&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
57
+ <script>
58
+
59
+ CKEDITOR.replace( 'editor1', {
60
+ /*
61
+ * Ensure that htmlwriter plugin, which is required for this sample, is loaded.
62
+ */
63
+ extraPlugins: 'htmlwriter',
64
+
65
+ /*
66
+ * Style sheet for the contents
67
+ */
68
+ contentsCss: 'body {color:#000; background-color#:FFF;}',
69
+
70
+ /*
71
+ * Simple HTML5 doctype
72
+ */
73
+ docType: '<!DOCTYPE HTML>',
74
+
75
+ /*
76
+ * Allowed content rules which beside limiting allowed HTML
77
+ * will also take care of transforming styles to attributes
78
+ * (currently only for img - see transformation rules defined below).
79
+ *
80
+ * Read more: http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
81
+ */
82
+ allowedContent:
83
+ 'h1 h2 h3 p pre[align]; ' +
84
+ 'blockquote code kbd samp var del ins cite q b i u strike ul ol li hr table tbody tr td th caption; ' +
85
+ 'img[!src,alt,align,width,height]; font[!face]; font[!family]; font[!color]; font[!size]; font{!background-color}; a[!href]; a[!name]',
86
+
87
+ /*
88
+ * Core styles.
89
+ */
90
+ coreStyles_bold: { element: 'b' },
91
+ coreStyles_italic: { element: 'i' },
92
+ coreStyles_underline: { element: 'u' },
93
+ coreStyles_strike: { element: 'strike' },
94
+
95
+ /*
96
+ * Font face.
97
+ */
98
+
99
+ // Define the way font elements will be applied to the document.
100
+ // The "font" element will be used.
101
+ font_style: {
102
+ element: 'font',
103
+ attributes: { 'face': '#(family)' }
104
+ },
105
+
106
+ /*
107
+ * Font sizes.
108
+ */
109
+ fontSize_sizes: 'xx-small/1;x-small/2;small/3;medium/4;large/5;x-large/6;xx-large/7',
110
+ fontSize_style: {
111
+ element: 'font',
112
+ attributes: { 'size': '#(size)' }
113
+ },
114
+
115
+ /*
116
+ * Font colors.
117
+ */
118
+
119
+ colorButton_foreStyle: {
120
+ element: 'font',
121
+ attributes: { 'color': '#(color)' }
122
+ },
123
+
124
+ colorButton_backStyle: {
125
+ element: 'font',
126
+ styles: { 'background-color': '#(color)' }
127
+ },
128
+
129
+ /*
130
+ * Styles combo.
131
+ */
132
+ stylesSet: [
133
+ { name: 'Computer Code', element: 'code' },
134
+ { name: 'Keyboard Phrase', element: 'kbd' },
135
+ { name: 'Sample Text', element: 'samp' },
136
+ { name: 'Variable', element: 'var' },
137
+ { name: 'Deleted Text', element: 'del' },
138
+ { name: 'Inserted Text', element: 'ins' },
139
+ { name: 'Cited Work', element: 'cite' },
140
+ { name: 'Inline Quotation', element: 'q' }
141
+ ],
142
+
143
+ on: {
144
+ pluginsLoaded: configureTransformations,
145
+ loaded: configureHtmlWriter
146
+ }
147
+ });
148
+
149
+ /*
150
+ * Add missing content transformations.
151
+ */
152
+ function configureTransformations( evt ) {
153
+ var editor = evt.editor;
154
+
155
+ editor.dataProcessor.htmlFilter.addRules( {
156
+ attributes: {
157
+ style: function( value, element ) {
158
+ // Return #RGB for background and border colors
159
+ return CKEDITOR.tools.convertRgbToHex( value );
160
+ }
161
+ }
162
+ } );
163
+
164
+ // Default automatic content transformations do not yet take care of
165
+ // align attributes on blocks, so we need to add our own transformation rules.
166
+ function alignToAttribute( element ) {
167
+ if ( element.styles[ 'text-align' ] ) {
168
+ element.attributes.align = element.styles[ 'text-align' ];
169
+ delete element.styles[ 'text-align' ];
170
+ }
171
+ }
172
+ editor.filter.addTransformations( [
173
+ [ { element: 'p', right: alignToAttribute } ],
174
+ [ { element: 'h1', right: alignToAttribute } ],
175
+ [ { element: 'h2', right: alignToAttribute } ],
176
+ [ { element: 'h3', right: alignToAttribute } ],
177
+ [ { element: 'pre', right: alignToAttribute } ]
178
+ ] );
179
+ }
180
+
181
+ /*
182
+ * Adjust the behavior of htmlWriter to make it output HTML like FCKeditor.
183
+ */
184
+ function configureHtmlWriter( evt ) {
185
+ var editor = evt.editor,
186
+ dataProcessor = editor.dataProcessor;
187
+
188
+ // Out self closing tags the HTML4 way, like <br>.
189
+ dataProcessor.writer.selfClosingEnd = '>';
190
+
191
+ // Make output formatting behave similar to FCKeditor.
192
+ var dtd = CKEDITOR.dtd;
193
+ for ( var e in CKEDITOR.tools.extend( {}, dtd.$nonBodyContent, dtd.$block, dtd.$listItem, dtd.$tableContent ) ) {
194
+ dataProcessor.writer.setRules( e, {
195
+ indent: true,
196
+ breakBeforeOpen: true,
197
+ breakAfterOpen: false,
198
+ breakBeforeClose: !dtd[ e ][ '#' ],
199
+ breakAfterClose: true
200
+ });
201
+ }
202
+ }
203
+
204
+ </script>
205
+ </p>
206
+ <p>
207
+ <input type="submit" value="Submit">
208
+ </p>
209
+ </form>
210
+ <div id="footer">
211
+ <hr>
212
+ <p>
213
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
214
+ </p>
215
+ <p id="copy">
216
+ Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
217
+ Knabben. All rights reserved.
218
+ </p>
219
+ </div>
220
+ </body>
221
+ </html>
@@ -0,0 +1,207 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>Using Magicline plugin &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <script src="../../../ckeditor.js"></script>
11
+ <link rel="stylesheet" href="../../sample.css">
12
+ <meta name="ckeditor-sample-name" content="Magicline plugin">
13
+ <meta name="ckeditor-sample-group" content="Plugins">
14
+ <meta name="ckeditor-sample-description" content="Using the Magicline plugin to access difficult focus spaces.">
15
+ <meta name="ckeditor-sample-isnew" content="1">
16
+ </head>
17
+ <body>
18
+ <h1 class="samples">
19
+ <a href="../../index.html">CKEditor Samples</a> &raquo; Using Magicline plugin
20
+ </h1>
21
+ <div class="description">
22
+ <p>
23
+ This sample shows the advantages of <strong>Magicline</strong> plugin
24
+ which is to enhance the editing process. Thanks to this plugin,
25
+ a number of difficult focus spaces which are inaccessible due to
26
+ browser issues can now be focused.
27
+ </p>
28
+ <p>
29
+ <strong>Magicline</strong> plugin shows a red line with a handler
30
+ which, when clicked, inserts a paragraph and allows typing. To see this,
31
+ focus an editor and move your mouse above the focus space you want
32
+ to access. The plugin is enabled by default so no additional
33
+ configuration is necessary.
34
+ </p>
35
+ </div>
36
+ <div>
37
+ <label for="editor1">
38
+ Editor 1:
39
+ </label>
40
+ <div class="description">
41
+ <p>
42
+ This editor uses a default <strong>Magicline</strong> setup.
43
+ </p>
44
+ </div>
45
+ <textarea cols="80" id="editor1" name="editor1" rows="10">
46
+ &lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; cellspacing=&quot;1&quot; style=&quot;width: 100%; &quot;&gt;
47
+ &lt;tbody&gt;
48
+ &lt;tr&gt;
49
+ &lt;td&gt;This table&lt;/td&gt;
50
+ &lt;td&gt;is the&lt;/td&gt;
51
+ &lt;td&gt;very first&lt;/td&gt;
52
+ &lt;td&gt;element of the document.&lt;/td&gt;
53
+ &lt;/tr&gt;
54
+ &lt;tr&gt;
55
+ &lt;td&gt;We are still&lt;/td&gt;
56
+ &lt;td&gt;able to acces&lt;/td&gt;
57
+ &lt;td&gt;the space before it.&lt;/td&gt;
58
+ &lt;td&gt;
59
+ &lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; cellspacing=&quot;1&quot; style=&quot;width: 100%; &quot;&gt;
60
+ &lt;tbody&gt;
61
+ &lt;tr&gt;
62
+ &lt;td&gt;This table is inside of a cell of another table.&lt;/td&gt;
63
+ &lt;/tr&gt;
64
+ &lt;tr&gt;
65
+ &lt;td&gt;We can type&amp;nbsp;either before or after it though.&lt;/td&gt;
66
+ &lt;/tr&gt;
67
+ &lt;/tbody&gt;
68
+ &lt;/table&gt;
69
+ &lt;/td&gt;
70
+ &lt;/tr&gt;
71
+ &lt;/tbody&gt;
72
+ &lt;/table&gt;
73
+
74
+ &lt;p&gt;Two succesive horizontal lines (&lt;tt&gt;HR&lt;/tt&gt; tags). We can access the space in between:&lt;/p&gt;
75
+
76
+ &lt;hr /&gt;
77
+ &lt;hr /&gt;
78
+ &lt;ol&gt;
79
+ &lt;li&gt;This numbered list...&lt;/li&gt;
80
+ &lt;li&gt;...is a neighbour of a horizontal line...&lt;/li&gt;
81
+ &lt;li&gt;...and another list.&lt;/li&gt;
82
+ &lt;/ol&gt;
83
+
84
+ &lt;ul&gt;
85
+ &lt;li&gt;We can type between the lists...&lt;/li&gt;
86
+ &lt;li&gt;...thanks to &lt;strong&gt;Magicline&lt;/strong&gt;.&lt;/li&gt;
87
+ &lt;/ul&gt;
88
+
89
+ &lt;p&gt;Lorem ipsum dolor sit amet dui. Morbi vel turpis. Nullam et leo. Etiam rutrum, urna tellus dui vel tincidunt mattis egestas, justo fringilla vel, massa. Phasellus.&lt;/p&gt;
90
+
91
+ &lt;p&gt;Quisque iaculis, dui lectus varius vitae, tortor. Proin lacus. Pellentesque ac lacus. Aenean nonummy commodo nec, pede. Etiam blandit risus elit.&lt;/p&gt;
92
+
93
+ &lt;p&gt;Ut pretium. Vestibulum rutrum in, adipiscing elit. Sed in quam in purus sem vitae pede. Pellentesque bibendum, urna sem vel risus. Vivamus posuere metus. Aliquam gravida iaculis nisl. Nam enim. Aliquam erat ac lacus tellus ac felis.&lt;/p&gt;
94
+
95
+ &lt;div style=&quot;border: 2px dashed green; background: #ddd; text-align: center;&quot;&gt;
96
+ &lt;p&gt;This text is wrapped in a&amp;nbsp;&lt;tt&gt;DIV&lt;/tt&gt;&amp;nbsp;element. We can type after this element though.&lt;/p&gt;
97
+ &lt;/div&gt;
98
+ </textarea>
99
+ <script>
100
+
101
+ // This call can be placed at any point after the
102
+ // <textarea>, or inside a <head><script> in a
103
+ // window.onload event handler.
104
+
105
+ CKEDITOR.replace( 'editor1', {
106
+ extraPlugins: 'magicline', // Ensure that magicline plugin, which is required for this sample, is loaded.
107
+ allowedContent: true // Switch off the ACF, so very complex content created to
108
+ // show magicline's power isn't filtered.
109
+ } );
110
+
111
+ </script>
112
+ </div>
113
+ <br>
114
+ <div>
115
+ <label for="editor2">
116
+ Editor 2:
117
+ </label>
118
+ <div class="description">
119
+ <p>
120
+ This editor is using a blue line.
121
+ </p>
122
+ <pre class="samples">
123
+ CKEDITOR.replace( 'editor2', {
124
+ magicline_color: 'blue'
125
+ });</pre>
126
+ </div>
127
+ <textarea cols="80" id="editor2" name="editor2" rows="10">
128
+ &lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; cellspacing=&quot;1&quot; style=&quot;width: 100%; &quot;&gt;
129
+ &lt;tbody&gt;
130
+ &lt;tr&gt;
131
+ &lt;td&gt;This table&lt;/td&gt;
132
+ &lt;td&gt;is the&lt;/td&gt;
133
+ &lt;td&gt;very first&lt;/td&gt;
134
+ &lt;td&gt;element of the document.&lt;/td&gt;
135
+ &lt;/tr&gt;
136
+ &lt;tr&gt;
137
+ &lt;td&gt;We are still&lt;/td&gt;
138
+ &lt;td&gt;able to acces&lt;/td&gt;
139
+ &lt;td&gt;the space before it.&lt;/td&gt;
140
+ &lt;td&gt;
141
+ &lt;table border=&quot;1&quot; cellpadding=&quot;1&quot; cellspacing=&quot;1&quot; style=&quot;width: 100%; &quot;&gt;
142
+ &lt;tbody&gt;
143
+ &lt;tr&gt;
144
+ &lt;td&gt;This table is inside of a cell of another table.&lt;/td&gt;
145
+ &lt;/tr&gt;
146
+ &lt;tr&gt;
147
+ &lt;td&gt;We can type&amp;nbsp;either before or after it though.&lt;/td&gt;
148
+ &lt;/tr&gt;
149
+ &lt;/tbody&gt;
150
+ &lt;/table&gt;
151
+ &lt;/td&gt;
152
+ &lt;/tr&gt;
153
+ &lt;/tbody&gt;
154
+ &lt;/table&gt;
155
+
156
+ &lt;p&gt;Two succesive horizontal lines (&lt;tt&gt;HR&lt;/tt&gt; tags). We can access the space in between:&lt;/p&gt;
157
+
158
+ &lt;hr /&gt;
159
+ &lt;hr /&gt;
160
+ &lt;ol&gt;
161
+ &lt;li&gt;This numbered list...&lt;/li&gt;
162
+ &lt;li&gt;...is a neighbour of a horizontal line...&lt;/li&gt;
163
+ &lt;li&gt;...and another list.&lt;/li&gt;
164
+ &lt;/ol&gt;
165
+
166
+ &lt;ul&gt;
167
+ &lt;li&gt;We can type between the lists...&lt;/li&gt;
168
+ &lt;li&gt;...thanks to &lt;strong&gt;Magicline&lt;/strong&gt;.&lt;/li&gt;
169
+ &lt;/ul&gt;
170
+
171
+ &lt;p&gt;Lorem ipsum dolor sit amet dui. Morbi vel turpis. Nullam et leo. Etiam rutrum, urna tellus dui vel tincidunt mattis egestas, justo fringilla vel, massa. Phasellus.&lt;/p&gt;
172
+
173
+ &lt;p&gt;Quisque iaculis, dui lectus varius vitae, tortor. Proin lacus. Pellentesque ac lacus. Aenean nonummy commodo nec, pede. Etiam blandit risus elit.&lt;/p&gt;
174
+
175
+ &lt;p&gt;Ut pretium. Vestibulum rutrum in, adipiscing elit. Sed in quam in purus sem vitae pede. Pellentesque bibendum, urna sem vel risus. Vivamus posuere metus. Aliquam gravida iaculis nisl. Nam enim. Aliquam erat ac lacus tellus ac felis.&lt;/p&gt;
176
+
177
+ &lt;div style=&quot;border: 2px dashed green; background: #ddd; text-align: center;&quot;&gt;
178
+ &lt;p&gt;This text is wrapped in a&amp;nbsp;&lt;tt&gt;DIV&lt;/tt&gt;&amp;nbsp;element. We can type after this element though.&lt;/p&gt;
179
+ &lt;/div&gt;
180
+ </textarea>
181
+ <script>
182
+
183
+ // This call can be placed at any point after the
184
+ // <textarea>, or inside a <head><script> in a
185
+ // window.onload event handler.
186
+
187
+ CKEDITOR.replace( 'editor2', {
188
+ extraPlugins: 'magicline', // Ensure that magicline plugin, which is required for this sample, is loaded.
189
+ magicline_color: 'blue', // Blue line
190
+ allowedContent: true // Switch off the ACF, so very complex content created to
191
+ // show magicline's power isn't filtered.
192
+ });
193
+
194
+ </script>
195
+ </div>
196
+ <div id="footer">
197
+ <hr>
198
+ <p>
199
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
200
+ </p>
201
+ <p id="copy">
202
+ Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
203
+ Knabben. All rights reserved.
204
+ </p>
205
+ </div>
206
+ </body>
207
+ </html>
@@ -0,0 +1,232 @@
1
+ <!DOCTYPE html>
2
+ <!--
3
+ Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
4
+ For licensing, see LICENSE.html or http://ckeditor.com/license
5
+ -->
6
+ <html>
7
+ <head>
8
+ <title>Toolbar Configuration &mdash; CKEditor Sample</title>
9
+ <meta charset="utf-8">
10
+ <meta name="ckeditor-sample-name" content="Toolbar Configurations">
11
+ <meta name="ckeditor-sample-group" content="Advanced Samples">
12
+ <meta name="ckeditor-sample-description" content="Configuring CKEditor to display full or custom toolbar layout.">
13
+ <meta name="ckeditor-sample-isnew" content="1">
14
+ <script src="../../../ckeditor.js"></script>
15
+ <link href="../../sample.css" rel="stylesheet">
16
+ </head>
17
+ <body>
18
+ <h1 class="samples">
19
+ <a href="../../index.html">CKEditor Samples</a> &raquo; Toolbar Configuration
20
+ </h1>
21
+ <div class="description">
22
+ <p>
23
+ This sample page demonstrates editor with loaded <a href="#fullToolbar">full toolbar</a> (all registered buttons) and, if
24
+ current editor's configuration modifies default settings, also editor with <a href="#currentToolbar">modified toolbar</a>.
25
+ </p>
26
+
27
+ <p>Since CKEditor 4 there are two ways to configure toolbar buttons.</p>
28
+
29
+ <h2 class="samples">By <a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-toolbar">config.toolbar</a></h2>
30
+
31
+ <p>
32
+ You can explicitly define which buttons are displayed in which groups and in which order.
33
+ This is the more precise setting, but less flexible. If newly added plugin adds its
34
+ own button you'll have to add it manually to your <code>config.toolbar</code> setting as well.
35
+ </p>
36
+
37
+ <p>To add a CKEditor instance with custom toolbar setting, insert the following JavaScript call to your code:</p>
38
+
39
+ <pre class="samples">
40
+ CKEDITOR.replace( <em>'textarea_id'</em>, {
41
+ <strong>toolbar:</strong> [
42
+ { name: 'document', items: [ 'Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups.
43
+ [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ], // Defines toolbar group without name.
44
+ '/', // Line break - next group will be placed in new line.
45
+ { name: 'basicstyles', items: [ 'Bold', 'Italic' ] }
46
+ ]
47
+ });</pre>
48
+
49
+ <h2 class="samples">By <a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-toolbarGroups">config.toolbarGroups</a></h2>
50
+
51
+ <p>
52
+ You can define which groups of buttons (like e.g. <code>basicstyles</code>, <code>clipboard</code>
53
+ and <code>forms</code>) are displayed and in which order. Registered buttons are associated
54
+ with toolbar groups by <code>toolbar</code> property in their definition.
55
+ This setting's advantage is that you don't have to modify toolbar configuration
56
+ when adding/removing plugins which register their own buttons.
57
+ </p>
58
+
59
+ <p>To add a CKEditor instance with custom toolbar groups setting, insert the following JavaScript call to your code:</p>
60
+
61
+ <pre class="samples">
62
+ CKEDITOR.replace( <em>'textarea_id'</em>, {
63
+ <strong>toolbarGroups:</strong> [
64
+ { name: 'document', groups: [ 'mode', 'document' ] }, // Displays document group with its two subgroups.
65
+ { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, // Group's name will be used to create voice label.
66
+ '/', // Line break - next group will be placed in new line.
67
+ { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
68
+ { name: 'links' }
69
+ ]
70
+
71
+ // NOTE: Remember to leave 'toolbar' property with the default value (null).
72
+ });</pre>
73
+ </div>
74
+
75
+ <div id="currentToolbar" style="display: none">
76
+ <h2 class="samples">Current toolbar configuration</h2>
77
+ <p>Below you can see editor with current toolbar definition.</p>
78
+ <textarea cols="80" id="editorCurrent" name="editorCurrent" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
79
+ <pre id="editorCurrentCfg" class="samples"></pre>
80
+ </div>
81
+
82
+ <div id="fullToolbar">
83
+ <h2 class="samples">Full toolbar configuration</h2>
84
+ <p>Below you can see editor with full toolbar, generated automatically by the editor.</p>
85
+ <p>
86
+ <strong>Note</strong>: To create editor instance with full toolbar you don't have to set anything.
87
+ Just leave <code>toolbar</code> and <code>toolbarGroups</code> with the default, <code>null</code> values.
88
+ </p>
89
+ <textarea cols="80" id="editorFull" name="editorFull" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
90
+ <pre id="editorFullCfg" class="samples"></pre>
91
+ </div>
92
+
93
+ <script>
94
+
95
+ (function() {
96
+ 'use strict';
97
+
98
+ var buttonsNames;
99
+
100
+ CKEDITOR.config.extraPlugins = 'toolbar';
101
+
102
+ CKEDITOR.on( 'instanceReady', function( evt ) {
103
+ var editor = evt.editor,
104
+ editorCurrent = editor.name == 'editorCurrent',
105
+ defaultToolbar = !( editor.config.toolbar || editor.config.toolbarGroups ),
106
+ pre = CKEDITOR.document.getById( editor.name + 'Cfg' ),
107
+ output = '';
108
+
109
+ if ( editorCurrent ) {
110
+ // If default toolbar configuration has been modified, show "current toolbar" section.
111
+ if ( !defaultToolbar )
112
+ CKEDITOR.document.getById( 'currentToolbar' ).show();
113
+ else
114
+ return;
115
+ }
116
+
117
+ if ( !buttonsNames )
118
+ buttonsNames = createButtonsNamesHash( editor.ui.items );
119
+
120
+ // Toolbar isn't set explicitly, so it was created automatically from toolbarGroups.
121
+ if ( !editor.config.toolbar ) {
122
+ output +=
123
+ '// Toolbar configuration generated automatically by the editor based on config.toolbarGroups.\n' +
124
+ dumpToolbarConfiguration( editor ) +
125
+ '\n\n' +
126
+ '// Toolbar groups configuration.\n' +
127
+ dumpToolbarConfiguration( editor, true )
128
+ }
129
+ // Toolbar groups doesn't count in this case - print only toolbar.
130
+ else {
131
+ output += '// Toolbar configuration.\n' +
132
+ dumpToolbarConfiguration( editor );
133
+ }
134
+
135
+ // Recreate to avoid old IE from loosing whitespaces on filling <pre> content.
136
+ var preOutput = pre.getOuterHtml().replace( /(?=<\/)/, output );
137
+ CKEDITOR.dom.element.createFromHtml( preOutput ).replace( pre );
138
+ } );
139
+
140
+ CKEDITOR.replace( 'editorCurrent', { height: 100 } );
141
+ CKEDITOR.replace( 'editorFull', {
142
+ // Reset toolbar settings, so full toolbar will be generated automatically.
143
+ toolbar: null,
144
+ toolbarGroups: null,
145
+ height: 100
146
+ } );
147
+
148
+ function dumpToolbarConfiguration( editor, printGroups ) {
149
+ var output = [],
150
+ toolbar = editor.toolbar;
151
+
152
+ for ( var i = 0; i < toolbar.length; ++i ) {
153
+ var group = dumpToolbarGroup( toolbar[ i ], printGroups );
154
+ if ( group )
155
+ output.push( group );
156
+ }
157
+
158
+ return 'config.toolbar' + ( printGroups ? 'Groups' : '' ) + ' = [\n\t' + output.join( ',\n\t' ) + '\n];';
159
+ }
160
+
161
+ function dumpToolbarGroup( group, printGroups ) {
162
+ var output = [];
163
+
164
+ if ( typeof group == 'string' )
165
+ return '\'' + group + '\'';
166
+ if ( CKEDITOR.tools.isArray( group ) )
167
+ return dumpToolbarItems( group );
168
+ // Skip group when printing entire toolbar configuration and there are no items in this group.
169
+ if ( !printGroups && !group.items )
170
+ return;
171
+
172
+ if ( group.name )
173
+ output.push( 'name: \'' + group.name + '\'' );
174
+
175
+ if ( group.groups )
176
+ output.push( 'groups: ' + dumpToolbarItems( group.groups ) );
177
+
178
+ if ( !printGroups )
179
+ output.push( 'items: ' + dumpToolbarItems( group.items ) );
180
+
181
+ return '{ ' + output.join( ', ' ) + ' }';
182
+ }
183
+
184
+ function dumpToolbarItems( items ) {
185
+ if ( typeof items == 'string' )
186
+ return '\'' + items + '\'';
187
+
188
+ var names = [],
189
+ i, item;
190
+
191
+ for ( var i = 0; i < items.length; ++i ) {
192
+ item = items[ i ];
193
+ if ( typeof item == 'string' )
194
+ names.push( item );
195
+ else {
196
+ if ( item.type == CKEDITOR.UI_SEPARATOR )
197
+ names.push( '-' );
198
+ else
199
+ names.push( buttonsNames[ item.name ] );
200
+ }
201
+ }
202
+
203
+ return '[ \'' + names.join( '\', \'' ) + '\' ]';
204
+ }
205
+
206
+ // Creates { 'lowercased': 'LowerCased' } buttons names hash.
207
+ function createButtonsNamesHash( items ) {
208
+ var hash = {},
209
+ name;
210
+
211
+ for ( name in items ) {
212
+ hash[ items[ name ].name ] = name;
213
+ }
214
+
215
+ return hash;
216
+ }
217
+
218
+ })();
219
+ </script>
220
+
221
+ <div id="footer">
222
+ <hr>
223
+ <p>
224
+ CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
225
+ </p>
226
+ <p id="copy">
227
+ Copyright &copy; 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
228
+ Knabben. All rights reserved.
229
+ </p>
230
+ </div>
231
+ </body>
232
+ </html>