kirgudu_base 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (871) hide show
  1. checksums.yaml +6 -14
  2. data/Rakefile +1 -1
  3. data/app/assets/images/kirgudu_base/404-fry.png +0 -0
  4. data/app/assets/images/kirgudu_base/{ajax-loader.gif → admin/default/ajax-loader.gif} +0 -0
  5. data/app/assets/images/kirgudu_base/{alpha.png → admin/default/alpha.png} +0 -0
  6. data/app/assets/images/kirgudu_base/{alpha2.png → admin/default/alpha2.png} +0 -0
  7. data/app/assets/images/kirgudu_base/{arrow.png → admin/default/arrow.png} +0 -0
  8. data/app/assets/images/kirgudu_base/{company_pxg.png → admin/default/company_pxg.png} +0 -0
  9. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/back_disabled.png +0 -0
  10. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/back_enabled.png +0 -0
  11. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/back_enabled_hover.png +0 -0
  12. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/forward_disabled.png +0 -0
  13. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/forward_enabled.png +0 -0
  14. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/forward_enabled_hover.png +0 -0
  15. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/sort_asc.png +0 -0
  16. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/sort_asc_disabled.png +0 -0
  17. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/sort_both.png +0 -0
  18. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/sort_desc.png +0 -0
  19. data/app/assets/images/kirgudu_base/{datatables → admin/default/datatables}/sort_desc_disabled.png +0 -0
  20. data/app/assets/images/kirgudu_base/{favicon.png → admin/default/favicon.png} +0 -0
  21. data/app/assets/images/kirgudu_base/{general → admin/default/general}/clock.png +0 -0
  22. data/app/assets/images/kirgudu_base/{general → admin/default/general}/clock2.png +0 -0
  23. data/app/assets/images/kirgudu_base/{general → admin/default/general}/coffee.png +0 -0
  24. data/app/assets/images/kirgudu_base/{general → admin/default/general}/coffee2.png +0 -0
  25. data/app/assets/images/kirgudu_base/{general → admin/default/general}/flipchart.png +0 -0
  26. data/app/assets/images/kirgudu_base/{general → admin/default/general}/flipchart2.png +0 -0
  27. data/app/assets/images/kirgudu_base/{general → admin/default/general}/sun.png +0 -0
  28. data/app/assets/images/kirgudu_base/{general → admin/default/general}/sun2.png +0 -0
  29. data/app/assets/images/kirgudu_base/{glyphicons-halflings-white.png → admin/default/glyphicons-halflings-white.png} +0 -0
  30. data/app/assets/images/kirgudu_base/{glyphicons-halflings.png → admin/default/glyphicons-halflings.png} +0 -0
  31. data/app/assets/images/kirgudu_base/{gradient1.png → admin/default/gradient1.png} +0 -0
  32. data/app/assets/images/kirgudu_base/{hue2.png → admin/default/hue2.png} +0 -0
  33. data/app/assets/images/kirgudu_base/{icons-sa7c41345d9.png → admin/default/icons-sa7c41345d9.png} +0 -0
  34. data/app/assets/images/kirgudu_base/{login-corner.png → admin/default/login-corner.png} +0 -0
  35. data/app/assets/images/kirgudu_base/{login-corner2.png → admin/default/login-corner2.png} +0 -0
  36. data/app/assets/images/kirgudu_base/admin/default/logo.png +0 -0
  37. data/app/assets/images/kirgudu_base/{maps → admin/default/maps}/m1.png +0 -0
  38. data/app/assets/images/kirgudu_base/{maps → admin/default/maps}/m2.png +0 -0
  39. data/app/assets/images/kirgudu_base/{maps → admin/default/maps}/m3.png +0 -0
  40. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/calendar.png +0 -0
  41. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/dashboard.png +0 -0
  42. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/forms.png +0 -0
  43. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/gallery.png +0 -0
  44. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/grid.png +0 -0
  45. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/maps.png +0 -0
  46. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/others.png +0 -0
  47. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/statistics.png +0 -0
  48. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/tables.png +0 -0
  49. data/app/assets/images/kirgudu_base/{menu_icons → admin/default/menu_icons}/widgets.png +0 -0
  50. data/app/assets/images/kirgudu_base/{menu_top → admin/default/menu_top}/profile-avatar.png +0 -0
  51. data/app/assets/images/kirgudu_base/{menu_top → admin/default/menu_top}/profile-messages.png +0 -0
  52. data/app/assets/images/kirgudu_base/{message_avatar1.png → admin/default/message_avatar1.png} +0 -0
  53. data/app/assets/images/kirgudu_base/{message_avatar2.png → admin/default/message_avatar2.png} +0 -0
  54. data/app/assets/images/kirgudu_base/{message_avatar3.png → admin/default/message_avatar3.png} +0 -0
  55. data/app/assets/images/kirgudu_base/{message_avatar4.png → admin/default/message_avatar4.png} +0 -0
  56. data/app/assets/images/kirgudu_base/{message_avatar5.png → admin/default/message_avatar5.png} +0 -0
  57. data/app/assets/images/kirgudu_base/{message_avatar6.png → admin/default/message_avatar6.png} +0 -0
  58. data/app/assets/images/kirgudu_base/{message_avatar7.png → admin/default/message_avatar7.png} +0 -0
  59. data/app/assets/images/kirgudu_base/{patterns → admin/default/patterns}/bg_dark.png +0 -0
  60. data/app/assets/images/kirgudu_base/{patterns → admin/default/patterns}/bg_dark2.png +0 -0
  61. data/app/assets/images/kirgudu_base/{patterns → admin/default/patterns}/bg_dark3.png +0 -0
  62. data/app/assets/images/kirgudu_base/{patterns → admin/default/patterns}/whitey.png +0 -0
  63. data/app/assets/images/kirgudu_base/{sample_avatar_big.jpg → admin/default/sample_avatar_big.jpg} +0 -0
  64. data/app/assets/images/kirgudu_base/{saturation2.png → admin/default/saturation2.png} +0 -0
  65. data/app/assets/images/kirgudu_base/{search.png → admin/default/search.png} +0 -0
  66. data/app/assets/images/kirgudu_base/{toggle.png → admin/default/toggle.png} +0 -0
  67. data/app/assets/images/kirgudu_base/{ui-bg_fine-grain_10_e7e7e7_60x60.png → admin/default/ui-bg_fine-grain_10_e7e7e7_60x60.png} +0 -0
  68. data/app/assets/images/kirgudu_base/{ui-bg_flat_0_aaaaaa_40x100.png → admin/default/ui-bg_flat_0_aaaaaa_40x100.png} +0 -0
  69. data/app/assets/images/kirgudu_base/{ui-bg_flat_0_ef4622_40x100.png → admin/default/ui-bg_flat_0_ef4622_40x100.png} +0 -0
  70. data/app/assets/images/kirgudu_base/{ui-bg_glass_65_ffffff_1x400.png → admin/default/ui-bg_glass_65_ffffff_1x400.png} +0 -0
  71. data/app/assets/images/kirgudu_base/{ui-bg_highlight-hard_100_e1e1e1_1x100.png → admin/default/ui-bg_highlight-hard_100_e1e1e1_1x100.png} +0 -0
  72. data/app/assets/images/kirgudu_base/{ui-bg_highlight-hard_100_eeeeee_1x100.png → admin/default/ui-bg_highlight-hard_100_eeeeee_1x100.png} +0 -0
  73. data/app/assets/images/kirgudu_base/{ui-bg_highlight-hard_75_dddddd_1x100.png → admin/default/ui-bg_highlight-hard_75_dddddd_1x100.png} +0 -0
  74. data/app/assets/images/kirgudu_base/{ui-bg_inset-soft_95_fef1ec_1x100.png → admin/default/ui-bg_inset-soft_95_fef1ec_1x100.png} +0 -0
  75. data/app/assets/images/kirgudu_base/{ui-icons_454545_256x240.png → admin/default/ui-icons_454545_256x240.png} +0 -0
  76. data/app/assets/images/kirgudu_base/{ui-icons_525d66_256x240.png → admin/default/ui-icons_525d66_256x240.png} +0 -0
  77. data/app/assets/images/kirgudu_base/{ui-icons_cd0a0a_256x240.png → admin/default/ui-icons_cd0a0a_256x240.png} +0 -0
  78. data/app/assets/images/kirgudu_base/{ui-icons_ffffff_256x240.png → admin/default/ui-icons_ffffff_256x240.png} +0 -0
  79. data/app/assets/images/kirgudu_base/admin/good/404.png +0 -0
  80. data/app/assets/images/kirgudu_base/admin/good/500x600.gif +0 -0
  81. data/app/assets/images/kirgudu_base/admin/good/PhotoShare(1).png +0 -0
  82. data/app/assets/images/kirgudu_base/admin/good/PhotoShare(2).png +0 -0
  83. data/app/assets/images/kirgudu_base/admin/good/PhotoShare(3).png +0 -0
  84. data/app/assets/images/kirgudu_base/admin/good/ajax-loader.gif +0 -0
  85. data/app/assets/images/kirgudu_base/admin/good/arrow.png +0 -0
  86. data/app/assets/images/kirgudu_base/admin/good/asd.png +0 -0
  87. data/app/assets/images/kirgudu_base/admin/good/avatar-1.png +0 -0
  88. data/app/assets/images/kirgudu_base/admin/good/avatar-2.png +0 -0
  89. data/app/assets/images/kirgudu_base/admin/good/avatar-4.png +0 -0
  90. data/app/assets/images/kirgudu_base/admin/good/avatar-8.png +0 -0
  91. data/app/assets/images/kirgudu_base/admin/good/banner.jpg +0 -0
  92. data/app/assets/images/kirgudu_base/admin/good/bg-texture.jpg +0 -0
  93. data/app/assets/images/kirgudu_base/admin/good/bg.jpg +0 -0
  94. data/app/assets/images/kirgudu_base/admin/good/bg1.jpg +0 -0
  95. data/app/assets/images/kirgudu_base/admin/good/blue-btn.jpg +0 -0
  96. data/app/assets/images/kirgudu_base/admin/good/body-bg.jpg +0 -0
  97. data/app/assets/images/kirgudu_base/admin/good/brown-btn.jpg +0 -0
  98. data/app/assets/images/kirgudu_base/admin/good/btn-10.jpg +0 -0
  99. data/app/assets/images/kirgudu_base/admin/good/btn-11.jpg +0 -0
  100. data/app/assets/images/kirgudu_base/admin/good/btn-12.jpg +0 -0
  101. data/app/assets/images/kirgudu_base/admin/good/btn-13.jpg +0 -0
  102. data/app/assets/images/kirgudu_base/admin/good/btn-14.jpg +0 -0
  103. data/app/assets/images/kirgudu_base/admin/good/btn-15.jpg +0 -0
  104. data/app/assets/images/kirgudu_base/admin/good/btn-16.jpg +0 -0
  105. data/app/assets/images/kirgudu_base/admin/good/btn-17.jpg +0 -0
  106. data/app/assets/images/kirgudu_base/admin/good/btn-18.jpg +0 -0
  107. data/app/assets/images/kirgudu_base/admin/good/btn-19.jpg +0 -0
  108. data/app/assets/images/kirgudu_base/admin/good/btn-20.jpg +0 -0
  109. data/app/assets/images/kirgudu_base/admin/good/btn-21.jpg +0 -0
  110. data/app/assets/images/kirgudu_base/admin/good/btn-22.jpg +0 -0
  111. data/app/assets/images/kirgudu_base/admin/good/btn-23.jpg +0 -0
  112. data/app/assets/images/kirgudu_base/admin/good/btn-24.jpg +0 -0
  113. data/app/assets/images/kirgudu_base/admin/good/btn-25.jpg +0 -0
  114. data/app/assets/images/kirgudu_base/admin/good/btn-26.jpg +0 -0
  115. data/app/assets/images/kirgudu_base/admin/good/btn-27.jpg +0 -0
  116. data/app/assets/images/kirgudu_base/admin/good/btn-28.jpg +0 -0
  117. data/app/assets/images/kirgudu_base/admin/good/btn-29.jpg +0 -0
  118. data/app/assets/images/kirgudu_base/admin/good/btn-30.jpg +0 -0
  119. data/app/assets/images/kirgudu_base/admin/good/btn-31.jpg +0 -0
  120. data/app/assets/images/kirgudu_base/admin/good/btn-32.jpg +0 -0
  121. data/app/assets/images/kirgudu_base/admin/good/btn-33.jpg +0 -0
  122. data/app/assets/images/kirgudu_base/admin/good/btn-34.jpg +0 -0
  123. data/app/assets/images/kirgudu_base/admin/good/btn-35.jpg +0 -0
  124. data/app/assets/images/kirgudu_base/admin/good/btn-36.jpg +0 -0
  125. data/app/assets/images/kirgudu_base/admin/good/btn-37.jpg +0 -0
  126. data/app/assets/images/kirgudu_base/admin/good/btn-38.jpg +0 -0
  127. data/app/assets/images/kirgudu_base/admin/good/btn-39.jpg +0 -0
  128. data/app/assets/images/kirgudu_base/admin/good/btn-40.jpg +0 -0
  129. data/app/assets/images/kirgudu_base/admin/good/btn-41.jpg +0 -0
  130. data/app/assets/images/kirgudu_base/admin/good/btn-42.jpg +0 -0
  131. data/app/assets/images/kirgudu_base/admin/good/btn-43.jpg +0 -0
  132. data/app/assets/images/kirgudu_base/admin/good/btn-44.jpg +0 -0
  133. data/app/assets/images/kirgudu_base/admin/good/btn-45.jpg +0 -0
  134. data/app/assets/images/kirgudu_base/admin/good/btn-46.jpg +0 -0
  135. data/app/assets/images/kirgudu_base/admin/good/btn-47.jpg +0 -0
  136. data/app/assets/images/kirgudu_base/admin/good/btn-48.jpg +0 -0
  137. data/app/assets/images/kirgudu_base/admin/good/btn-49.jpg +0 -0
  138. data/app/assets/images/kirgudu_base/admin/good/btn-50.jpg +0 -0
  139. data/app/assets/images/kirgudu_base/admin/good/btn-51.jpg +0 -0
  140. data/app/assets/images/kirgudu_base/admin/good/btn-52.jpg +0 -0
  141. data/app/assets/images/kirgudu_base/admin/good/btn-53.jpg +0 -0
  142. data/app/assets/images/kirgudu_base/admin/good/btn-54.jpg +0 -0
  143. data/app/assets/images/kirgudu_base/admin/good/btn-55.jpg +0 -0
  144. data/app/assets/images/kirgudu_base/admin/good/btn-56.jpg +0 -0
  145. data/app/assets/images/kirgudu_base/admin/good/btn-57.jpg +0 -0
  146. data/app/assets/images/kirgudu_base/admin/good/btn-58.jpg +0 -0
  147. data/app/assets/images/kirgudu_base/admin/good/btn-59.jpg +0 -0
  148. data/app/assets/images/kirgudu_base/admin/good/btn-60.jpg +0 -0
  149. data/app/assets/images/kirgudu_base/admin/good/btn-61.jpg +0 -0
  150. data/app/assets/images/kirgudu_base/admin/good/btn-62.jpg +0 -0
  151. data/app/assets/images/kirgudu_base/admin/good/btn-63.jpg +0 -0
  152. data/app/assets/images/kirgudu_base/admin/good/btn-8.jpg +0 -0
  153. data/app/assets/images/kirgudu_base/admin/good/btn-9.jpg +0 -0
  154. data/app/assets/images/kirgudu_base/admin/good/cal.gif +0 -0
  155. data/app/assets/images/kirgudu_base/admin/good/chat-user1.jpg +0 -0
  156. data/app/assets/images/kirgudu_base/admin/good/chrome-icon.png +0 -0
  157. data/app/assets/images/kirgudu_base/admin/good/clockface.gif +0 -0
  158. data/app/assets/images/kirgudu_base/admin/good/clockface.png +0 -0
  159. data/app/assets/images/kirgudu_base/admin/good/cyan-btn.jpg +0 -0
  160. data/app/assets/images/kirgudu_base/admin/good/dark-theme-thumb.jpg +0 -0
  161. data/app/assets/images/kirgudu_base/admin/good/dark_leather.png +0 -0
  162. data/app/assets/images/kirgudu_base/admin/good/darkdenim3.png +0 -0
  163. data/app/assets/images/kirgudu_base/admin/good/email-thumb.png +0 -0
  164. data/app/assets/images/kirgudu_base/admin/good/error.gif +0 -0
  165. data/app/assets/images/kirgudu_base/admin/good/fb.jpg +0 -0
  166. data/app/assets/images/kirgudu_base/admin/good/firefox-icon.png +0 -0
  167. data/app/assets/images/kirgudu_base/admin/good/globe.png +0 -0
  168. data/app/assets/images/kirgudu_base/admin/good/gray-btn.jpg +0 -0
  169. data/app/assets/images/kirgudu_base/admin/good/gray-gradient.jpg +0 -0
  170. data/app/assets/images/kirgudu_base/admin/good/green-btn.jpg +0 -0
  171. data/app/assets/images/kirgudu_base/admin/good/group.png +0 -0
  172. data/app/assets/images/kirgudu_base/admin/good/header-bg.jpg +0 -0
  173. data/app/assets/images/kirgudu_base/admin/good/hosting pic.png +0 -0
  174. data/app/assets/images/kirgudu_base/admin/good/hourhand.png +0 -0
  175. data/app/assets/images/kirgudu_base/admin/good/ie-icon.png +0 -0
  176. data/app/assets/images/kirgudu_base/admin/good/img/arrows-active.png +0 -0
  177. data/app/assets/images/kirgudu_base/admin/good/img/arrows-normal.png +0 -0
  178. data/app/assets/images/kirgudu_base/admin/good/img/crop.gif +0 -0
  179. data/app/assets/images/kirgudu_base/admin/good/img/dialogs.png +0 -0
  180. data/app/assets/images/kirgudu_base/admin/good/img/icons-big.png +0 -0
  181. data/app/assets/images/kirgudu_base/admin/good/img/icons-small.png +0 -0
  182. data/app/assets/images/kirgudu_base/admin/good/img/logo.png +0 -0
  183. data/app/assets/images/kirgudu_base/admin/good/img/progress.gif +0 -0
  184. data/app/assets/images/kirgudu_base/admin/good/img/quicklook-bg.png +0 -0
  185. data/app/assets/images/kirgudu_base/admin/good/img/quicklook-icons.png +0 -0
  186. data/app/assets/images/kirgudu_base/admin/good/img/resize.png +0 -0
  187. data/app/assets/images/kirgudu_base/admin/good/img/spinner-mini.gif +0 -0
  188. data/app/assets/images/kirgudu_base/admin/good/img/toolbar.png +0 -0
  189. data/app/assets/images/kirgudu_base/admin/good/light-theme-thumb.jpg +0 -0
  190. data/app/assets/images/kirgudu_base/admin/good/loader.gif +0 -0
  191. data/app/assets/images/kirgudu_base/admin/good/logo.png +0 -0
  192. data/app/assets/images/kirgudu_base/admin/good/logo2.png +0 -0
  193. data/app/assets/images/kirgudu_base/admin/good/loud.png +0 -0
  194. data/app/assets/images/kirgudu_base/admin/good/minhand.png +0 -0
  195. data/app/assets/images/kirgudu_base/admin/good/next_mon.gif +0 -0
  196. data/app/assets/images/kirgudu_base/admin/good/next_year.gif +0 -0
  197. data/app/assets/images/kirgudu_base/admin/good/no_cal.gif +0 -0
  198. data/app/assets/images/kirgudu_base/admin/good/opera-icon.png +0 -0
  199. data/app/assets/images/kirgudu_base/admin/good/pattern.jpg +0 -0
  200. data/app/assets/images/kirgudu_base/admin/good/pattern1.jpg +0 -0
  201. data/app/assets/images/kirgudu_base/admin/good/pattern1.png +0 -0
  202. data/app/assets/images/kirgudu_base/admin/good/pattern10.jpg +0 -0
  203. data/app/assets/images/kirgudu_base/admin/good/pattern11.png +0 -0
  204. data/app/assets/images/kirgudu_base/admin/good/pattern12.jpg +0 -0
  205. data/app/assets/images/kirgudu_base/admin/good/pattern13.jpg +0 -0
  206. data/app/assets/images/kirgudu_base/admin/good/pattern14.png +0 -0
  207. data/app/assets/images/kirgudu_base/admin/good/pattern15.jpg +0 -0
  208. data/app/assets/images/kirgudu_base/admin/good/pattern16.png +0 -0
  209. data/app/assets/images/kirgudu_base/admin/good/pattern17.png +0 -0
  210. data/app/assets/images/kirgudu_base/admin/good/pattern18.gif +0 -0
  211. data/app/assets/images/kirgudu_base/admin/good/pattern19.jpg +0 -0
  212. data/app/assets/images/kirgudu_base/admin/good/pattern2.jpg +0 -0
  213. data/app/assets/images/kirgudu_base/admin/good/pattern20.jpg +0 -0
  214. data/app/assets/images/kirgudu_base/admin/good/pattern21.jpg +0 -0
  215. data/app/assets/images/kirgudu_base/admin/good/pattern22.jpg +0 -0
  216. data/app/assets/images/kirgudu_base/admin/good/pattern23.jpg +0 -0
  217. data/app/assets/images/kirgudu_base/admin/good/pattern24.jpg +0 -0
  218. data/app/assets/images/kirgudu_base/admin/good/pattern25.jpg +0 -0
  219. data/app/assets/images/kirgudu_base/admin/good/pattern26.jpg +0 -0
  220. data/app/assets/images/kirgudu_base/admin/good/pattern27.jpg +0 -0
  221. data/app/assets/images/kirgudu_base/admin/good/pattern28.gif +0 -0
  222. data/app/assets/images/kirgudu_base/admin/good/pattern29.gif +0 -0
  223. data/app/assets/images/kirgudu_base/admin/good/pattern3.jpg +0 -0
  224. data/app/assets/images/kirgudu_base/admin/good/pattern30.jpg +0 -0
  225. data/app/assets/images/kirgudu_base/admin/good/pattern31.png +0 -0
  226. data/app/assets/images/kirgudu_base/admin/good/pattern32.png +0 -0
  227. data/app/assets/images/kirgudu_base/admin/good/pattern33.jpg +0 -0
  228. data/app/assets/images/kirgudu_base/admin/good/pattern34.png +0 -0
  229. data/app/assets/images/kirgudu_base/admin/good/pattern4.jpg +0 -0
  230. data/app/assets/images/kirgudu_base/admin/good/pattern5.jpg +0 -0
  231. data/app/assets/images/kirgudu_base/admin/good/pattern6.jpg +0 -0
  232. data/app/assets/images/kirgudu_base/admin/good/pattern7.jpg +0 -0
  233. data/app/assets/images/kirgudu_base/admin/good/pattern8.jpg +0 -0
  234. data/app/assets/images/kirgudu_base/admin/good/pattern9.jpg +0 -0
  235. data/app/assets/images/kirgudu_base/admin/good/pattern9.png +0 -0
  236. data/app/assets/images/kirgudu_base/admin/good/photo-profile.jpg +0 -0
  237. data/app/assets/images/kirgudu_base/admin/good/prev_mon.gif +0 -0
  238. data/app/assets/images/kirgudu_base/admin/good/prev_year.gif +0 -0
  239. data/app/assets/images/kirgudu_base/admin/good/price-gray.jpg +0 -0
  240. data/app/assets/images/kirgudu_base/admin/good/price-red.jpg +0 -0
  241. data/app/assets/images/kirgudu_base/admin/good/product1.jpg +0 -0
  242. data/app/assets/images/kirgudu_base/admin/good/product2.jpg +0 -0
  243. data/app/assets/images/kirgudu_base/admin/good/product3.jpg +0 -0
  244. data/app/assets/images/kirgudu_base/admin/good/product4.jpg +0 -0
  245. data/app/assets/images/kirgudu_base/admin/good/product5.jpg +0 -0
  246. data/app/assets/images/kirgudu_base/admin/good/purple-btn.jpg +0 -0
  247. data/app/assets/images/kirgudu_base/admin/good/red-btn.jpg +0 -0
  248. data/app/assets/images/kirgudu_base/admin/good/rocket.png +0 -0
  249. data/app/assets/images/kirgudu_base/admin/good/rss.jpg +0 -0
  250. data/app/assets/images/kirgudu_base/admin/good/safari-icon.png +0 -0
  251. data/app/assets/images/kirgudu_base/admin/good/screen1.png +0 -0
  252. data/app/assets/images/kirgudu_base/admin/good/screen2.png +0 -0
  253. data/app/assets/images/kirgudu_base/admin/good/screen3.png +0 -0
  254. data/app/assets/images/kirgudu_base/admin/good/screen4.png +0 -0
  255. data/app/assets/images/kirgudu_base/admin/good/screen5.png +0 -0
  256. data/app/assets/images/kirgudu_base/admin/good/search-bg.png +0 -0
  257. data/app/assets/images/kirgudu_base/admin/good/search-icon.png +0 -0
  258. data/app/assets/images/kirgudu_base/admin/good/sechand.png +0 -0
  259. data/app/assets/images/kirgudu_base/admin/good/section-pattern-bg.jpg +0 -0
  260. data/app/assets/images/kirgudu_base/admin/good/signup1.jpg +0 -0
  261. data/app/assets/images/kirgudu_base/admin/good/signup2.jpg +0 -0
  262. data/app/assets/images/kirgudu_base/admin/good/slider-img-1.jpg +0 -0
  263. data/app/assets/images/kirgudu_base/admin/good/slider-img-2.jpg +0 -0
  264. data/app/assets/images/kirgudu_base/admin/good/slider-img-3.jpg +0 -0
  265. data/app/assets/images/kirgudu_base/admin/good/sprite-skin-flat.png +0 -0
  266. data/app/assets/images/kirgudu_base/admin/good/sprite-skin-nice.png +0 -0
  267. data/app/assets/images/kirgudu_base/admin/good/sprite-skin-simple.png +0 -0
  268. data/app/assets/images/kirgudu_base/admin/good/success.gif +0 -0
  269. data/app/assets/images/kirgudu_base/admin/good/tag-arrow.png +0 -0
  270. data/app/assets/images/kirgudu_base/admin/good/tag-arrow2.png +0 -0
  271. data/app/assets/images/kirgudu_base/admin/good/thumb.png +0 -0
  272. data/app/assets/images/kirgudu_base/admin/good/thumb1.jpg +0 -0
  273. data/app/assets/images/kirgudu_base/admin/good/thumb2.jpg +0 -0
  274. data/app/assets/images/kirgudu_base/admin/good/thumb3.jpg +0 -0
  275. data/app/assets/images/kirgudu_base/admin/good/thumb4.jpg +0 -0
  276. data/app/assets/images/kirgudu_base/admin/good/toggle.png +0 -0
  277. data/app/assets/images/kirgudu_base/admin/good/triangles.png +0 -0
  278. data/app/assets/images/kirgudu_base/admin/good/twitter.jpg +0 -0
  279. data/app/assets/images/kirgudu_base/admin/good/typing-loading.gif +0 -0
  280. data/app/assets/images/kirgudu_base/admin/good/usd.png +0 -0
  281. data/app/assets/images/kirgudu_base/admin/good/user (2).jpg +0 -0
  282. data/app/assets/images/kirgudu_base/admin/good/user-log-in.png +0 -0
  283. data/app/assets/images/kirgudu_base/admin/good/user.jpg +0 -0
  284. data/app/assets/images/kirgudu_base/admin/good/user.png +0 -0
  285. data/app/assets/images/kirgudu_base/admin/good/user2.jpg +0 -0
  286. data/app/assets/images/kirgudu_base/admin/good/user3.jpg +0 -0
  287. data/app/assets/images/kirgudu_base/admin/good/user4.jpg +0 -0
  288. data/app/assets/images/kirgudu_base/admin/good/world-map.png +0 -0
  289. data/app/assets/images/kirgudu_base/chosen-sprite.png +0 -0
  290. data/app/assets/images/kirgudu_base/jquery-file-upload/error.png +0 -0
  291. data/app/assets/images/kirgudu_base/jquery-file-upload/loading.gif +0 -0
  292. data/app/assets/images/kirgudu_base/jquery-file-upload/play-pause.png +0 -0
  293. data/app/assets/images/kirgudu_base/jquery-file-upload/progressbar.gif +0 -0
  294. data/app/assets/images/kirgudu_base/jquery-file-upload/video-play.png +0 -0
  295. data/app/assets/images/kirgudu_base/web/banner.jpg +0 -0
  296. data/app/assets/images/kirgudu_base/web/black.png +0 -0
  297. data/app/assets/images/kirgudu_base/web/body.png +0 -0
  298. data/app/assets/images/kirgudu_base/web/col_img1.jpg +0 -0
  299. data/app/assets/images/kirgudu_base/web/col_img2.jpg +0 -0
  300. data/app/assets/images/kirgudu_base/web/coll_campaign.png +0 -0
  301. data/app/assets/images/kirgudu_base/web/coll_list_head.png +0 -0
  302. data/app/assets/images/kirgudu_base/web/coll_new.png +0 -0
  303. data/app/assets/images/kirgudu_base/web/coll_no_img.png +0 -0
  304. data/app/assets/images/kirgudu_base/web/coll_podr.png +0 -0
  305. data/app/assets/images/kirgudu_base/web/factory.jpg +0 -0
  306. data/app/assets/images/kirgudu_base/web/fancybox/blank.gif +0 -0
  307. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_buttons.png +0 -0
  308. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_loading.gif +0 -0
  309. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_overlay.png +0 -0
  310. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_sprite.png +0 -0
  311. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_sprite1.png +0 -0
  312. data/app/assets/images/kirgudu_base/web/flag1.jpg +0 -0
  313. data/app/assets/images/kirgudu_base/web/flag2.jpg +0 -0
  314. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.css +8 -0
  315. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.eot +0 -0
  316. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.svg +7555 -0
  317. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.ttf +0 -0
  318. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.woff +0 -0
  319. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadprocond.eot +0 -0
  320. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.css +8 -0
  321. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.eot +0 -0
  322. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.svg +7887 -0
  323. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.ttf +0 -0
  324. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.woff +0 -0
  325. data/app/assets/images/kirgudu_base/web/green.png +0 -0
  326. data/app/assets/images/kirgudu_base/web/grey.png +0 -0
  327. data/app/assets/images/kirgudu_base/web/header_black.png +0 -0
  328. data/app/assets/images/kirgudu_base/web/kolonna.png +0 -0
  329. data/app/assets/images/kirgudu_base/web/li_1.png +0 -0
  330. data/app/assets/images/kirgudu_base/web/li_2.png +0 -0
  331. data/app/assets/images/kirgudu_base/web/li_3.png +0 -0
  332. data/app/assets/images/kirgudu_base/web/li_4.png +0 -0
  333. data/app/assets/images/kirgudu_base/web/li_5.png +0 -0
  334. data/app/assets/images/kirgudu_base/web/logo.png +0 -0
  335. data/app/assets/images/kirgudu_base/web/map.png +0 -0
  336. data/app/assets/images/kirgudu_base/web/map_2.png +0 -0
  337. data/app/assets/images/kirgudu_base/web/nav_active.png +0 -0
  338. data/app/assets/images/kirgudu_base/web/nognicy.png +0 -0
  339. data/app/assets/images/kirgudu_base/web/orange.png +0 -0
  340. data/app/assets/images/kirgudu_base/web/pagination.png +0 -0
  341. data/app/assets/images/kirgudu_base/web/pdf.png +0 -0
  342. data/app/assets/images/kirgudu_base/web/plit_1.jpg +0 -0
  343. data/app/assets/images/kirgudu_base/web/plit_2.jpg +0 -0
  344. data/app/assets/images/kirgudu_base/web/plit_3.jpg +0 -0
  345. data/app/assets/images/kirgudu_base/web/plit_4.jpg +0 -0
  346. data/app/assets/images/kirgudu_base/web/post_img.jpg +0 -0
  347. data/app/assets/images/kirgudu_base/web/red_line.png +0 -0
  348. data/app/assets/images/kirgudu_base/web/shadow_bottom.png +0 -0
  349. data/app/assets/images/kirgudu_base/web/shadow_top.png +0 -0
  350. data/app/assets/images/kirgudu_base/web/show-room.php +71 -0
  351. data/app/assets/images/kirgudu_base/web/slider.png +0 -0
  352. data/app/assets/images/kirgudu_base/web/slider_bg.png +0 -0
  353. data/app/assets/images/kirgudu_base/web/slider_but.png +0 -0
  354. data/app/assets/images/kirgudu_base/web/sprite_index.png +0 -0
  355. data/app/assets/images/kirgudu_base/web/sprite_vert.png +0 -0
  356. data/app/assets/images/kirgudu_base/web/top_nav.png +0 -0
  357. data/app/assets/images/kirgudu_base/web/transperent_bg.png +0 -0
  358. data/app/assets/images/kirgudu_base/web/transperent_bg1.png +0 -0
  359. data/app/assets/images/kirgudu_base/web/up_down.png +0 -0
  360. data/app/assets/images/kirgudu_base/web/yellow.png +0 -0
  361. data/app/assets/javascripts/kirgudu_base/avgrund.js +0 -0
  362. data/app/assets/javascripts/kirgudu_base/bootstrap-3.0.0.js +1999 -0
  363. data/app/assets/javascripts/kirgudu_base/bootstrap-alert.js +0 -0
  364. data/app/assets/javascripts/kirgudu_base/bootstrap-button.js +6 -6
  365. data/app/assets/javascripts/kirgudu_base/bootstrap-carousel.js +0 -0
  366. data/app/assets/javascripts/kirgudu_base/bootstrap-collapse.js +0 -0
  367. data/app/assets/javascripts/kirgudu_base/bootstrap-colorpicker.js +0 -0
  368. data/app/assets/javascripts/kirgudu_base/bootstrap-datepicker.js +0 -0
  369. data/app/assets/javascripts/kirgudu_base/bootstrap-dropdown.js +0 -0
  370. data/app/assets/javascripts/kirgudu_base/bootstrap-modal.js +0 -0
  371. data/app/assets/javascripts/kirgudu_base/bootstrap-popover.js +0 -0
  372. data/app/assets/javascripts/kirgudu_base/bootstrap-scrollspy.js +0 -0
  373. data/app/assets/javascripts/kirgudu_base/bootstrap-tab.js +0 -0
  374. data/app/assets/javascripts/kirgudu_base/bootstrap-tooltip.js +0 -0
  375. data/app/assets/javascripts/kirgudu_base/bootstrap-transition.js +0 -0
  376. data/app/assets/javascripts/kirgudu_base/bootstrap-typeahead.js +0 -0
  377. data/app/assets/javascripts/kirgudu_base/bootstrap-wysihtml5.js +0 -0
  378. data/app/assets/javascripts/kirgudu_base/character-limit.js +0 -0
  379. data/app/assets/javascripts/kirgudu_base/chart-line-and-graph.js +112 -0
  380. data/app/assets/javascripts/kirgudu_base/clock.js +42 -0
  381. data/app/assets/javascripts/kirgudu_base/d3.v2.js +7026 -0
  382. data/app/assets/javascripts/kirgudu_base/date-picker-unused.js +539 -0
  383. data/app/assets/javascripts/kirgudu_base/dynamicEvents.js +354 -0
  384. data/app/assets/javascripts/kirgudu_base/elfinder.min.js +25 -0
  385. data/app/assets/javascripts/kirgudu_base/excanvas.compiled.js +0 -0
  386. data/app/assets/javascripts/kirgudu_base/fileinput.jquery.js +0 -0
  387. data/app/assets/javascripts/kirgudu_base/flot-chart-header.js +1 -0
  388. data/app/assets/javascripts/kirgudu_base/flot-jquery-header.js +36 -0
  389. data/app/assets/javascripts/kirgudu_base/fullcalendar.js +0 -0
  390. data/app/assets/javascripts/kirgudu_base/fullcalendar.min.js +7 -0
  391. data/app/assets/javascripts/kirgudu_base/gmap3.min.js +0 -0
  392. data/app/assets/javascripts/kirgudu_base/header-line-chart.js +138 -0
  393. data/app/assets/javascripts/kirgudu_base/html5lightbox.js +58 -0
  394. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.LANG.js +348 -0
  395. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.ar.js +290 -0
  396. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.bg.js +310 -0
  397. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.ca.js +310 -0
  398. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.cs.js +285 -0
  399. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.de.js +280 -0
  400. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.es.js +291 -0
  401. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.fr.js +298 -0
  402. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.hu.js +280 -0
  403. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.jp.js +316 -0
  404. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.nl.js +342 -0
  405. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.no.js +280 -0
  406. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.pl.js +309 -0
  407. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.pt_BR.js +280 -0
  408. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.ru.js +344 -0
  409. data/app/assets/javascripts/kirgudu_base/i18n/elfinder.zh_CN.js +280 -0
  410. data/app/assets/javascripts/kirgudu_base/intro.js +733 -0
  411. data/app/assets/javascripts/kirgudu_base/ion.rangeSlider.min.js +22 -0
  412. data/app/assets/javascripts/kirgudu_base/jnavigate.jquery.min.js +0 -0
  413. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/bootstrap-3.0.3.min.js +7 -0
  414. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/canvas-to-blob.min.js +1 -0
  415. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/javascript-templates.min.js +1 -0
  416. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.blueimp-gallery.min.js +1 -0
  417. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-angular.js +429 -0
  418. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-audio.js +106 -0
  419. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-image.js +309 -0
  420. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-jquery-ui.js +152 -0
  421. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-process.js +172 -0
  422. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-ui.js +699 -0
  423. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-validate.js +119 -0
  424. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload-video.js +106 -0
  425. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.fileupload.js +1426 -0
  426. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.iframe-transport.js +214 -0
  427. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.postmessage-transport.js +117 -0
  428. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.ui.widget.js +530 -0
  429. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/jquery.xdr-transport.js +86 -0
  430. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/load-image.min.js +1 -0
  431. data/app/assets/javascripts/kirgudu_base/jquery-file-upload/main.js +75 -0
  432. data/app/assets/javascripts/kirgudu_base/jquery-ui.js +15040 -0
  433. data/app/assets/javascripts/kirgudu_base/jquery.autocompleteWithId.js +286 -0
  434. data/app/assets/javascripts/kirgudu_base/jquery.bookblock.js +0 -0
  435. data/app/assets/javascripts/kirgudu_base/jquery.colorbox.js +1086 -0
  436. data/app/assets/javascripts/kirgudu_base/jquery.dataTables.js +0 -0
  437. data/app/assets/javascripts/kirgudu_base/jquery.easing.min.js +44 -0
  438. data/app/assets/javascripts/kirgudu_base/jquery.easypiechart.min.js +187 -0
  439. data/app/assets/javascripts/kirgudu_base/jquery.fancybox-buttons.js +4 -3
  440. data/app/assets/javascripts/kirgudu_base/jquery.fancybox-media.js +14 -11
  441. data/app/assets/javascripts/kirgudu_base/jquery.fancybox.js +84 -49
  442. data/app/assets/javascripts/kirgudu_base/jquery.fancybox.pack.js +45 -0
  443. data/app/assets/javascripts/kirgudu_base/jquery.flot.crosshair.js +0 -0
  444. data/app/assets/javascripts/kirgudu_base/jquery.flot.js +0 -0
  445. data/app/assets/javascripts/kirgudu_base/jquery.flot.min.js +6 -0
  446. data/app/assets/javascripts/kirgudu_base/jquery.flot.pie.js +0 -0
  447. data/app/assets/javascripts/kirgudu_base/jquery.flot.resize.js +0 -0
  448. data/app/assets/javascripts/kirgudu_base/jquery.flot.spider.js +0 -0
  449. data/app/assets/javascripts/kirgudu_base/jquery.flot.stack.js +0 -0
  450. data/app/assets/javascripts/kirgudu_base/jquery.jigowatt.js +38 -0
  451. data/app/assets/javascripts/kirgudu_base/jquery.js +8829 -2
  452. data/app/assets/javascripts/kirgudu_base/jquery.json.min.js +23 -0
  453. data/app/assets/javascripts/kirgudu_base/jquery.mCustomScrollbar.concat.min.js +4 -0
  454. data/app/assets/javascripts/kirgudu_base/jquery.maskedinput-1.3.js +0 -0
  455. data/app/assets/javascripts/kirgudu_base/jquery.mousewheel-3.0.6.pack.js +13 -0
  456. data/app/assets/javascripts/kirgudu_base/jquery.nicescroll.min.js +111 -0
  457. data/app/assets/javascripts/kirgudu_base/jquery.nivo.slider.pack.js +10 -0
  458. data/app/assets/javascripts/kirgudu_base/jquery.peity.min.js +0 -0
  459. data/app/assets/javascripts/kirgudu_base/jquery.simplePagination-Unused.js +268 -0
  460. data/app/assets/javascripts/kirgudu_base/jquery.simplemodal-1.4.4.js +0 -0
  461. data/app/assets/javascripts/kirgudu_base/jquery.smartWizard.js +480 -0
  462. data/app/assets/javascripts/kirgudu_base/jquery.sparkline.min.js +5 -5
  463. data/app/assets/javascripts/kirgudu_base/jquery.switchButton.js +306 -0
  464. data/app/assets/javascripts/kirgudu_base/jquery.tagsinput.js +1 -1
  465. data/app/assets/javascripts/kirgudu_base/jquery.tools.min.js +0 -0
  466. data/app/assets/javascripts/kirgudu_base/jquery.touchdown.js +0 -0
  467. data/app/assets/javascripts/kirgudu_base/jquery.uniform.min.js +0 -0
  468. data/app/assets/javascripts/kirgudu_base/jquery.uploadify.js +986 -0
  469. data/app/assets/javascripts/kirgudu_base/jquery.validate.min.js +0 -0
  470. data/app/assets/javascripts/kirgudu_base/jquerypp.custom.js +0 -0
  471. data/app/assets/javascripts/kirgudu_base/justgage.1.0.1.min.js +0 -0
  472. data/app/assets/javascripts/kirgudu_base/live-chart-custom.js +285 -0
  473. data/app/assets/javascripts/kirgudu_base/live-chart-custom2.js +285 -0
  474. data/app/assets/javascripts/kirgudu_base/live-updating.js +71 -0
  475. data/app/assets/javascripts/kirgudu_base/main.js +166 -145
  476. data/app/assets/javascripts/kirgudu_base/modernizr.custom.32549.js +0 -0
  477. data/app/assets/javascripts/kirgudu_base/movie_data.js +2347 -0
  478. data/app/assets/javascripts/kirgudu_base/nav.js +1 -0
  479. data/app/assets/javascripts/kirgudu_base/raphael.2.1.0.min.js +0 -0
  480. data/app/assets/javascripts/kirgudu_base/rickshaw.js +3387 -0
  481. data/app/assets/javascripts/kirgudu_base/script.js +657 -0
  482. data/app/assets/javascripts/kirgudu_base/scripts.js +1 -3
  483. data/app/assets/javascripts/kirgudu_base/scripts_nrg.js +1387 -0
  484. data/app/assets/javascripts/kirgudu_base/side-navigation-tag.js +41 -0
  485. data/app/assets/javascripts/kirgudu_base/stream.js +55 -0
  486. data/app/assets/javascripts/kirgudu_base/stream_table.js +519 -0
  487. data/app/assets/javascripts/kirgudu_base/streaming-mustache.js +610 -0
  488. data/app/assets/javascripts/kirgudu_base/swfobject.js +0 -0
  489. data/app/assets/javascripts/kirgudu_base/tcal.js +349 -0
  490. data/app/assets/javascripts/kirgudu_base/textarea-autogrow.js +0 -0
  491. data/app/assets/javascripts/kirgudu_base/tiny_mce.js +0 -0
  492. data/app/assets/javascripts/kirgudu_base/uploadify.swf +0 -0
  493. data/app/assets/javascripts/kirgudu_base/wysihtml5-0.3.0.min.js +0 -0
  494. data/app/assets/stylesheets/kirgudu_base/{chosen.css → admin/default/chosen.css} +0 -0
  495. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.eot +0 -0
  496. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.svg +255 -0
  497. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.ttf +0 -0
  498. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.woff +0 -0
  499. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont_2d2816fe.eot +0 -0
  500. data/app/assets/stylesheets/kirgudu_base/{fullcalendar.css → admin/default/fullcalendar.css} +0 -0
  501. data/app/assets/stylesheets/kirgudu_base/{info-message.css → admin/default/info-message.css} +0 -0
  502. data/app/assets/stylesheets/kirgudu_base/{jquery-ui-1.8.23.custom.css → admin/default/jquery-ui-1.8.23.custom.css} +17 -17
  503. data/app/assets/stylesheets/kirgudu_base/{jquery.fancybox-buttons.css → admin/default/jquery.fancybox-buttons.css} +0 -0
  504. data/app/assets/stylesheets/kirgudu_base/{jquery.fancybox-thumbs.css → admin/default/jquery.fancybox-thumbs.css} +0 -0
  505. data/app/assets/stylesheets/kirgudu_base/{jquery.fancybox.css → admin/default/jquery.fancybox.css} +0 -0
  506. data/app/assets/stylesheets/kirgudu_base/{jquery.tagsinput.css → admin/default/jquery.tagsinput.css} +0 -0
  507. data/app/assets/stylesheets/kirgudu_base/admin/default/original.css +11274 -0
  508. data/app/assets/stylesheets/kirgudu_base/{popbox.css → admin/default/popbox.css} +0 -0
  509. data/app/assets/stylesheets/kirgudu_base/{responsive.css → admin/default/responsive.css} +1 -1
  510. data/app/assets/stylesheets/kirgudu_base/admin/default/twitter/bootstrap.css +5671 -0
  511. data/app/assets/stylesheets/kirgudu_base/{uploadify.css → admin/default/uploadify.css} +0 -0
  512. data/app/assets/stylesheets/kirgudu_base/admin/good/bootstrap.css +6815 -0
  513. data/app/assets/stylesheets/kirgudu_base/admin/good/chosen.css +397 -0
  514. data/app/assets/stylesheets/kirgudu_base/admin/good/elfinder-theme.css +49 -0
  515. data/app/assets/stylesheets/kirgudu_base/admin/good/elfinder.min.css +1913 -0
  516. data/app/assets/stylesheets/kirgudu_base/admin/good/font-awesome-ie7.css +1203 -0
  517. data/app/assets/stylesheets/kirgudu_base/admin/good/font-awesome-ie7.min.css +384 -0
  518. data/app/assets/stylesheets/kirgudu_base/admin/good/font-awesome.css +1895 -0
  519. data/app/assets/stylesheets/kirgudu_base/admin/good/font-awesome.min.css +403 -0
  520. data/app/assets/stylesheets/kirgudu_base/admin/good/fonts/FontAwesome.otf +0 -0
  521. data/app/assets/stylesheets/kirgudu_base/admin/good/fonts/fontawesome-webfont.eot +0 -0
  522. data/app/assets/stylesheets/kirgudu_base/admin/good/fonts/fontawesome-webfont.svg +399 -0
  523. data/app/assets/stylesheets/kirgudu_base/admin/good/fonts/fontawesome-webfont.ttf +0 -0
  524. data/app/assets/stylesheets/kirgudu_base/admin/good/fonts/fontawesome-webfont.woff +0 -0
  525. data/app/assets/stylesheets/kirgudu_base/admin/good/fullcalendar.css +610 -0
  526. data/app/assets/stylesheets/kirgudu_base/admin/good/fullcalendar.print.css +32 -0
  527. data/app/assets/stylesheets/kirgudu_base/admin/good/ion.rangeSlider.css +114 -0
  528. data/app/assets/stylesheets/kirgudu_base/admin/good/ion.rangeSlider.skinFlat.css +119 -0
  529. data/app/assets/stylesheets/kirgudu_base/admin/good/ion.rangeSlider.skinNice.css +82 -0
  530. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/blueimp-gallery.min.css +361 -0
  531. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/bootstrap.min.css +6569 -0
  532. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/demo-ie8.css +21 -0
  533. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/demo.css +67 -0
  534. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/fonts/glyphicons-halflings-regular.eot +0 -0
  535. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/fonts/glyphicons-halflings-regular.svg +229 -0
  536. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/fonts/glyphicons-halflings-regular.ttf +0 -0
  537. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/fonts/glyphicons-halflings-regular.woff +0 -0
  538. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/jquery.fileupload-noscript.css +22 -0
  539. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/jquery.fileupload-ui-noscript.css +17 -0
  540. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/jquery.fileupload-ui.css +57 -0
  541. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/jquery.fileupload.css +36 -0
  542. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-file-upload/style.css +15 -0
  543. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery-ui.css +1564 -0
  544. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery.fancybox-buttons.css +96 -0
  545. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery.fancybox-thumbs.css +54 -0
  546. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery.fancybox.css +249 -0
  547. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery.mCustomScrollbar.css +468 -0
  548. data/app/assets/stylesheets/kirgudu_base/admin/good/jquery.switchButton.css +44 -0
  549. data/app/assets/stylesheets/kirgudu_base/admin/good/mCSB_buttons.png +0 -0
  550. data/app/assets/stylesheets/kirgudu_base/admin/good/purple.css +142 -0
  551. data/app/assets/stylesheets/kirgudu_base/admin/good/range-slider.normalize.min.css +50 -0
  552. data/app/assets/stylesheets/kirgudu_base/admin/good/responsive.css +500 -0
  553. data/app/assets/stylesheets/kirgudu_base/admin/good/style.css +9427 -0
  554. data/app/assets/stylesheets/kirgudu_base/admin/good/uploadify.css +92 -0
  555. data/app/controllers/kirgudu_base/admin_controller.rb +44 -46
  556. data/app/controllers/kirgudu_base/application_controller.rb +296 -143
  557. data/app/controllers/kirgudu_base/authentications_controller.rb +157 -0
  558. data/app/controllers/kirgudu_base/cabinet_controller.rb +3 -9
  559. data/app/controllers/kirgudu_base/facade_controller.rb +1 -34
  560. data/app/helpers/kirgudu_base/application_helper.rb +441 -453
  561. data/app/helpers/kirgudu_base/common_helper.rb +54 -0
  562. data/app/helpers/kirgudu_base/controllers/basic_actions.rb +333 -504
  563. data/app/helpers/kirgudu_base/controllers/basic_actions_with_parent.rb +464 -0
  564. data/app/helpers/kirgudu_base/controllers/basic_actions_with_subordinates.rb +67 -0
  565. data/app/helpers/kirgudu_base/controllers/dynamic_pages.rb +49 -19
  566. data/app/helpers/kirgudu_base/controllers/dynamic_transactions.rb +17 -0
  567. data/app/helpers/kirgudu_base/controllers/obligatory_filters.rb +9 -19
  568. data/app/helpers/kirgudu_base/form_builder.rb +400 -342
  569. data/app/helpers/kirgudu_base/gui_helper.rb +346 -144
  570. data/app/helpers/kirgudu_base/models/basic_properties.rb +144 -0
  571. data/app/helpers/kirgudu_base/models/cloneable_elements.rb +41 -0
  572. data/app/helpers/kirgudu_base/models/fixable_elements.rb +52 -0
  573. data/app/helpers/kirgudu_base/models/mergeable_elements.rb +89 -0
  574. data/app/helpers/kirgudu_base/models/scopes.rb +9 -7
  575. data/app/models/kirgudu_base/base_model.rb +57 -146
  576. data/app/models/kirgudu_base/common.rb +7 -0
  577. data/app/models/kirgudu_base/common/portal.rb +49 -0
  578. data/app/models/kirgudu_base/common/portal_user.rb +58 -0
  579. data/app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb +24 -0
  580. data/app/models/kirgudu_base/dynamic_filters/obligatory_filter_builder.rb +47 -0
  581. data/app/models/kirgudu_base/dynamic_pages/builder.rb +81 -0
  582. data/app/models/kirgudu_base/dynamic_pages/controller_link.rb +37 -0
  583. data/app/models/kirgudu_base/dynamic_pages/controller_link_builder.rb +44 -0
  584. data/app/models/kirgudu_base/dynamic_pages/controller_link_id.rb +35 -0
  585. data/app/models/kirgudu_base/dynamic_pages/controller_link_id_builder.rb +38 -0
  586. data/app/models/kirgudu_base/dynamic_pages/data_source.rb +47 -97
  587. data/app/models/kirgudu_base/dynamic_pages/data_source_builder.rb +63 -65
  588. data/app/models/kirgudu_base/dynamic_pages/element.rb +57 -0
  589. data/app/models/kirgudu_base/dynamic_pages/entry.rb +38 -0
  590. data/app/models/kirgudu_base/dynamic_pages/entry_builder.rb +48 -0
  591. data/app/models/kirgudu_base/dynamic_pages/entry_properties_block_builder.rb +22 -0
  592. data/app/models/kirgudu_base/dynamic_pages/entry_property.rb +35 -0
  593. data/app/models/kirgudu_base/dynamic_pages/entry_property_builder.rb +44 -0
  594. data/app/models/kirgudu_base/dynamic_pages/enums.rb +73 -0
  595. data/app/models/kirgudu_base/dynamic_pages/event.rb +31 -0
  596. data/app/models/kirgudu_base/dynamic_pages/event_action.rb +55 -0
  597. data/app/models/kirgudu_base/dynamic_pages/event_action_builder.rb +55 -0
  598. data/app/models/kirgudu_base/dynamic_pages/event_action_constraint.rb +32 -0
  599. data/app/models/kirgudu_base/dynamic_pages/event_action_constraint_builder.rb +39 -0
  600. data/app/models/kirgudu_base/dynamic_pages/event_builder.rb +40 -0
  601. data/app/models/kirgudu_base/dynamic_pages/event_if_block_builder.rb +37 -0
  602. data/app/models/kirgudu_base/dynamic_pages/filter.rb +36 -0
  603. data/app/models/kirgudu_base/dynamic_pages/filter_builder.rb +37 -0
  604. data/app/models/kirgudu_base/dynamic_pages/form.rb +28 -89
  605. data/app/models/kirgudu_base/dynamic_pages/form_builder.rb +63 -83
  606. data/app/models/kirgudu_base/dynamic_pages/form_elements_block_builder.rb +31 -0
  607. data/app/models/kirgudu_base/dynamic_pages/form_properties_block_builder.rb +24 -0
  608. data/app/models/kirgudu_base/dynamic_pages/form_properties_named_set.rb +23 -0
  609. data/app/models/kirgudu_base/dynamic_pages/form_properties_named_set_builder.rb +22 -0
  610. data/app/models/kirgudu_base/dynamic_pages/form_property.rb +53 -0
  611. data/app/models/kirgudu_base/dynamic_pages/form_property_builder.rb +49 -0
  612. data/app/models/kirgudu_base/dynamic_pages/form_tab.rb +20 -0
  613. data/app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb +26 -0
  614. data/app/models/kirgudu_base/dynamic_pages/group.rb +25 -0
  615. data/app/models/kirgudu_base/dynamic_pages/group_builder.rb +35 -0
  616. data/app/models/kirgudu_base/dynamic_pages/list.rb +42 -0
  617. data/app/models/kirgudu_base/dynamic_pages/list_builder.rb +88 -0
  618. data/app/models/kirgudu_base/dynamic_pages/list_cell.rb +32 -0
  619. data/app/models/kirgudu_base/dynamic_pages/list_cell_builder.rb +44 -0
  620. data/app/models/kirgudu_base/dynamic_pages/list_cells_block_builder.rb +20 -0
  621. data/app/models/kirgudu_base/dynamic_pages/list_filters_block_builder.rb +20 -0
  622. data/app/models/kirgudu_base/dynamic_pages/list_properties_block_builder.rb +20 -0
  623. data/app/models/kirgudu_base/dynamic_pages/list_property.rb +32 -0
  624. data/app/models/kirgudu_base/dynamic_pages/list_property_builder.rb +39 -0
  625. data/app/models/kirgudu_base/dynamic_pages/menu.rb +37 -0
  626. data/app/models/kirgudu_base/dynamic_pages/menu_builder.rb +41 -0
  627. data/app/models/kirgudu_base/dynamic_pages/menu_item.rb +60 -0
  628. data/app/models/kirgudu_base/dynamic_pages/menu_item_builder.rb +51 -0
  629. data/app/models/kirgudu_base/dynamic_pages/menu_items_block_builder.rb +20 -0
  630. data/app/models/kirgudu_base/dynamic_pages/page.rb +27 -44
  631. data/app/models/kirgudu_base/dynamic_pages/page_builder.rb +50 -48
  632. data/app/models/kirgudu_base/dynamic_pages/page_element.rb +56 -0
  633. data/app/models/kirgudu_base/dynamic_pages/page_element_builder.rb +44 -0
  634. data/app/models/kirgudu_base/dynamic_pages/page_elements_block_builder.rb +72 -0
  635. data/app/models/kirgudu_base/dynamic_pages/page_tab.rb +30 -0
  636. data/app/models/kirgudu_base/dynamic_pages/page_tab_builder.rb +64 -0
  637. data/app/models/kirgudu_base/dynamic_pages/parent_element.rb +32 -0
  638. data/app/models/kirgudu_base/dynamic_pages/parent_element_builder.rb +41 -0
  639. data/app/models/kirgudu_base/dynamic_pages/property.rb +33 -169
  640. data/app/models/kirgudu_base/dynamic_pages/property_builder.rb +68 -123
  641. data/app/models/kirgudu_base/dynamic_pages/property_events_block_builder.rb +32 -0
  642. data/app/models/kirgudu_base/dynamic_pages/widget.rb +12 -0
  643. data/app/models/kirgudu_base/dynamic_pages/widget_builder.rb +21 -0
  644. data/app/models/kirgudu_base/dynamic_transactions/enums.rb +13 -0
  645. data/app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb +25 -0
  646. data/app/models/kirgudu_base/dynamic_transactions/transaction_injection_builder.rb +42 -0
  647. data/app/models/kirgudu_base/security.rb +8 -0
  648. data/app/models/kirgudu_base/security/authentication.rb +18 -0
  649. data/app/models/kirgudu_base/security/authentication_config.rb +80 -0
  650. data/app/models/kirgudu_base/security/authentication_config_builder.rb +91 -0
  651. data/app/models/kirgudu_base/security/user.rb +83 -0
  652. data/app/models/kirgudu_base/sticky_notification.rb +15 -0
  653. data/app/models/kirgudu_base/template.rb +1 -1
  654. data/app/models/kirgudu_base/template_element.rb +1 -1
  655. data/app/views/admin_templates/default/admin/dashboard/index.html.erb +2 -0
  656. data/app/views/admin_templates/default/admin/dashboard/modules.html.erb +2 -0
  657. data/app/views/admin_templates/default/admin/dashboard/stats.html.erb +2 -0
  658. data/app/views/admin_templates/default/admin/layouts/application.html.erb +1308 -0
  659. data/app/views/admin_templates/default/admin/shared/_attach_file_uploader.html.erb +47 -0
  660. data/app/views/admin_templates/default/admin/shared/manage_images/managing_items_index.html.erb +35 -0
  661. data/app/views/admin_templates/default/admin/shared/manage_images/managing_items_manage.html.erb +70 -0
  662. data/app/views/admin_templates/default/admin/shared/manage_images/managing_items_sort_index.html.erb +29 -0
  663. data/app/views/admin_templates/default/admin/shared/manage_images/managing_upload_images.html.erb +0 -0
  664. data/app/views/admin_templates/default/admin/shared/manage_items/managing_items_index.html.erb +43 -0
  665. data/app/views/admin_templates/default/admin/shared/manage_items/managing_items_manage.html.erb +62 -0
  666. data/app/views/admin_templates/default/admin/shared/manage_items/managing_items_sort_index.html.erb +29 -0
  667. data/app/views/admin_templates/default/admin/system/settings/groups/edit.html.erb +40 -0
  668. data/app/views/admin_templates/default/admin/system/settings/groups/index.html.erb +91 -0
  669. data/app/views/admin_templates/default/admin/system/settings/groups/new.html.erb +36 -0
  670. data/app/views/admin_templates/default/admin/system/settings/groups/show.html.erb +44 -0
  671. data/app/views/admin_templates/default/admin/system/settings/options/edit.html.erb +68 -0
  672. data/app/views/admin_templates/default/admin/system/settings/options/index.html.erb +106 -0
  673. data/app/views/admin_templates/default/admin/system/settings/options/new.html.erb +66 -0
  674. data/app/views/admin_templates/default/admin/system/settings/options/show.html.erb +83 -0
  675. data/app/views/admin_templates/default/admin/system/settings/values/edit.html.erb +44 -0
  676. data/app/views/admin_templates/default/admin/system/settings/values/index.html.erb +42 -0
  677. data/app/views/admin_templates/default/admin/system/settings/values/new.html.erb +36 -0
  678. data/app/views/admin_templates/default/admin/system/settings/values/show.html.erb +38 -0
  679. data/app/views/{layouts/kirgudu_base → admin_templates/erp/admin/layouts}/application.html.erb +1 -1
  680. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_body_javascripts_files.html.erb +1 -1
  681. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_body_javascripts_scripts.html.erb +8 -8
  682. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_breadcrumbs.html.erb +0 -0
  683. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_head_javascripts.html.erb +0 -0
  684. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_head_stylesheets.html.erb +0 -0
  685. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_index_page_filter.html.erb +0 -0
  686. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_left_menu_standard_actions.html.erb +2 -2
  687. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_services_top_line.html.erb +0 -0
  688. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/_top_nav_bar.html.erb +4 -4
  689. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/entry_edit_form_renderer.html.erb +2 -2
  690. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/entry_index_renderer.html.erb +3 -3
  691. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/entry_new_form_renderer.html.erb +2 -2
  692. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/entry_not_found_renderer.html.erb +0 -0
  693. data/app/views/{shared/kirgudu_base → admin_templates/erp/admin/shared}/entry_show_renderer.html.erb +0 -0
  694. data/app/views/admin_templates/erp/admin/shared/manage_images/managing_items_index.html.erb +34 -0
  695. data/app/views/admin_templates/erp/admin/shared/manage_images/managing_items_manage.html.erb +72 -0
  696. data/app/views/admin_templates/erp/admin/shared/manage_images/managing_items_sort_index.html.erb +33 -0
  697. data/app/views/admin_templates/erp/admin/shared/manage_items/managing_items_index.html.erb +42 -0
  698. data/app/views/admin_templates/erp/admin/shared/manage_items/managing_items_manage.html.erb +66 -0
  699. data/app/views/admin_templates/erp/admin/shared/manage_items/managing_items_sort_index.html.erb +33 -0
  700. data/app/views/admin_templates/good/admin/common/files/upload.html.erb +203 -0
  701. data/app/views/admin_templates/good/admin/common/images/mass_upload.html.erb +9 -0
  702. data/app/views/admin_templates/good/admin/dashboard/index.html.erb +568 -0
  703. data/app/views/admin_templates/good/admin/layouts/OLD_application.html.erb +518 -0
  704. data/app/views/admin_templates/good/admin/layouts/application.html.erb +1301 -0
  705. data/app/views/admin_templates/good/admin/shared/404.html.erb +29 -0
  706. data/app/views/admin_templates/good/admin/shared/_breadcrumbs.html.erb +26 -0
  707. data/app/views/admin_templates/good/admin/shared/_chat.html.erb +49 -0
  708. data/app/views/admin_templates/good/admin/shared/_left_menu.html.erb +137 -0
  709. data/app/views/admin_templates/good/admin/shared/_left_menu_emails.html.erb +20 -0
  710. data/app/views/admin_templates/good/admin/shared/_left_menu_social_stats.html.erb +20 -0
  711. data/app/views/admin_templates/good/admin/shared/_left_menu_tags.html.erb +3 -0
  712. data/app/views/admin_templates/good/admin/shared/_sticky_notification.html.erb +11 -0
  713. data/app/views/admin_templates/good/admin/shared/entry_not_found.html.erb +1 -0
  714. data/app/views/admin_templates/good/admin/shared/renderer_delete.html.erb +0 -0
  715. data/app/views/admin_templates/good/admin/shared/renderer_edit.html.erb +98 -0
  716. data/app/views/admin_templates/good/admin/shared/renderer_entries_list.html.erb +157 -0
  717. data/app/views/admin_templates/good/admin/shared/renderer_entries_list_with_parent.html.erb +149 -0
  718. data/app/views/admin_templates/good/admin/shared/renderer_new.html.erb +69 -0
  719. data/app/views/admin_templates/good/admin/shared/renderer_show.html.erb +155 -0
  720. data/app/views/admin_templates/good/kirgudu_base/authentications/login.html.erb +94 -0
  721. data/app/views/admin_templates/good/kirgudu_base/authentications/register.html.erb +75 -0
  722. data/app/views/admin_templates/good/kirgudu_base/old/login_page.html.erb +253 -0
  723. data/app/views/admin_templates/good/kirgudu_base/old/restore.html.erb +0 -0
  724. data/app/views/admin_templates/good/kirgudu_base/old/show.html.erb +39 -0
  725. data/app/views/admin_templates/good/zapanel/404.html +386 -0
  726. data/app/views/admin_templates/good/zapanel/billing.html +550 -0
  727. data/app/views/admin_templates/good/zapanel/blank-page.html +343 -0
  728. data/app/views/admin_templates/good/zapanel/buttons.html +1018 -0
  729. data/app/views/admin_templates/good/zapanel/calendars.html +451 -0
  730. data/app/views/admin_templates/good/zapanel/cart.html +522 -0
  731. data/app/views/admin_templates/good/zapanel/charts.html +611 -0
  732. data/app/views/admin_templates/good/zapanel/collapse.html +555 -0
  733. data/app/views/admin_templates/good/zapanel/contact.php +102 -0
  734. data/app/views/admin_templates/good/zapanel/dashboard.html +985 -0
  735. data/app/views/admin_templates/good/zapanel/dashboard2.html +1091 -0
  736. data/app/views/admin_templates/good/zapanel/dashboard3.html +1079 -0
  737. data/app/views/admin_templates/good/zapanel/data/movies.json +1 -0
  738. data/app/views/admin_templates/good/zapanel/faq.html +435 -0
  739. data/app/views/admin_templates/good/zapanel/file-manager.html +358 -0
  740. data/app/views/admin_templates/good/zapanel/files/New Adobe Photoshop Image 12.psd b/data/app/views/admin_templates/good/zapanel/files/New Adobe Photoshop Image → 12.psd +0 -0
  741. data/app/views/admin_templates/good/zapanel/files/index.php +0 -0
  742. data/app/views/admin_templates/good/zapanel/font-awesome/less/bootstrap.less +84 -0
  743. data/app/views/admin_templates/good/zapanel/font-awesome/less/core.less +129 -0
  744. data/app/views/admin_templates/good/zapanel/font-awesome/less/extras.less +93 -0
  745. data/app/views/admin_templates/good/zapanel/font-awesome/less/font-awesome-ie7.less +1953 -0
  746. data/app/views/admin_templates/good/zapanel/font-awesome/less/font-awesome.less +33 -0
  747. data/app/views/admin_templates/good/zapanel/font-awesome/less/icons.less +381 -0
  748. data/app/views/admin_templates/good/zapanel/font-awesome/less/mixins.less +48 -0
  749. data/app/views/admin_templates/good/zapanel/font-awesome/less/path.less +14 -0
  750. data/app/views/admin_templates/good/zapanel/font-awesome/less/variables.less +735 -0
  751. data/app/views/admin_templates/good/zapanel/font-awesome/scss/_bootstrap.scss +84 -0
  752. data/app/views/admin_templates/good/zapanel/font-awesome/scss/_core.scss +129 -0
  753. data/app/views/admin_templates/good/zapanel/font-awesome/scss/_extras.scss +93 -0
  754. data/app/views/admin_templates/good/zapanel/font-awesome/scss/_icons.scss +381 -0
  755. data/app/views/admin_templates/good/zapanel/font-awesome/scss/_mixins.scss +48 -0
  756. data/app/views/admin_templates/good/zapanel/font-awesome/scss/_path.scss +14 -0
  757. data/app/views/admin_templates/good/zapanel/font-awesome/scss/_variables.scss +734 -0
  758. data/app/views/admin_templates/good/zapanel/font-awesome/scss/font-awesome-ie7.scss +1953 -0
  759. data/app/views/admin_templates/good/zapanel/font-awesome/scss/font-awesome.scss +33 -0
  760. data/app/views/admin_templates/good/zapanel/form.html +790 -0
  761. data/app/views/admin_templates/good/zapanel/gallery.html +392 -0
  762. data/app/views/admin_templates/good/zapanel/grids.html +574 -0
  763. data/app/views/admin_templates/good/zapanel/hosting-dashboard.html +448 -0
  764. data/app/views/admin_templates/good/zapanel/icon.html +722 -0
  765. data/app/views/admin_templates/good/zapanel/inbox.html +375 -0
  766. data/app/views/admin_templates/good/zapanel/index.html +48 -0
  767. data/app/views/admin_templates/good/zapanel/invoice.html +423 -0
  768. data/app/views/admin_templates/good/zapanel/js/proxy/elFinderSupportVer1.js +338 -0
  769. data/app/views/admin_templates/good/zapanel/js/skins/default/lightbox-close.png +0 -0
  770. data/app/views/admin_templates/good/zapanel/js/skins/default/lightbox-next.png +0 -0
  771. data/app/views/admin_templates/good/zapanel/js/skins/default/lightbox-prev.png +0 -0
  772. data/app/views/admin_templates/good/zapanel/notification.html +400 -0
  773. data/app/views/admin_templates/good/zapanel/order-recieved.html +348 -0
  774. data/app/views/admin_templates/good/zapanel/php/MySQLStorage.sql +23 -0
  775. data/app/views/admin_templates/good/zapanel/php/connector.php +44 -0
  776. data/app/views/admin_templates/good/zapanel/php/elFinder.class.php +1103 -0
  777. data/app/views/admin_templates/good/zapanel/php/elFinderConnector.class.php +133 -0
  778. data/app/views/admin_templates/good/zapanel/php/elFinderVolumeDriver.class.php +3370 -0
  779. data/app/views/admin_templates/good/zapanel/php/elFinderVolumeLocalFileSystem.class.php +835 -0
  780. data/app/views/admin_templates/good/zapanel/php/elFinderVolumeMySQL.class.php +896 -0
  781. data/app/views/admin_templates/good/zapanel/php/mime.types +512 -0
  782. data/app/views/admin_templates/good/zapanel/price-table.html +400 -0
  783. data/app/views/admin_templates/good/zapanel/profile.html +387 -0
  784. data/app/views/admin_templates/good/zapanel/progressbar.html +555 -0
  785. data/app/views/admin_templates/good/zapanel/range-slider.html +440 -0
  786. data/app/views/admin_templates/good/zapanel/ribbon-grids.html +491 -0
  787. data/app/views/admin_templates/good/zapanel/sale-purchase-dashboard.html +803 -0
  788. data/app/views/admin_templates/good/zapanel/search.html +370 -0
  789. data/app/views/admin_templates/good/zapanel/skins/default/lightbox-close.png +0 -0
  790. data/app/views/admin_templates/good/zapanel/skins/default/lightbox-loading.gif +0 -0
  791. data/app/views/admin_templates/good/zapanel/skins/default/lightbox-next.png +0 -0
  792. data/app/views/admin_templates/good/zapanel/skins/default/lightbox-pause.png +0 -0
  793. data/app/views/admin_templates/good/zapanel/skins/default/lightbox-play.png +0 -0
  794. data/app/views/admin_templates/good/zapanel/skins/default/lightbox-playvideo.png +0 -0
  795. data/app/views/admin_templates/good/zapanel/skins/default/lightbox-prev.png +0 -0
  796. data/app/views/admin_templates/good/zapanel/slider.html +453 -0
  797. data/app/views/admin_templates/good/zapanel/tables.html +470 -0
  798. data/app/views/admin_templates/good/zapanel/typography.html +746 -0
  799. data/app/views/admin_templates/good_flexy/admin/common/files/upload.html.erb +203 -0
  800. data/app/views/admin_templates/good_flexy/admin/common/images/mass_upload.html.erb +9 -0
  801. data/app/views/admin_templates/good_flexy/admin/dashboard/index.html.erb +568 -0
  802. data/app/views/admin_templates/good_flexy/admin/layouts/OLD_application.html.erb +518 -0
  803. data/app/views/admin_templates/good_flexy/admin/layouts/application.html.erb +1296 -0
  804. data/app/views/admin_templates/good_flexy/admin/shared/404.html.erb +29 -0
  805. data/app/views/admin_templates/good_flexy/admin/shared/_breadcrumbs.html.erb +26 -0
  806. data/app/views/admin_templates/good_flexy/admin/shared/_chat.html.erb +49 -0
  807. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu.html.erb +137 -0
  808. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_emails.html.erb +20 -0
  809. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_social_stats.html.erb +20 -0
  810. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_tags.html.erb +3 -0
  811. data/app/views/admin_templates/good_flexy/admin/shared/_sticky_notification.html.erb +11 -0
  812. data/app/views/admin_templates/good_flexy/admin/shared/entry_not_found.html.erb +1 -0
  813. data/app/views/admin_templates/good_flexy/admin/shared/renderer_delete.html.erb +0 -0
  814. data/app/views/admin_templates/good_flexy/admin/shared/renderer_entries_list.html.erb +157 -0
  815. data/app/views/admin_templates/good_flexy/admin/shared/renderer_entries_list_with_parent.html.erb +149 -0
  816. data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_edit.html.erb +98 -0
  817. data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_new.html.erb +69 -0
  818. data/app/views/admin_templates/good_flexy/admin/shared/renderer_page_elements.html.erb +11 -0
  819. data/app/views/admin_templates/good_flexy/admin/shared/renderer_show.html.erb +134 -0
  820. data/app/views/security/authentications/login_page.html.erb +253 -0
  821. data/app/views/security/authentications/restore.html.erb +0 -0
  822. data/app/views/security/authentications/show.html.erb +35 -0
  823. data/config/routes.rb +33 -1
  824. data/db/migrate/20130913084129_create_kirgudu_base_security_users.rb +56 -0
  825. data/db/migrate/20131114161828_create_kirgudu_base_templates.rb +28 -13
  826. data/db/migrate/20131114165013_create_kirgudu_base_template_elements.rb +29 -14
  827. data/db/migrate/20140208133148_create_kirgudu_base_common_portals.rb +37 -0
  828. data/db/migrate/20140208134642_create_kirgudu_base_common_portal_users.rb +23 -0
  829. data/lib/kirgudu_base.rb +6 -0
  830. data/lib/kirgudu_base/engine.rb +3 -3
  831. data/test/fixtures/kirgudu_base/common/portal_users.yml +15 -0
  832. data/test/models/kirgudu_base/common/portal_user_test.rb +9 -0
  833. metadata +845 -163
  834. data/app/assets/images/kirgudu_base/Documents.gif +0 -0
  835. data/app/assets/images/kirgudu_base/Meetings.gif +0 -0
  836. data/app/assets/images/kirgudu_base/Repair.gif +0 -0
  837. data/app/assets/images/kirgudu_base/box.gif +0 -0
  838. data/app/assets/images/kirgudu_base/ico_16_4_d.gif +0 -0
  839. data/app/assets/images/kirgudu_base/ico_18_1010.gif +0 -0
  840. data/app/assets/images/kirgudu_base/ico_18_112.gif +0 -0
  841. data/app/assets/images/kirgudu_base/ico_18_2020.gif +0 -0
  842. data/app/assets/images/kirgudu_base/icon-contacts.gif +0 -0
  843. data/app/assets/images/kirgudu_base/icon-employees.gif +0 -0
  844. data/app/assets/images/kirgudu_base/icon-list.gif +0 -0
  845. data/app/assets/images/kirgudu_base/icon-orders-green.gif +0 -0
  846. data/app/assets/images/kirgudu_base/icon-orders.gif +0 -0
  847. data/app/assets/images/kirgudu_base/icon-tenders.gif +0 -0
  848. data/app/assets/images/kirgudu_base/logo.png +0 -0
  849. data/app/assets/images/kirgudu_base/meeting-schedule.gif +0 -0
  850. data/app/assets/images/kirgudu_base/news-icon-16.gif +0 -0
  851. data/app/assets/images/kirgudu_base/operator-def.png +0 -0
  852. data/app/assets/images/kirgudu_base/people-16-16-256.gif +0 -0
  853. data/app/assets/images/kirgudu_base/sales_24x24 (1).gif +0 -0
  854. data/app/assets/javascripts/kirgudu_base/web/inputPlaceholder.js +0 -82
  855. data/app/assets/javascripts/kirgudu_base/web/js.js +0 -91
  856. data/app/assets/javascripts/kirgudu_base/web/navigate.js +0 -20
  857. data/app/assets/javascripts/kirgudu_base/web/watch.js +0 -1706
  858. data/app/assets/stylesheets/kirgudu_base/bootstrap.css +0 -4551
  859. data/app/assets/stylesheets/kirgudu_base/jdpicker.css +0 -200
  860. data/app/assets/stylesheets/kirgudu_base/main.css +0 -1368
  861. data/app/assets/stylesheets/kirgudu_base/menu.css +0 -159
  862. data/app/assets/stylesheets/kirgudu_base/switcher.css +0 -80
  863. data/app/helpers/kirgudu_base/controllers/transaction_wrapper.rb +0 -138
  864. data/app/helpers/kirgudu_base/models/filters.rb +0 -32
  865. data/app/helpers/kirgudu_base/models/form_properties.rb +0 -108
  866. data/app/helpers/kirgudu_base/models/form_property.rb +0 -335
  867. data/app/models/kirgudu_base/dynamic_pages/action_for.rb +0 -78
  868. data/app/models/kirgudu_base/dynamic_pages/action_for_builder.rb +0 -46
  869. data/app/models/kirgudu_base/dynamic_pages/on_change.rb +0 -40
  870. data/app/models/kirgudu_base/dynamic_pages/on_change_builder.rb +0 -38
  871. data/lib/kirgudu_base/version.rb +0 -4
@@ -0,0 +1,1296 @@
1
+ <html>
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
+ <title>
6
+ <%= yield :header_title %>
7
+ Antonio Veracruz Designs
8
+ </title>
9
+ <meta name='csrf-token' content="<%= form_authenticity_token.to_s %>"/>
10
+
11
+
12
+ <!-- Google Fonts -->
13
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
14
+ <link href='http://fonts.googleapis.com/css?family=Raleway:100,900,800,700,600,500,400,300,200' rel='stylesheet' type='text/css'>
15
+ <!-- Bootstrap -->
16
+ <link rel="stylesheet" href="/assets/kirgudu_base/admin/good/bootstrap.css" type="text/css"/>
17
+ <!-- Custom Scroll Bar -->
18
+ <link href="/assets/kirgudu_base/admin/good/jquery.mCustomScrollbar.css" rel="stylesheet"/>
19
+ <!-- Font Awesome -->
20
+ <link rel="stylesheet" href="/assets/kirgudu_base/admin/good/font-awesome.css" type="text/css"/>
21
+ <!-- Style -->
22
+ <link rel="stylesheet" href="/assets/kirgudu_base/admin/good/style.css" type="text/css"/>
23
+ <!-- Responsive Style -->
24
+ <link rel="stylesheet" href="/assets/kirgudu_base/admin/good/responsive.css" type="text/css"/>
25
+
26
+ <link rel="stylesheet" href="/assets/kirgudu_base/admin/good/jquery.switchButton.css" type="text/css"/>
27
+ <link rel="stylesheet" href="/assets/kirgudu_base/admin/good/jquery-ui.css" type="text/css"/>
28
+
29
+
30
+ <!-- Jquery -->
31
+ <script src="/assets/jquery.js"></script>
32
+ <!-- Scroll Bar -->
33
+ <script src="/assets/jquery.mCustomScrollbar.concat.min.js"></script>
34
+ <!-- Circle Chart -->
35
+ <!--<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>-->
36
+ <script src="/assets/jquery.easing.min.js"></script>
37
+ <!-- Bootstrap -->
38
+ <!--<script type="text/javascript" src="/assets/bootstrap.js"></script>-->
39
+ <!-- Script -->
40
+ <script type="text/javascript" src="/assets/script.js"></script>
41
+ <!-- Chart -->
42
+ <script src="/assets/jquery.flot.min.js"></script>
43
+ <!-- Side Navigation -->
44
+ <script src="/assets/side-navigation-tag.js"></script>
45
+ <!-- Sparkline -->
46
+ <script type="text/javascript" src="/assets/jquery.sparkline.min.js"></script>
47
+ <!-- Jquery UI Custom -->
48
+ <script src="/assets/jquery-ui.js"></script>
49
+ <!-- Easy Pie Chart -->
50
+ <script src="/assets/jquery.easypiechart.min.js"></script>
51
+ <!-- Sidebar Add Tag -->
52
+ <script type="text/javascript" src="/assets/jquery.tagsinput.js"></script>
53
+
54
+ <script type="text/javascript" src="/assets/jquery.switchButton.js"></script>
55
+
56
+ <script type="text/javascript" src="/assets/jquery.autocompleteWithId.js"></script>
57
+
58
+ <script type="text/javascript" src="/assets/scripts_nrg.js"></script>
59
+ <script type="text/javascript" src="/assets/jquery.json.min.js"></script>
60
+
61
+ <script type="text/javascript" src="/assets/dynamicEvents.js"></script>
62
+
63
+ <script type="text/javascript" src="/assets/jquery.colorbox.js"></script>
64
+
65
+
66
+ <!-- Sparklines -->
67
+ <script type="text/javascript">
68
+ $(function () {
69
+ $("#new-orders").sparkline([4, 5, 6, 7, 6, 5, 4, 3, 2, 2, 3, 4], {
70
+ type: 'bar',
71
+ height: '40px',
72
+ barSpacing: 3,
73
+ barWidth: 6,
74
+ barColor: '#ff4646',
75
+ negBarColor: '#D6A838'});
76
+ });
77
+
78
+ $(function () {
79
+ $("#my-balance").sparkline([4, 5, 6, 7, 6, 5, 4, 3, 2, 2, 3, 4], {
80
+ type: 'bar',
81
+ height: '40px',
82
+ barSpacing: 3,
83
+ barWidth: 6,
84
+ barColor: '#21b95e',
85
+ negBarColor: '#27A9E3'});
86
+ });
87
+ </script>
88
+
89
+ <%= yield :header %>
90
+
91
+ </head>
92
+ <body>
93
+
94
+ <%= render "/admin_templates/good/admin/shared/chat" %>
95
+
96
+ <div id="container" class="ui-notify">
97
+ <% @sticky_notifications.each do |st_nf| %>
98
+ <%= render '/admin_templates/good/sticky_notification', notification: st_nf %>
99
+ <% end if @sticky_notifications %>
100
+ </div>
101
+
102
+
103
+ <div class="wrapper dark">
104
+ <header>
105
+ <div class="logo">
106
+ <img src="/assets/kirgudu_base/admin/good/logo.png" alt=""/>
107
+ </div>
108
+ <!-- Logo -->
109
+ <div class="welcome-user">
110
+ <img src="/assets/kirgudu_base/admin/good/user.png" alt=""/>
111
+ <span><%= ::ChupakabraTools::Strings.cut_string(@current_user.full_name, 17) %></span>
112
+
113
+ <p>Welcome <%= ::ChupakabraTools::Strings.cut_string(@current_user.first_name, 10) %></p>
114
+ </div>
115
+ <%= render "/admin_templates/good/admin/shared/left_menu" %>
116
+ <%= render "/admin_templates/good/admin/shared/left_menu_social_stats" %>
117
+ <%= render "/admin_templates/good/admin/shared/left_menu_emails" %>
118
+ <%= render "/admin_templates/good/admin/shared/left_menu_tags" %>
119
+
120
+
121
+ <a href="" class="slide-up-btn"><i class="icon-align-justify"></i></a>
122
+ </header>
123
+ <!-- Header End -->
124
+
125
+
126
+ <section class="main-section">
127
+ <div class="responsive-logo">
128
+ <img src="/assets/kirgudu_base/admin/good/logo.png" alt=""/>
129
+ </div>
130
+ <div class="responsive-menu">
131
+ <ul>
132
+ <li><a title=""><i class="icon-laptop"></i>Dashboard<span>5</span></a>
133
+ <ul>
134
+ <li><a href="dashboard.html" title=""><i class="icon-angle-right"></i>Dashboard 1</a></li>
135
+ <li><a href="dashboard2.html" title=""><i class="icon-angle-right"></i>Dashboard 2</a></li>
136
+ <li><a href="dashboard3.html" title=""><i class="icon-angle-right"></i>Dashboard 3</a></li>
137
+ <li><a href="hosting-dashboard.html" title=""><i class="icon-angle-right"></i>Hosting Dashboard</a>
138
+ </li>
139
+ <li><a href="sale-purchase-dashboard.html" title=""><i class="icon-angle-right"></i>For Sale &
140
+ Purchase</a></li>
141
+ </ul>
142
+ </li>
143
+ <li><a title=""><i class="icon-cogs"></i>Components<span>13</span></a>
144
+ <ul>
145
+ <li><a href="charts.html" title=""><i class="icon-angle-right"></i>Charts</a></li>
146
+ <li><a href="notification.html" title=""><i class="icon-angle-right"></i>Notifications</a></li>
147
+ <li><a href="grids.html" title=""><i class="icon-angle-right"></i>Grids</a></li>
148
+ <li><a href="ribbon-grids.html" title=""><i class="icon-angle-right"></i>Ribbon Grids</a></li>
149
+ <li><a href="buttons.html" title=""><i class="icon-angle-right"></i>Buttons</a></li>
150
+ <li><a href="calendars.html" title=""><i class="icon-angle-right"></i>Calendars</a></li>
151
+ <li><a href="progressbar.html" title=""><i class="icon-angle-right"></i>Progress Bar</a></li>
152
+ <li><a href="file-manager.html" title=""><i class="icon-angle-right"></i>File Manager</a></li>
153
+ <li><a href="gallery.html" title=""><i class="icon-angle-right"></i>Gallery</a></li>
154
+ <li><a href="slider.html" title=""><i class="icon-angle-right"></i>Slider</a></li>
155
+ <li><a href="dashboard.html" title=""><i class="icon-angle-right"></i>Page Tour</a></li>
156
+ <li><a href="collapse.html" title=""><i class="icon-angle-right"></i>Collapse</a></li>
157
+ <li><a href="range-slider.html" title=""><i class="icon-angle-right"></i>Range Slider</a></li>
158
+ </ul>
159
+ </li>
160
+ <li><a title=""><i class="icon-shopping-cart"></i>Cart Example</a>
161
+ <ul>
162
+ <li><a href="cart.html" title=""><i class="icon-angle-right"></i>Cart Page</a></li>
163
+ <li><a href="billing.html" title=""><i class="icon-angle-right"></i>Billing Page</a></li>
164
+ <li><a href="order-recieved.html" title=""><i class="icon-angle-right"></i>Order Recieved</a>
165
+ </li>
166
+ </ul>
167
+ </li>
168
+ <li><a href="form.html" title=""><i class="icon-pencil"></i>Form Elements</a></li>
169
+ </ul>
170
+ <ul>
171
+ <li><a href="icon.html" title=""><i class="icon-tint"></i>Icons</a></li>
172
+ <li><a href="tables.html" title=""><i class="icon-list-alt"></i>Tables</a></li>
173
+ <li><a href="typography.html" title=""><i class="icon-font"></i>Typography</a></li>
174
+ <li><a title=""><i class="icon-rocket"></i>Sample Pages<span>4</span></a>
175
+ <ul>
176
+ <li><a href="invoice.html" title=""><i class="icon-angle-right"></i>Invoice</a></li>
177
+ <li><a href="index.html" title=""><i class="icon-angle-right"></i>Log in</a></li>
178
+ <li><a href="404.html" title=""><i class="icon-angle-right"></i>404 Error Page</a></li>
179
+ <li><a href="blank-page.html" title=""><i class="icon-angle-right"></i>Blank Page</a></li>
180
+ </ul>
181
+ </li>
182
+ <li><a title=""><i class="icon-ellipsis-horizontal"></i>Bonus Free<span>5</span></a>
183
+ <ul>
184
+ <li><a href="price-table.html" title=""><i class="icon-angle-right"></i>Pricing Table</a></li>
185
+ <li><a href="search.html" title=""><i class="icon-angle-right"></i>Search Result</a></li>
186
+ <li><a href="inbox.html" title=""><i class="icon-angle-right"></i>Message</a></li>
187
+ <li><a href="profile.html" title=""><i class="icon-angle-right"></i>Profile</a></li>
188
+ <li><a href="faq.html" title=""><i class="icon-angle-right"></i>FAQ</a></li>
189
+ </ul>
190
+ </li>
191
+ </ul>
192
+ </div>
193
+ <div class="container">
194
+ <div class="row">
195
+ <div class="main-bg">
196
+ <div class="top-stats">
197
+ <form>
198
+ <input type="text" placeholder="Your Search Here" class="search-box"/>
199
+ <input type="submit" class="search-submit" value=""/>
200
+ </form>
201
+ <div class="top-bar-chart">
202
+ <div class="bar-chart-details">
203
+ <p>New User</p>
204
+ <h5><%= @new_user_stats || 0 %></h5>
205
+ </div>
206
+ <span id="new-orders" class="sparkline">4,5,6,7,6,5,4,3,2,2,4</span>
207
+ </div>
208
+
209
+ <div class="top-bar-chart">
210
+ <div class="bar-chart-details">
211
+ <p>My Balance</p>
212
+ <h5>$<%= @my_balance_stats || 0 %></h5>
213
+ </div>
214
+ <span id="my-balance" class="sparkline">4,5,6,7,6,5,4,3,2,2,4</span>
215
+ </div>
216
+ <div class="top-stats-icons">
217
+ <i class="icon-rocket"></i><i class="icon-user"></i><i class="icon-laptop"></i><i class="icon-tasks"></i>
218
+ </div>
219
+ </div>
220
+
221
+ <div class="breadcrumbs-notify">
222
+ <%= render '/admin_templates/good/admin/shared/breadcrumbs' %>
223
+
224
+ <div class="notification-auto">
225
+ <div class="fade-notification">
226
+ <h5>
227
+ <i class="icon-warning-sign"></i> <%= @notifications ? "Notification :" : "No new Notifications" %>
228
+ </h5>
229
+ </div>
230
+ <div class="notification-slideshow">
231
+ <% @notifications.each do |notify| %>
232
+ <h6 class="notify-fade"><%= notifi.message %> <i><%= notify.created_at %></i></h6>
233
+ <% end if @notifications %>
234
+ </div>
235
+ </div>
236
+ </div>
237
+
238
+ <!--<div class="heading-buttons-sec">
239
+ <h1>Blank Page</h1>
240
+
241
+ <p>Good Morning <%= @current_user.full_name %>!!</p>
242
+
243
+ <div class="heading-buttons">
244
+ <ul>
245
+ <li class="dropdown heading-dropdown">
246
+ <a href="#" data-toggle="dropdown" role="button" id="drop1">Dropdown
247
+ <b class="caret"></b></a>
248
+ <ul aria-labelledby="drop1" role="menu" class="dropdown-menu" id="menu1">
249
+ <li role="presentation"><a href="#" tabindex="-1" role="menuitem">Action</a>
250
+ </li>
251
+ <li role="presentation">
252
+ <a href="#" tabindex="-1" role="menuitem">Another action</a>
253
+ </li>
254
+ <li role="presentation">
255
+ <a href="#" tabindex="-1" role="menuitem">Something else here</a></li>
256
+ <li class="divider" role="presentation"></li>
257
+ <li role="presentation">
258
+ <a href="#" tabindex="-1" role="menuitem">Separated link</a>
259
+ </li>
260
+ </ul>
261
+ </li>
262
+ </ul>
263
+ <a href="#" title=""><i class="icon-paper-clip"></i></a><a href="#" title=""><i class="icon-calendar"></i></a><a href="#" title=""><i class="icon-envelope"></i></a><a href="#" title=""><i class="icon-refresh"></i></a>
264
+ </div>
265
+ </div>-->
266
+
267
+
268
+ <div class="body-sec">
269
+ <%= yield %>
270
+ </div>
271
+ <!-- Body Sec -->
272
+ </div>
273
+ <!-- main-bg-->
274
+ </div>
275
+ <!-- Row -->
276
+ </div>
277
+ <!-- Container -->
278
+
279
+ </section>
280
+ <!-- Main Section -->
281
+
282
+ </div>
283
+ <!-- Wrapper -->
284
+ <!-- Side Panel -->
285
+ <!--<div class="side-panel green">-->
286
+ <!--<a class="panel-button gray"><i class="icon-cogs"></i></a>-->
287
+ <!--<h4 class="gray">Sidebar Theme</h4>-->
288
+
289
+ <!--<div class="patterns">-->
290
+ <!--<div class="light-theme-sec">-->
291
+ <!--<img src="/assets/kirgudu_base/admin/good/light-theme-thumb.jpg" alt=""/>-->
292
+ <!--<a title="" class="light-theme">LIGHT</a>-->
293
+ <!--</div>-->
294
+ <!--<div class="dark-theme-sec">-->
295
+ <!--<img src="/assets/kirgudu_base/admin/good/dark-theme-thumb.jpg" alt=""/>-->
296
+ <!--<a title="" class="dark-theme">DARK</a>-->
297
+ <!--</div>-->
298
+ <!--<a title="" class="gradient-theme-btn">GRADIENT THEME</a>-->
299
+ <!--</div>-->
300
+ <!--</div>-->
301
+
302
+
303
+ <script type='text/javascript'>
304
+
305
+
306
+ /*$(window).load(function () {
307
+ $('#loading').show();
308
+ });*/
309
+
310
+ $(document).ready(function () {
311
+
312
+ $.ajaxSetup({
313
+ headers: {
314
+ 'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content')
315
+ }
316
+ });
317
+
318
+ <%= yield :body_scripts_on_document_ready %>
319
+
320
+ attachDynamicEvents(".chzn-select");
321
+
322
+ attachToAllAfterAjax();
323
+
324
+ // $('body').css('display', 'none');
325
+ // $('body').fadeIn(500);
326
+
327
+ // $('body').show();
328
+
329
+ // $("#logo a, #sidebar_menu a:not(.accordion-toggle), a.ajx").click(function () {
330
+ // event.preventDefault();
331
+ // newLocation = this.href;
332
+ // $('body').fadeOut(500, newpage);
333
+ // });
334
+ // function newpage() {
335
+ // window.location = newLocation;
336
+ // }
337
+
338
+
339
+ // $('#process_bulk_action').click(function () {
340
+ // // getting path in bulk action select
341
+ // path = getSelectedValueForSelect('#bulk_actions_select');
342
+ //
343
+ // if (path == null || path == "" || path == undefined) {
344
+ // showFancyMessage("No Bulk Action Selected.<br/>Please Select Bulk Action");
345
+ // return;
346
+ // }
347
+ // // collect selected ids
348
+ // itemIds = collectCheckedItems('.item_ids', 'id');
349
+ //
350
+ //
351
+ // ProcessMassAction(path, itemIds,
352
+ // {
353
+ // method:'post',
354
+ // dataType:'json',
355
+ // onSuccess:function (data) {
356
+ // items_container = $('#items_containder');
357
+ // result_html = '';
358
+ //
359
+ // $.each(data.items, function (key, value) {
360
+ // result_html += Mustache.to_html(item_template_for_mustache, value);
361
+ // });
362
+ // items_container.html(result_html);
363
+ // }
364
+ // }
365
+ // );
366
+ // });
367
+
368
+
369
+ var dontSort = [];
370
+ // $('#datatable_example thead th').each(function () {
371
+ // if ($(this).hasClass('no_sort')) {
372
+ // dontSort.push({ "bSortable": false });
373
+ // } else {
374
+ // dontSort.push(null);
375
+ // }
376
+ // });
377
+ // $('#datatable_example').dataTable({
378
+ // "sDom": "<'row table_top_bar'<'row-fluid'>'<'to_hide_phone'>'f'<'>r>t<'row'>",
379
+ // "sDom": "<'row table_top_bar'<'row-fluid'<'to_hide_phone' f>>><'row'>",
380
+ // "aaSorting": [
381
+ // [ 4, "asc" ]
382
+ // ],
383
+ // "bPaginate": false,
384
+ // "bJQueryUI": false,
385
+ // "aoColumns": dontSort
386
+ // });
387
+ // $.extend($.fn.dataTableExt.oStdClasses, {
388
+ // "s`": "dataTables_wrapper form-inline"
389
+ // });
390
+
391
+ });
392
+
393
+
394
+ // $(document).ready(function() {
395
+ // var date = new Date();
396
+ // var d = date.getDate();
397
+ // var m = date.getMonth();
398
+ // var y = date.getFullYear();
399
+ // var calendar = $('#calendar').fullCalendar({
400
+ // header: {
401
+ // left: 'prev,next today',
402
+ // center: 'title',
403
+ // right: 'month,agendaWeek,agendaDay'
404
+ // },
405
+ // selectable: true,
406
+ // selectHelper: true,
407
+ // select: function(start, end, allDay) {
408
+ // var title = prompt('Event Title:');
409
+ // if (title) {
410
+ // calendar.fullCalendar('renderEvent',
411
+ // {
412
+ // title: title,
413
+ // start: start,
414
+ // end: end,
415
+ // allDay: allDay
416
+ // },
417
+ // true // make the event "stick"
418
+ // );
419
+ // }
420
+ // calendar.fullCalendar('unselect');
421
+ // },
422
+ // editable: true,
423
+ // events: [
424
+ // {
425
+ // title: 'All Day Event',
426
+ // start: new Date(y, m, 1)
427
+ // },
428
+ // {
429
+ // title: 'Long Event',
430
+ // start: new Date(y, m, d+5),
431
+ // end: new Date(y, m, d+7)
432
+ // },
433
+ // {
434
+ // id: 999,
435
+ // title: 'Repeating Event',
436
+ // start: new Date(y, m, d-3, 16, 0),
437
+ // allDay: false
438
+ // },
439
+ // {
440
+ // id: 999,
441
+ // title: 'Repeating Event',
442
+ // start: new Date(y, m, d+4, 16, 0),
443
+ // allDay: false
444
+ // },
445
+ // {
446
+ // title: 'Meeting',
447
+ // start: new Date(y, m, d, 10, 30),
448
+ // allDay: false
449
+ // },
450
+ // {
451
+ // title: 'Lunch',
452
+ // start: new Date(y, m, d, 12, 0),
453
+ // end: new Date(y, m, d, 14, 0),
454
+ // allDay: false
455
+ // },
456
+ // {
457
+ // title: 'Birthday Party',
458
+ // start: new Date(y, m, d+1, 19, 0),
459
+ // end: new Date(y, m, d+1, 22, 30),
460
+ // allDay: false
461
+ // },
462
+ // {
463
+ // title: 'Click for PixelGrade',
464
+ // start: new Date(y, m, 28),
465
+ // end: new Date(y, m, 29),
466
+ // url: 'http://pixelgrade.com/'
467
+ // }
468
+ // ]
469
+ // });
470
+ // });
471
+
472
+
473
+ // $(function () {
474
+ //
475
+ // var sin = [], cos = [], tes = [];
476
+ // for (var i = 0; i < 14; i += 1) {
477
+ // sin.push([i, Math.sin(i) * Math.random() * 0.9]);
478
+ // cos.push([i, Math.cos(i) * Math.random() * 1.4]);
479
+ // tes.push([i, Math.cos(i) * Math.random() * 0.4]);
480
+ // }
481
+ // var plot = $.plot($("#placeholder"),
482
+ // [
483
+ // { data:sin, label:"Google+", color:"#ef4723", shadowSize:0 },
484
+ // { data:cos, label:"Envato", color:"#a1d14d", shadowSize:0},
485
+ // { data:tes, label:"Facebook", color:"#4a8cf7", shadowSize:0 }
486
+ // ], {
487
+ // series:{
488
+ // lines:{ show:true, fill:true },
489
+ // points:{ show:true, fill:true }
490
+ // },
491
+ // grid:{ hoverable:true, clickable:true, autoHighlight:false, borderWidth:0, backgroundColor:{ colors:["#fff", "#fbfbfb"] } },
492
+ // yaxis:{ min:-1.5, max:1.5 }
493
+ // });
494
+ //
495
+ // function showTooltip(x, y, contents) {
496
+ // $('<div id="tooltip">' + contents + '</div>').css({
497
+ // position:'absolute',
498
+ // display:'none',
499
+ // top:y + 5,
500
+ // left:x + 5,
501
+ // border:'1px solid #ccc',
502
+ // padding:'2px 6px',
503
+ // 'background-color':'#fff',
504
+ // opacity:0.80
505
+ // }).appendTo("body").fadeIn(200);
506
+ // }
507
+ //
508
+ // var previousPoint = null;
509
+ // $("#placeholder").bind("plothover", function (event, pos, item) {
510
+ // $("#x").text(pos.x.toFixed(2));
511
+ // $("#y").text(pos.y.toFixed(2));
512
+ // if (item) {
513
+ // if (previousPoint != item.dataIndex) {
514
+ // previousPoint = item.dataIndex;
515
+ // $("#tooltip").remove();
516
+ // var x = item.datapoint[0].toFixed(2),
517
+ // y = item.datapoint[1].toFixed(2);
518
+ // showTooltip(item.pageX, item.pageY,
519
+ // item.series.label + " of " + x + " = " + y);
520
+ // }
521
+ // }
522
+ // });
523
+ // });
524
+
525
+
526
+ // $(function () {
527
+ // var data = [];
528
+ // var series = Math.floor(Math.random() * 5) + 1;
529
+ // data[0] = { label:"Google+", data:42, color:"#cb4b4b" };
530
+ // data[1] = { label:"Envato", data:27, color:"#4da74d"};
531
+ // data[2] = { label:"Pinterest", data:9, color:"#edc240"};
532
+ // data[3] = { label:"Facebook", data:22, color:"#5e96ea"};
533
+ // // DONUT
534
+ // $.plot($("#donut"), data,
535
+ // {
536
+ // series:{
537
+ // pie:{
538
+ // show:true,
539
+ // innerRadius:0.42,
540
+ // highlight:{
541
+ // opacity:0.3
542
+ // },
543
+ // radius:1,
544
+ // stroke:{
545
+ // color:'#fff',
546
+ // width:4
547
+ // },
548
+ // startAngle:0,
549
+ // combine:{
550
+ // color:'#353535',
551
+ // threshold:0.05
552
+ // },
553
+ // label:{
554
+ // show:true,
555
+ // radius:1,
556
+ // formatter:function (label, series) {
557
+ // return '<div class="chart-label">' + label + '&nbsp;' + Math.round(series.percent) + '%</div>';
558
+ // }
559
+ // }
560
+ // },
561
+ // grow:{ active:false}
562
+ // },
563
+ // legend:{show:true},
564
+ // grid:{
565
+ // hoverable:true,
566
+ // clickable:true
567
+ // }
568
+ // });
569
+ // });
570
+
571
+
572
+ function getPartialHtmlWithAjax(url, method, parameters) {
573
+ makeAjaxCall(url, {
574
+ method: method,
575
+ dataType: 'html',
576
+ data: parameters,
577
+ success: function (data) {
578
+ History.pushState(null, url, url);
579
+ $('#page_data_content').html(data);
580
+ attachToAllAfterAjax();
581
+ scrollTo($('#page_data_content'));
582
+ },
583
+ complete: function (xhr, textStatus) {
584
+ if (xhr.status == 302) {
585
+ getPartialHtmlWithAjax(url, method, parameters);
586
+ }
587
+ },
588
+ error: function () {
589
+ showFancyMessage("Error of Loading Edit Page with Ajax");
590
+ }
591
+ });
592
+ }
593
+
594
+
595
+ function attachToAllAfterAjax() {
596
+
597
+ $('.to-remove-before-ajax').each(function () {
598
+ $(this).stop();
599
+ $(this).hide();
600
+ $(this).remove();
601
+ });
602
+
603
+
604
+ attachToContentNavLinks(['a.navigate-link', 'div.pagination a']);
605
+ attachToSubmitForm(['form[ajaxify="true"]']);
606
+ //atachImageSelectDialog('div.image-select-dialog');
607
+
608
+ attachAutocomplete(["input[control-type='autocomplete-with-id']"]);
609
+ attachDatePicker("input.date-picker");
610
+ attachChosenSelect("select.chzn-select");
611
+ attachSwitchButtons("input[type='checkbox'].switch-button");
612
+
613
+ managementAttachDragables("div.items-management-url", "#items-management-tray", "#items-management-gallery");
614
+
615
+ attachToSortableTray("ul#sorting-management-tray");
616
+
617
+
618
+ attachModalDialogs("a[link-target='modal_dialog']");
619
+
620
+
621
+ //attachTaggable(".taggable");
622
+
623
+ //attachImageUploader();
624
+
625
+ //attachFileUploader();
626
+
627
+ attachImagePicker(".image-picker");
628
+
629
+ myNotificationMessages = ['.notifications-info', '.notifications-warning', '.notifications-error', '.notifications-success'];
630
+
631
+ notifications_hideAllMessages();
632
+ notifications_showInfo();
633
+ notifications_showError();
634
+ notifications_showSuccess();
635
+ notifications_showWarning();
636
+
637
+ }
638
+
639
+
640
+ function attachSwitchButtons(selectors) {
641
+ $.each(normalizeSelectorsToArray(selectors), function (index, sel) {
642
+ $(sel).each(function () {
643
+ $(this).switchButton({
644
+ on_label: 'yes',
645
+ off_label: 'no',
646
+ width: 100,
647
+ height: 40,
648
+ button_width: 50
649
+ });
650
+ });
651
+ });
652
+ }
653
+
654
+
655
+ // Attaching autocomplete_with_id for hidden inputs with selectors
656
+ // control is rendered in ::KirguduBase::FormBuilder
657
+ function attachAutocomplete(selectors) {
658
+
659
+ $.each(normalizeSelectorsToArray(selectors), function (index, sel) {
660
+
661
+ // console.log('Selector ' + sel);
662
+ // console.log('Selected Objects ' + $(sel));
663
+
664
+ $(sel).each(function () {
665
+ var options = {
666
+ css_text_container: "form-control"
667
+ };
668
+
669
+ options["value-property"] = $(this).attr("value-property");
670
+ options["id-property"] = $(this).attr("id-property");
671
+
672
+ $(this).autocompleteWithId(options);
673
+ });
674
+
675
+
676
+ });
677
+ }
678
+
679
+ function attachDatePicker(selectors) {
680
+ $.each(normalizeSelectorsToArray(selectors), function (idx1, sel) {
681
+
682
+ // console.log('Selector ' + sel);
683
+ // console.log('Selected Objects ' + $(sel));
684
+
685
+
686
+ // console.log("All Links: " + $('a').length);
687
+ // console.log("Selected Objects: " + selected_objects.length);
688
+
689
+ $(sel).each(function () {
690
+ //console.log('Datepicker ID: ' + $(this).attr('id'));
691
+ AssignDatePicker($(this).attr('id'));
692
+
693
+ });
694
+ });
695
+ }
696
+
697
+
698
+ function attachImageUploader() {
699
+ <% key = Rails.application.config.session_options[:key] %>
700
+ var uploadify_script_data = {};
701
+ var csrf_param = $('meta[name=csrf-param]').attr('content');
702
+ var csrf_token = $('meta[name=csrf-token]').attr('content');
703
+ uploadify_script_data[csrf_param] = encodeURI(encodeURIComponent(csrf_token));
704
+ uploadify_script_data['<%= key %>'] = '<%= cookies[key] %>';
705
+
706
+ //var uploadify_script_data = {};
707
+ $('#uploadify').uploadify({
708
+ swf: '<%= asset_path("uploadify.swf") %>',
709
+ uploader: '<%= ::Admin::Common::ImagesController.to_url_for(:create) %>',
710
+ buttonText: 'Загрузить...',
711
+ buttonCursor: 'hand',
712
+ height: 20,
713
+ auto: true,
714
+ multi: true,
715
+ removeCompleted: true,
716
+ beforeSend: function (xhr) {
717
+ xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))
718
+ },
719
+ onUploadSuccess: function (file, data, response) {
720
+ imageData = jQuery.parseJSON(data);
721
+
722
+ //alert('Image Data:' + imageData.filename.thumb.url );
723
+ var str =
724
+ '<li>' +
725
+ ' <div class="btn-group">' +
726
+ ' <a href="<%= url_for(controller: '/admin/common/images')%>/' + imageData.id + '/edit" rel="tooltip" data-placement="top" data-original-title="Edit Image">' +
727
+ ' <i class="icon-magic"></i>' +
728
+ ' </a>' +
729
+ ' <a href="<%= url_for(controller: '/admin/common/images')%>/' + imageData.id + '" rel="tooltip" data-placement="top" data-original-title="Show Image">' +
730
+ ' <i class=" icon-heart"></i>' +
731
+ ' </a>' +
732
+ ' <a rel="tooltip" data-placement="top" data-original-title="Delete image">' +
733
+ ' <i class=" icon-trash"></i>' +
734
+ ' </a>' +
735
+ ' </div>' +
736
+ ' <a class="thumbnail" data-toggle="modal">' +
737
+ ' <img src="' + imageData.filename.thumb.url + '" alt=""/>' +
738
+ ' </a>' +
739
+ '</li>';
740
+
741
+ $('#uploaded_images_container').append(str);
742
+
743
+
744
+ /* $.ajax({
745
+ url: "
746
+
747
+ <%= url_for(controller: '/admin/common/images', action: 'get_thumb') %>",
748
+ dataType: 'json',
749
+ type: 'get',
750
+ beforeSend: function(xhr) {
751
+ xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))
752
+ },
753
+ data: {file: imageData.filename.thumb},
754
+ complete: function(json) {
755
+ var obj = jQuery.parseJSON(json.responseText);
756
+ var str =
757
+ '<li>' +
758
+ ' <div class="btn-group">' +
759
+ ' <a href="
760
+
761
+ <%= url_for(controller: '/admin/common/images')%>'+ obj.id +' / edit
762
+ " rel="
763
+ tooltip
764
+ " data-placement="
765
+ top
766
+ " data-original-title="
767
+ Edit
768
+ Image
769
+ ">' +
770
+ ' <i class="icon-magic"></i>' +
771
+ ' </a>' +
772
+ ' <a href="
773
+
774
+ <%= url_for(controller: '/admin/common/images')%>'+ obj.id +'
775
+ " rel="
776
+ tooltip
777
+ " data-placement="
778
+ top
779
+ " data-original-title="
780
+ Show
781
+ Image
782
+ ">' +
783
+ ' <i class=" icon-heart"></i>' +
784
+ ' </a>' +
785
+ ' <a rel="tooltip" data-placement="top" data-original-title="Delete image">' +
786
+ ' <i class=" icon-trash"></i>' +
787
+ ' </a>' +
788
+ ' </div>' +
789
+ ' <a class="thumbnail" data-toggle="modal">' +
790
+ ' <img src="' + obj.thumb + '" alt=""/>' +
791
+ ' </a>' +
792
+ '</li>';
793
+
794
+ $('#uploaded_images_container').append(str);
795
+
796
+ // var obj = jQuery.parseJSON(json.responseText);
797
+ // console.log(obj.thumb);
798
+ }
799
+ }); */
800
+ },
801
+ onUploadError: function (file, errorCode, errorMsg, errorString) {
802
+ alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
803
+ },
804
+ // formData:
805
+ // // onUploadComplete : function(file) {
806
+ // // alert(file);
807
+ // // }
808
+ onUploadStart: function (file) {
809
+ //alert("Selected Category Tag: " + $("#core_common_image_category_tag :selected").val());
810
+ uploadify_script_data['category_tag'] = $("#core_common_image_category_tag :selected").val();
811
+ $('#uploadify').uploadify('settings', 'formData', uploadify_script_data);
812
+ }
813
+
814
+ });
815
+
816
+ }
817
+
818
+
819
+ function attachTaggable(selectors) {
820
+ $.each(normalizeSelectorsToArray(selectors), function (idx1, sel) {
821
+
822
+ $(sel).each(function () {
823
+
824
+ var taggable_id = $(this).attr('taggable-id');
825
+ var taggable_type = $(this).attr('taggable-type');
826
+ var add_tag_label = $(this).attr('add-tag-label');
827
+ if (add_tag_label == null || add_tag_label == undefined) {
828
+ add_tag_label = 'add tag';
829
+ }
830
+ var url_to_complete = $(this).attr('autocomplete-url');
831
+
832
+ if (url_to_complete == null || url_to_complete == undefined) {
833
+ $(this).tagsInput({
834
+ height: '100px',
835
+ width: '300px',
836
+ interactive: true,
837
+ defaultText: add_tag_label,
838
+ // onAddTag: function(tag) {
839
+ // alert("Added a tag: " + tag);
840
+ // },
841
+ // onRemoveTag: function(tag) {
842
+ // alert("Removed a tag: " + tag);
843
+ // },
844
+ // onChange: function(input,tag) {
845
+ // alert("Changed a tag: " + tag);
846
+ // },
847
+ removeWithBackspace: true,
848
+ minChars: 0,
849
+ maxChars: 0, //if not provided there is no limit,
850
+ placeholderColor: '#666666'
851
+ });
852
+ }
853
+ else {
854
+ $(this).tagsInput({
855
+ autocomplete_url: url_to_complete,
856
+ height: '100px',
857
+ width: '300px',
858
+ interactive: true,
859
+ defaultText: add_tag_label,
860
+ removeWithBackspace: true,
861
+ minChars: 0,
862
+ maxChars: 0, //if not provided there is no limit,
863
+ placeholderColor: '#666666'
864
+ });
865
+ }
866
+ });
867
+ });
868
+ }
869
+
870
+
871
+ function attachChosenSelect(selectors) {
872
+ // $.each(normalizeSelectorsToArray(selectors), function (idx1, sel) {
873
+ //
874
+ //// console.log('Selector ' + sel);
875
+ //// console.log('Selected Objects ' + $(sel));
876
+ //
877
+ //
878
+ //// console.log("All Links: " + $('a').length);
879
+ //// console.log("Selected Objects: " + selected_objects.length);
880
+ //
881
+ // $(sel).change(function () {
882
+ //
883
+ // //attachDynamicEventsToControl(this);
884
+ //
885
+ // var selector = $(this);
886
+ // var datasource_url = selector.attr('child-datasource');
887
+ // var child_control = $('#' + selector.attr('child-id'));
888
+ // var new_value = selector.attr('value');
889
+ // //alert('Selector: ' + selector);
890
+ // //alert('Datasource Url: ' + datasource_url);
891
+ //
892
+ //
893
+ // if (new_value == "") {
894
+ // child_control.attr('disabled', "disabled");
895
+ // $('#' + selector.attr('child-id') + ' option:gt(0)').remove();
896
+ // child_control.trigger("liszt:updated");
897
+ // return;
898
+ // }
899
+ //
900
+ // var parent_for_child = child_control;
901
+ // var child_of_child = null;
902
+ // while (true) {
903
+ // if (parent_for_child.attr('child-id') != null) {
904
+ // child_of_child = $('#' + parent_for_child.attr('child-id'));
905
+ // if (child_of_child == null || child_of_child == undefined) break;
906
+ // child_of_child.attr('disabled', "disabled");
907
+ // $('#' + parent_for_child.attr('child-id') + ' option:gt(0)').remove();
908
+ // child_of_child.trigger("liszt:updated");
909
+ // parent_for_child = child_of_child;
910
+ // }
911
+ // else {
912
+ // break;
913
+ // }
914
+ // }
915
+ //
916
+ // makeAjaxCall(datasource_url, {
917
+ // method: 'get',
918
+ // dataType: 'json',
919
+ // data: {parent_id: new_value},
920
+ // success: function (data) {
921
+ // child_control.removeAttr('disabled');
922
+ // $('#' + selector.attr('child-id') + ' option:gt(0)').remove();
923
+ // $.each(data, function (index, entry) {
924
+ // child_control.append("<option value='" + entry.id + "'>" + entry.name + "</option>");
925
+ // });
926
+ // child_control.trigger("liszt:updated");
927
+ // },
928
+ // error: function (response) {
929
+ // //alert("Response Code: " + response.status);
930
+ // showFancyMessage("Failed to Retrive Data from Source");
931
+ // }
932
+ //
933
+ // });
934
+ //
935
+ //
936
+ // });
937
+ //
938
+ //// $(sel).chosen({
939
+ //// disable_search_threshold: 10,
940
+ //// allow_single_deselect: true
941
+ //// });
942
+ // });
943
+ }
944
+
945
+
946
+ function attachModalDialogs(selectors) {
947
+ $.each(normalizeSelectorsToArray(selectors), function (index, sel) {
948
+ $(sel).colorbox();
949
+ // .click(function () {
950
+ // $(this).colorbox();
951
+ //
952
+ // return false;
953
+ // });
954
+ });
955
+ }
956
+
957
+ function attachImagePicker(selectors) {
958
+ $.each(normalizeSelectorsToArray(selectors), function (index, sel) {
959
+ //alert("Image Selector: " + sel);
960
+ $(sel).simpleImagePicker(
961
+ {
962
+ on_select: function (ui, id, thumb_url) {
963
+ console.log(ui);
964
+ var input = ui;
965
+ input.attr('value', id);
966
+ var image = input.next();
967
+ image.attr('src', thumb_url);
968
+ }
969
+ });
970
+ });
971
+ }
972
+
973
+ function attachToContentNavLinks(selectors) {
974
+
975
+ //alert('Hello: Attaching Nav Link Clicks');
976
+
977
+ $.each(normalizeSelectorsToArray(selectors), function (index, sel) {
978
+ $(sel).click(function () {
979
+ //alert('NAv Link Click');
980
+ //alert('Hello from Nav Link Click');
981
+ var request_data = {};
982
+ request_data['layout'] = false;
983
+
984
+ var url = $(this).attr('href');
985
+ var http_method = normalizeHttpMethod($(this).attr('http-method'));
986
+
987
+ var current_uri = $.url();
988
+ var uri = $.url(url);
989
+ var new_page = (uri).param('page');
990
+
991
+ if (new_page == undefined || new_page == null) {
992
+ var current_page = current_uri.param('page');
993
+ if (current_page == undefined || current_page == null) {
994
+
995
+ }
996
+ else {
997
+ request_data['page'] = current_page;
998
+ }
999
+ }
1000
+
1001
+ var confirm_message = $(this).attr('confirm-message');
1002
+
1003
+ if (confirm_message == undefined || confirm_message == null) {
1004
+ makeNavLinkRequest(url, http_method, request_data);
1005
+ }
1006
+ else {
1007
+ fancyConfirm(confirm_message,
1008
+ function (ret) {
1009
+ if (ret == true) {
1010
+ makeNavLinkRequest(url, http_method, request_data);
1011
+ }
1012
+ }
1013
+ );
1014
+ }
1015
+ //alert('Edit Button Url: ' + url);
1016
+ // makeAjaxCall(url, {
1017
+ // method: http_method,
1018
+ // dataType: 'html',
1019
+ // data: request_data,
1020
+ // success: function(data)
1021
+ // {
1022
+ // if(http_method != 'delete')
1023
+ // {
1024
+ // History.pushState($(document).html(), url, url);
1025
+ // }
1026
+ // $('#page_data_content').html(data);
1027
+ // attachToAllAfterAjax();
1028
+ // scrollTo($('#page_data_content'));
1029
+ // },
1030
+ // error: function()
1031
+ // {
1032
+ // showFancyMessage("Error of Loading Edit Page with Ajax");
1033
+ // }
1034
+ // });
1035
+ return false;
1036
+ });
1037
+ });
1038
+ }
1039
+
1040
+ function makeNavLinkRequest(url, http_method, request_data) {
1041
+ makeAjaxCall(url, {
1042
+ method: http_method,
1043
+ dataType: 'html',
1044
+ data: request_data,
1045
+ success: function (data) {
1046
+ $('#page_data_content').html(data);
1047
+ if (http_method != 'delete') {
1048
+ History.pushState("", url, url);
1049
+ }
1050
+ attachToAllAfterAjax();
1051
+ scrollTo($('#page_data_content'));
1052
+ },
1053
+ error: function () {
1054
+ showFancyMessage("<%= I18n.t("admin.shared.messages.error_ajax_load") %>");
1055
+ }
1056
+ });
1057
+ }
1058
+
1059
+ function attachToSubmitForm(selectors) {
1060
+ var new_selectors = normalizeSelectorsToArray(selectors);
1061
+
1062
+ $.each(new_selectors, function (index, sel) {
1063
+ var form_2_submit = $(sel);
1064
+
1065
+
1066
+ //alert("Form URL: " + url + ", Form Method: " + method);
1067
+
1068
+ form_2_submit.submit(function () {
1069
+
1070
+ var url = $(this).attr('action');
1071
+ var method = $(this).attr('method');
1072
+
1073
+ if (method == undefined || method == null) {
1074
+
1075
+ // searching for Rails input with PUT method if exists
1076
+ var input_w_method = $(this).find('input[name="_method"]');
1077
+
1078
+ //alert("Form to Submit: " + form_2_submit);
1079
+ //alert("input name='_method': " + input_w_method);
1080
+
1081
+ if (input_w_method) {
1082
+ //alert("Put Method Found");
1083
+ method = input_w_method.val();
1084
+ }
1085
+
1086
+ if (method == undefined || method == null) {
1087
+ method = "post";
1088
+ }
1089
+ }
1090
+
1091
+ //alert('Hello from Submited Form ');
1092
+
1093
+ //Serializing form to JSON
1094
+ form_data = serializeToJson($(this));
1095
+ form_data['layout'] = false;
1096
+
1097
+ //alert("Form Serialized Data: " + form_data);
1098
+
1099
+ //alert('Edit Button Url: ' + url);
1100
+ makeAjaxCall(url, {
1101
+ method: method,
1102
+ dataType: 'html',
1103
+ data: form_data,
1104
+ success: function (data) {
1105
+ History.pushState(null, null, url);
1106
+ $('#page_data_content').html(data);
1107
+ attachToAllAfterAjax();
1108
+ scrollTo($('#page_data_content'));
1109
+ },
1110
+ error: function (response) {
1111
+ //alert("Response Code: " + response.status);
1112
+ showFancyMessage("<%= I18n.t("admin.shared.messages.error_ajax_load") %>");
1113
+ }
1114
+
1115
+ });
1116
+ return false;
1117
+ });
1118
+ });
1119
+ }
1120
+
1121
+
1122
+ function managementAttachDragables(url_css, tray_css, gallery_css) {
1123
+ var gallery = $(gallery_css);
1124
+ var tray = $(tray_css);
1125
+ var management_url_add = $(url_css + "[type='add']").first().attr('href');
1126
+ var management_url_remove = $(url_css + "[type='remove']").first().attr('href');
1127
+
1128
+ //alert("URL ADD CSS: " + url_css+"[type='add']\r\nURL ADD: " + management_url_add + "\r\nURL REMOVE: " + management_url_remove);
1129
+
1130
+ $("li", gallery).draggable({
1131
+ cancel: "a.ui-icon",
1132
+ revert: "invalid",
1133
+ cursor: "move",
1134
+ helper: "clone"
1135
+ });
1136
+
1137
+ tray.droppable({
1138
+ accept: gallery_css + " > li",
1139
+ drop: function (event, ui) {
1140
+ //alert("URL Add: " + management_url_add);
1141
+ makeAjaxCall(management_url_add, {
1142
+ method: 'post',
1143
+ dataType: 'json',
1144
+ data: {entry_id: ui.draggable.attr('entry-id')},
1145
+ success: function (data) {
1146
+ if (data.status == <%= ::ChupakabraTools::SetManagementResult.id_by_tag("management_ok") %>) {
1147
+ ui.draggable.fadeOut(function () {
1148
+ tray.append(ui.draggable);
1149
+ ui.draggable.fadeIn();
1150
+ ui.draggable.append(" --- <a href=\"javascript:managementRemoveItem( '" + management_url_remove + "', '" + tray_css + "', " + ui.draggable.attr('entry-id') + " );\"><%= I18n.t("admin.shared.management.remove_button") %></a>");
1151
+ });
1152
+ }
1153
+ else {
1154
+ showFancyMessage(data.message);
1155
+ }
1156
+ },
1157
+ error: function () {
1158
+ showFancyMessage("<%= I18n.t("admin.shared.messages.error_ajax_load") %>");
1159
+ }
1160
+ });
1161
+ }
1162
+ });
1163
+ }
1164
+
1165
+ function managementRemoveItem(url, tray_css, entry_id) {
1166
+ makeAjaxCall(url, {
1167
+ method: 'post',
1168
+ dataType: 'json',
1169
+ data: {entry_id: entry_id },
1170
+ success: function (data) {
1171
+ if (data.status == <%= ::ChupakabraTools::SetManagementResult.id_by_tag("management_ok") %>) {
1172
+ var tray = $(tray_css);
1173
+ var item_to_remove = tray.find('li[entry-id = ' + entry_id + ']');
1174
+ item_to_remove.fadeOut();
1175
+ }
1176
+ else {
1177
+ showFancyMessage(data.message);
1178
+ }
1179
+ },
1180
+ error: function () {
1181
+ showFancyMessage("<%= I18n.t("admin.shared.messages.error_ajax_load") %>");
1182
+ }
1183
+ });
1184
+ }
1185
+
1186
+
1187
+ // Initialize sortiable on #sortable div
1188
+ function attachToSortableTray(tray_css) {
1189
+ var tray = $(tray_css);
1190
+ tray.sortable();
1191
+ tray.disableSelection();
1192
+ }
1193
+
1194
+ function attachSwitches(label_css) {
1195
+ var off = false;
1196
+
1197
+ $(label_css).each(function () {
1198
+ var toggle = $(this);
1199
+
1200
+ toggle.siblings().hide();
1201
+ toggle.show();
1202
+
1203
+ if (toggle.siblings().find('input[checked="checked"]').val() == "1") {
1204
+ //alert('switcher on for ' + toggle.html());
1205
+ toggle.removeClass('off').addClass('on');
1206
+ }
1207
+ else {
1208
+ //alert('switcher off for ' + toggle.html());
1209
+ toggle.removeClass('on').addClass('off');
1210
+ }
1211
+
1212
+ $(this).click(function () {
1213
+ var self = $(this);
1214
+
1215
+ if (self.hasClass('on')) {
1216
+ self.siblings('.off').click();
1217
+ self.removeClass('on').addClass('off');
1218
+ } else {
1219
+ self.siblings('.on').click();
1220
+ self.removeClass('off').addClass('on');
1221
+ }
1222
+ });
1223
+ });
1224
+ }
1225
+
1226
+
1227
+ // Prepare and go-to proper url for updating order of slides.
1228
+ // Called via html anchor tag by user
1229
+ function sortingUpdateItemsOrder(ajax_path, tray_css) {
1230
+
1231
+ var tray = $(tray_css);
1232
+
1233
+ makeAjaxCall(ajax_path, {
1234
+ method: 'post',
1235
+ dataType: 'json',
1236
+ data: {
1237
+ items: tray.sortable("toArray")
1238
+ },
1239
+ success: function (data) {
1240
+ showFancyMessage(data.message);
1241
+ },
1242
+ error: function () {
1243
+ showFancyMessage("<%= I18n.t("admin.shared.messages.error_ajax_load") %>");
1244
+ }
1245
+ });
1246
+ return false;
1247
+ }
1248
+
1249
+ function notifications_hideAllMessages() {
1250
+ var messagesHeights = new Array(); // this array will store height for each
1251
+
1252
+ for (i = 0; i < myNotificationMessages.length; i++) {
1253
+ messagesHeights[i] = $(myNotificationMessages[i]).outerHeight(); // fill array
1254
+ $(myNotificationMessages[i]).css('top', -messagesHeights[i]); //move element outside viewport
1255
+ }
1256
+ }
1257
+
1258
+ function notifications_showMessage(type, html_text) {
1259
+ //hideAllMessages();
1260
+
1261
+ var message_container = $(type);
1262
+ if (message_container) {
1263
+ message_container.remove();
1264
+ if (html_text) {
1265
+ message_container.html(html_text);
1266
+ }
1267
+ message_container.appendTo(document.body);
1268
+ //message_container = $(type);
1269
+ message_container.addClass('to-remove-before-ajax');
1270
+ message_container.animate({top: "0"}, 500);
1271
+ message_container.slideDown(300).delay(3500).slideUp(500, function () {
1272
+ message_container.remove();
1273
+ });
1274
+ }
1275
+ }
1276
+
1277
+ function notifications_showInfo(html_text) {
1278
+ notifications_showMessage('.notifications-info', html_text)
1279
+ }
1280
+ function notifications_showWarning(html_text) {
1281
+ notifications_showMessage('.notifications-warning', html_text)
1282
+ }
1283
+ function notifications_showError(html_text) {
1284
+ notifications_showMessage('.notifications-error', html_text)
1285
+ }
1286
+ function notifications_showSuccess(html_text) {
1287
+ notifications_showMessage('.notifications-success', html_text)
1288
+ }
1289
+
1290
+ </script>
1291
+
1292
+
1293
+ </body>
1294
+ <!-- Body -->
1295
+ </html>
1296
+ <!-- Html -->