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,172 @@
1
+ /*
2
+ * jQuery File Upload Processing Plugin 1.3.0
3
+ * https://github.com/blueimp/jQuery-File-Upload
4
+ *
5
+ * Copyright 2012, Sebastian Tschan
6
+ * https://blueimp.net
7
+ *
8
+ * Licensed under the MIT license:
9
+ * http://www.opensource.org/licenses/MIT
10
+ */
11
+
12
+ /* jshint nomen:false */
13
+ /* global define, window */
14
+
15
+ (function (factory) {
16
+ 'use strict';
17
+ if (typeof define === 'function' && define.amd) {
18
+ // Register as an anonymous AMD module:
19
+ define([
20
+ 'jquery',
21
+ './jquery.fileupload'
22
+ ], factory);
23
+ } else {
24
+ // Browser globals:
25
+ factory(
26
+ window.jQuery
27
+ );
28
+ }
29
+ }(function ($) {
30
+ 'use strict';
31
+
32
+ var originalAdd = $.blueimp.fileupload.prototype.options.add;
33
+
34
+ // The File Upload Processing plugin extends the fileupload widget
35
+ // with file processing functionality:
36
+ $.widget('blueimp.fileupload', $.blueimp.fileupload, {
37
+
38
+ options: {
39
+ // The list of processing actions:
40
+ processQueue: [
41
+ /*
42
+ {
43
+ action: 'log',
44
+ type: 'debug'
45
+ }
46
+ */
47
+ ],
48
+ add: function (e, data) {
49
+ var $this = $(this);
50
+ data.process(function () {
51
+ return $this.fileupload('process', data);
52
+ });
53
+ originalAdd.call(this, e, data);
54
+ }
55
+ },
56
+
57
+ processActions: {
58
+ /*
59
+ log: function (data, options) {
60
+ console[options.type](
61
+ 'Processing "' + data.files[data.index].name + '"'
62
+ );
63
+ }
64
+ */
65
+ },
66
+
67
+ _processFile: function (data, originalData) {
68
+ var that = this,
69
+ dfd = $.Deferred().resolveWith(that, [data]),
70
+ chain = dfd.promise();
71
+ this._trigger('process', null, data);
72
+ $.each(data.processQueue, function (i, settings) {
73
+ var func = function (data) {
74
+ if (originalData.errorThrown) {
75
+ return $.Deferred()
76
+ .rejectWith(that, [originalData]).promise();
77
+ }
78
+ return that.processActions[settings.action].call(
79
+ that,
80
+ data,
81
+ settings
82
+ );
83
+ };
84
+ chain = chain.pipe(func, settings.always && func);
85
+ });
86
+ chain
87
+ .done(function () {
88
+ that._trigger('processdone', null, data);
89
+ that._trigger('processalways', null, data);
90
+ })
91
+ .fail(function () {
92
+ that._trigger('processfail', null, data);
93
+ that._trigger('processalways', null, data);
94
+ });
95
+ return chain;
96
+ },
97
+
98
+ // Replaces the settings of each processQueue item that
99
+ // are strings starting with an "@", using the remaining
100
+ // substring as key for the option map,
101
+ // e.g. "@autoUpload" is replaced with options.autoUpload:
102
+ _transformProcessQueue: function (options) {
103
+ var processQueue = [];
104
+ $.each(options.processQueue, function () {
105
+ var settings = {},
106
+ action = this.action,
107
+ prefix = this.prefix === true ? action : this.prefix;
108
+ $.each(this, function (key, value) {
109
+ if ($.type(value) === 'string' &&
110
+ value.charAt(0) === '@') {
111
+ settings[key] = options[
112
+ value.slice(1) || (prefix ? prefix +
113
+ key.charAt(0).toUpperCase() + key.slice(1) : key)
114
+ ];
115
+ } else {
116
+ settings[key] = value;
117
+ }
118
+
119
+ });
120
+ processQueue.push(settings);
121
+ });
122
+ options.processQueue = processQueue;
123
+ },
124
+
125
+ // Returns the number of files currently in the processsing queue:
126
+ processing: function () {
127
+ return this._processing;
128
+ },
129
+
130
+ // Processes the files given as files property of the data parameter,
131
+ // returns a Promise object that allows to bind callbacks:
132
+ process: function (data) {
133
+ var that = this,
134
+ options = $.extend({}, this.options, data);
135
+ if (options.processQueue && options.processQueue.length) {
136
+ this._transformProcessQueue(options);
137
+ if (this._processing === 0) {
138
+ this._trigger('processstart');
139
+ }
140
+ $.each(data.files, function (index) {
141
+ var opts = index ? $.extend({}, options) : options,
142
+ func = function () {
143
+ if (data.errorThrown) {
144
+ return $.Deferred()
145
+ .rejectWith(that, [data]).promise();
146
+ }
147
+ return that._processFile(opts, data);
148
+ };
149
+ opts.index = index;
150
+ that._processing += 1;
151
+ that._processingQueue = that._processingQueue.pipe(func, func)
152
+ .always(function () {
153
+ that._processing -= 1;
154
+ if (that._processing === 0) {
155
+ that._trigger('processstop');
156
+ }
157
+ });
158
+ });
159
+ }
160
+ return this._processingQueue;
161
+ },
162
+
163
+ _create: function () {
164
+ this._super();
165
+ this._processing = 0;
166
+ this._processingQueue = $.Deferred().resolveWith(this)
167
+ .promise();
168
+ }
169
+
170
+ });
171
+
172
+ }));
@@ -0,0 +1,699 @@
1
+ /*
2
+ * jQuery File Upload User Interface Plugin 9.5.2
3
+ * https://github.com/blueimp/jQuery-File-Upload
4
+ *
5
+ * Copyright 2010, Sebastian Tschan
6
+ * https://blueimp.net
7
+ *
8
+ * Licensed under the MIT license:
9
+ * http://www.opensource.org/licenses/MIT
10
+ */
11
+
12
+ /* jshint nomen:false */
13
+ /* global define, window */
14
+
15
+ (function (factory) {
16
+ 'use strict';
17
+ if (typeof define === 'function' && define.amd) {
18
+ // Register as an anonymous AMD module:
19
+ define([
20
+ 'jquery',
21
+ 'tmpl',
22
+ './jquery.fileupload-image',
23
+ './jquery.fileupload-audio',
24
+ './jquery.fileupload-video',
25
+ './jquery.fileupload-validate'
26
+ ], factory);
27
+ } else {
28
+ // Browser globals:
29
+ factory(
30
+ window.jQuery,
31
+ window.tmpl
32
+ );
33
+ }
34
+ }(function ($, tmpl) {
35
+ 'use strict';
36
+
37
+ $.blueimp.fileupload.prototype._specialOptions.push(
38
+ 'filesContainer',
39
+ 'uploadTemplateId',
40
+ 'downloadTemplateId'
41
+ );
42
+
43
+ // The UI version extends the file upload widget
44
+ // and adds complete user interface interaction:
45
+ $.widget('blueimp.fileupload', $.blueimp.fileupload, {
46
+
47
+ options: {
48
+ // By default, files added to the widget are uploaded as soon
49
+ // as the user clicks on the start buttons. To enable automatic
50
+ // uploads, set the following option to true:
51
+ autoUpload: false,
52
+ // The ID of the upload template:
53
+ uploadTemplateId: 'template-upload',
54
+ // The ID of the download template:
55
+ downloadTemplateId: 'template-download',
56
+ // The container for the list of files. If undefined, it is set to
57
+ // an element with class "files" inside of the widget element:
58
+ filesContainer: undefined,
59
+ // By default, files are appended to the files container.
60
+ // Set the following option to true, to prepend files instead:
61
+ prependFiles: false,
62
+ // The expected data type of the upload response, sets the dataType
63
+ // option of the $.ajax upload requests:
64
+ dataType: 'json',
65
+
66
+ // Function returning the current number of files,
67
+ // used by the maxNumberOfFiles validation:
68
+ getNumberOfFiles: function () {
69
+ return this.filesContainer.children()
70
+ .not('.processing').length;
71
+ },
72
+
73
+ // Callback to retrieve the list of files from the server response:
74
+ getFilesFromResponse: function (data) {
75
+ if (data.result && $.isArray(data.result.files)) {
76
+ return data.result.files;
77
+ }
78
+ return [];
79
+ },
80
+
81
+ // The add callback is invoked as soon as files are added to the fileupload
82
+ // widget (via file input selection, drag & drop or add API call).
83
+ // See the basic file upload widget for more information:
84
+ add: function (e, data) {
85
+ if (e.isDefaultPrevented()) {
86
+ return false;
87
+ }
88
+ var $this = $(this),
89
+ that = $this.data('blueimp-fileupload') ||
90
+ $this.data('fileupload'),
91
+ options = that.options;
92
+ data.context = that._renderUpload(data.files)
93
+ .data('data', data)
94
+ .addClass('processing');
95
+ options.filesContainer[
96
+ options.prependFiles ? 'prepend' : 'append'
97
+ ](data.context);
98
+ that._forceReflow(data.context);
99
+ that._transition(data.context);
100
+ data.process(function () {
101
+ return $this.fileupload('process', data);
102
+ }).always(function () {
103
+ data.context.each(function (index) {
104
+ $(this).find('.size').text(
105
+ that._formatFileSize(data.files[index].size)
106
+ );
107
+ }).removeClass('processing');
108
+ that._renderPreviews(data);
109
+ }).done(function () {
110
+ data.context.find('.start').prop('disabled', false);
111
+ if ((that._trigger('added', e, data) !== false) &&
112
+ (options.autoUpload || data.autoUpload) &&
113
+ data.autoUpload !== false) {
114
+ data.submit();
115
+ }
116
+ }).fail(function () {
117
+ if (data.files.error) {
118
+ data.context.each(function (index) {
119
+ var error = data.files[index].error;
120
+ if (error) {
121
+ $(this).find('.error').text(error);
122
+ }
123
+ });
124
+ }
125
+ });
126
+ },
127
+ // Callback for the start of each file upload request:
128
+ send: function (e, data) {
129
+ if (e.isDefaultPrevented()) {
130
+ return false;
131
+ }
132
+ var that = $(this).data('blueimp-fileupload') ||
133
+ $(this).data('fileupload');
134
+ if (data.context && data.dataType &&
135
+ data.dataType.substr(0, 6) === 'iframe') {
136
+ // Iframe Transport does not support progress events.
137
+ // In lack of an indeterminate progress bar, we set
138
+ // the progress to 100%, showing the full animated bar:
139
+ data.context
140
+ .find('.progress').addClass(
141
+ !$.support.transition && 'progress-animated'
142
+ )
143
+ .attr('aria-valuenow', 100)
144
+ .children().first().css(
145
+ 'width',
146
+ '100%'
147
+ );
148
+ }
149
+ return that._trigger('sent', e, data);
150
+ },
151
+ // Callback for successful uploads:
152
+ done: function (e, data) {
153
+ if (e.isDefaultPrevented()) {
154
+ return false;
155
+ }
156
+ var that = $(this).data('blueimp-fileupload') ||
157
+ $(this).data('fileupload'),
158
+ getFilesFromResponse = data.getFilesFromResponse ||
159
+ that.options.getFilesFromResponse,
160
+ files = getFilesFromResponse(data),
161
+ template,
162
+ deferred;
163
+ if (data.context) {
164
+ data.context.each(function (index) {
165
+ var file = files[index] ||
166
+ {error: 'Empty file upload result'};
167
+ deferred = that._addFinishedDeferreds();
168
+ that._transition($(this)).done(
169
+ function () {
170
+ var node = $(this);
171
+ template = that._renderDownload([file])
172
+ .replaceAll(node);
173
+ that._forceReflow(template);
174
+ that._transition(template).done(
175
+ function () {
176
+ data.context = $(this);
177
+ that._trigger('completed', e, data);
178
+ that._trigger('finished', e, data);
179
+ deferred.resolve();
180
+ }
181
+ );
182
+ }
183
+ );
184
+ });
185
+ } else {
186
+ template = that._renderDownload(files)[
187
+ that.options.prependFiles ? 'prependTo' : 'appendTo'
188
+ ](that.options.filesContainer);
189
+ that._forceReflow(template);
190
+ deferred = that._addFinishedDeferreds();
191
+ that._transition(template).done(
192
+ function () {
193
+ data.context = $(this);
194
+ that._trigger('completed', e, data);
195
+ that._trigger('finished', e, data);
196
+ deferred.resolve();
197
+ }
198
+ );
199
+ }
200
+ },
201
+ // Callback for failed (abort or error) uploads:
202
+ fail: function (e, data) {
203
+ if (e.isDefaultPrevented()) {
204
+ return false;
205
+ }
206
+ var that = $(this).data('blueimp-fileupload') ||
207
+ $(this).data('fileupload'),
208
+ template,
209
+ deferred;
210
+ if (data.context) {
211
+ data.context.each(function (index) {
212
+ if (data.errorThrown !== 'abort') {
213
+ var file = data.files[index];
214
+ file.error = file.error || data.errorThrown ||
215
+ true;
216
+ deferred = that._addFinishedDeferreds();
217
+ that._transition($(this)).done(
218
+ function () {
219
+ var node = $(this);
220
+ template = that._renderDownload([file])
221
+ .replaceAll(node);
222
+ that._forceReflow(template);
223
+ that._transition(template).done(
224
+ function () {
225
+ data.context = $(this);
226
+ that._trigger('failed', e, data);
227
+ that._trigger('finished', e, data);
228
+ deferred.resolve();
229
+ }
230
+ );
231
+ }
232
+ );
233
+ } else {
234
+ deferred = that._addFinishedDeferreds();
235
+ that._transition($(this)).done(
236
+ function () {
237
+ $(this).remove();
238
+ that._trigger('failed', e, data);
239
+ that._trigger('finished', e, data);
240
+ deferred.resolve();
241
+ }
242
+ );
243
+ }
244
+ });
245
+ } else if (data.errorThrown !== 'abort') {
246
+ data.context = that._renderUpload(data.files)[
247
+ that.options.prependFiles ? 'prependTo' : 'appendTo'
248
+ ](that.options.filesContainer)
249
+ .data('data', data);
250
+ that._forceReflow(data.context);
251
+ deferred = that._addFinishedDeferreds();
252
+ that._transition(data.context).done(
253
+ function () {
254
+ data.context = $(this);
255
+ that._trigger('failed', e, data);
256
+ that._trigger('finished', e, data);
257
+ deferred.resolve();
258
+ }
259
+ );
260
+ } else {
261
+ that._trigger('failed', e, data);
262
+ that._trigger('finished', e, data);
263
+ that._addFinishedDeferreds().resolve();
264
+ }
265
+ },
266
+ // Callback for upload progress events:
267
+ progress: function (e, data) {
268
+ if (e.isDefaultPrevented()) {
269
+ return false;
270
+ }
271
+ var progress = Math.floor(data.loaded / data.total * 100);
272
+ if (data.context) {
273
+ data.context.each(function () {
274
+ $(this).find('.progress')
275
+ .attr('aria-valuenow', progress)
276
+ .children().first().css(
277
+ 'width',
278
+ progress + '%'
279
+ );
280
+ });
281
+ }
282
+ },
283
+ // Callback for global upload progress events:
284
+ progressall: function (e, data) {
285
+ if (e.isDefaultPrevented()) {
286
+ return false;
287
+ }
288
+ var $this = $(this),
289
+ progress = Math.floor(data.loaded / data.total * 100),
290
+ globalProgressNode = $this.find('.fileupload-progress'),
291
+ extendedProgressNode = globalProgressNode
292
+ .find('.progress-extended');
293
+ if (extendedProgressNode.length) {
294
+ extendedProgressNode.html(
295
+ ($this.data('blueimp-fileupload') || $this.data('fileupload'))
296
+ ._renderExtendedProgress(data)
297
+ );
298
+ }
299
+ globalProgressNode
300
+ .find('.progress')
301
+ .attr('aria-valuenow', progress)
302
+ .children().first().css(
303
+ 'width',
304
+ progress + '%'
305
+ );
306
+ },
307
+ // Callback for uploads start, equivalent to the global ajaxStart event:
308
+ start: function (e) {
309
+ if (e.isDefaultPrevented()) {
310
+ return false;
311
+ }
312
+ var that = $(this).data('blueimp-fileupload') ||
313
+ $(this).data('fileupload');
314
+ that._resetFinishedDeferreds();
315
+ that._transition($(this).find('.fileupload-progress')).done(
316
+ function () {
317
+ that._trigger('started', e);
318
+ }
319
+ );
320
+ },
321
+ // Callback for uploads stop, equivalent to the global ajaxStop event:
322
+ stop: function (e) {
323
+ if (e.isDefaultPrevented()) {
324
+ return false;
325
+ }
326
+ var that = $(this).data('blueimp-fileupload') ||
327
+ $(this).data('fileupload'),
328
+ deferred = that._addFinishedDeferreds();
329
+ $.when.apply($, that._getFinishedDeferreds())
330
+ .done(function () {
331
+ that._trigger('stopped', e);
332
+ });
333
+ that._transition($(this).find('.fileupload-progress')).done(
334
+ function () {
335
+ $(this).find('.progress')
336
+ .attr('aria-valuenow', '0')
337
+ .children().first().css('width', '0%');
338
+ $(this).find('.progress-extended').html(' ');
339
+ deferred.resolve();
340
+ }
341
+ );
342
+ },
343
+ processstart: function (e) {
344
+ if (e.isDefaultPrevented()) {
345
+ return false;
346
+ }
347
+ $(this).addClass('fileupload-processing');
348
+ },
349
+ processstop: function (e) {
350
+ if (e.isDefaultPrevented()) {
351
+ return false;
352
+ }
353
+ $(this).removeClass('fileupload-processing');
354
+ },
355
+ // Callback for file deletion:
356
+ destroy: function (e, data) {
357
+ if (e.isDefaultPrevented()) {
358
+ return false;
359
+ }
360
+ var that = $(this).data('blueimp-fileupload') ||
361
+ $(this).data('fileupload'),
362
+ removeNode = function () {
363
+ that._transition(data.context).done(
364
+ function () {
365
+ $(this).remove();
366
+ that._trigger('destroyed', e, data);
367
+ }
368
+ );
369
+ };
370
+ if (data.url) {
371
+ data.dataType = data.dataType || that.options.dataType;
372
+ $.ajax(data).done(removeNode).fail(function () {
373
+ that._trigger('destroyfailed', e, data);
374
+ });
375
+ } else {
376
+ removeNode();
377
+ }
378
+ }
379
+ },
380
+
381
+ _resetFinishedDeferreds: function () {
382
+ this._finishedUploads = [];
383
+ },
384
+
385
+ _addFinishedDeferreds: function (deferred) {
386
+ if (!deferred) {
387
+ deferred = $.Deferred();
388
+ }
389
+ this._finishedUploads.push(deferred);
390
+ return deferred;
391
+ },
392
+
393
+ _getFinishedDeferreds: function () {
394
+ return this._finishedUploads;
395
+ },
396
+
397
+ // Link handler, that allows to download files
398
+ // by drag & drop of the links to the desktop:
399
+ _enableDragToDesktop: function () {
400
+ var link = $(this),
401
+ url = link.prop('href'),
402
+ name = link.prop('download'),
403
+ type = 'application/octet-stream';
404
+ link.bind('dragstart', function (e) {
405
+ try {
406
+ e.originalEvent.dataTransfer.setData(
407
+ 'DownloadURL',
408
+ [type, name, url].join(':')
409
+ );
410
+ } catch (ignore) {}
411
+ });
412
+ },
413
+
414
+ _formatFileSize: function (bytes) {
415
+ if (typeof bytes !== 'number') {
416
+ return '';
417
+ }
418
+ if (bytes >= 1000000000) {
419
+ return (bytes / 1000000000).toFixed(2) + ' GB';
420
+ }
421
+ if (bytes >= 1000000) {
422
+ return (bytes / 1000000).toFixed(2) + ' MB';
423
+ }
424
+ return (bytes / 1000).toFixed(2) + ' KB';
425
+ },
426
+
427
+ _formatBitrate: function (bits) {
428
+ if (typeof bits !== 'number') {
429
+ return '';
430
+ }
431
+ if (bits >= 1000000000) {
432
+ return (bits / 1000000000).toFixed(2) + ' Gbit/s';
433
+ }
434
+ if (bits >= 1000000) {
435
+ return (bits / 1000000).toFixed(2) + ' Mbit/s';
436
+ }
437
+ if (bits >= 1000) {
438
+ return (bits / 1000).toFixed(2) + ' kbit/s';
439
+ }
440
+ return bits.toFixed(2) + ' bit/s';
441
+ },
442
+
443
+ _formatTime: function (seconds) {
444
+ var date = new Date(seconds * 1000),
445
+ days = Math.floor(seconds / 86400);
446
+ days = days ? days + 'd ' : '';
447
+ return days +
448
+ ('0' + date.getUTCHours()).slice(-2) + ':' +
449
+ ('0' + date.getUTCMinutes()).slice(-2) + ':' +
450
+ ('0' + date.getUTCSeconds()).slice(-2);
451
+ },
452
+
453
+ _formatPercentage: function (floatValue) {
454
+ return (floatValue * 100).toFixed(2) + ' %';
455
+ },
456
+
457
+ _renderExtendedProgress: function (data) {
458
+ return this._formatBitrate(data.bitrate) + ' | ' +
459
+ this._formatTime(
460
+ (data.total - data.loaded) * 8 / data.bitrate
461
+ ) + ' | ' +
462
+ this._formatPercentage(
463
+ data.loaded / data.total
464
+ ) + ' | ' +
465
+ this._formatFileSize(data.loaded) + ' / ' +
466
+ this._formatFileSize(data.total);
467
+ },
468
+
469
+ _renderTemplate: function (func, files) {
470
+ if (!func) {
471
+ return $();
472
+ }
473
+ var result = func({
474
+ files: files,
475
+ formatFileSize: this._formatFileSize,
476
+ options: this.options
477
+ });
478
+ if (result instanceof $) {
479
+ return result;
480
+ }
481
+ return $(this.options.templatesContainer).html(result).children();
482
+ },
483
+
484
+ _renderPreviews: function (data) {
485
+ data.context.find('.preview').each(function (index, elm) {
486
+ $(elm).append(data.files[index].preview);
487
+ });
488
+ },
489
+
490
+ _renderUpload: function (files) {
491
+ return this._renderTemplate(
492
+ this.options.uploadTemplate,
493
+ files
494
+ );
495
+ },
496
+
497
+ _renderDownload: function (files) {
498
+ return this._renderTemplate(
499
+ this.options.downloadTemplate,
500
+ files
501
+ ).find('a[download]').each(this._enableDragToDesktop).end();
502
+ },
503
+
504
+ _startHandler: function (e) {
505
+ e.preventDefault();
506
+ var button = $(e.currentTarget),
507
+ template = button.closest('.template-upload'),
508
+ data = template.data('data');
509
+ button.prop('disabled', true);
510
+ if (data && data.submit) {
511
+ data.submit();
512
+ }
513
+ },
514
+
515
+ _cancelHandler: function (e) {
516
+ e.preventDefault();
517
+ var template = $(e.currentTarget)
518
+ .closest('.template-upload,.template-download'),
519
+ data = template.data('data') || {};
520
+ data.context = data.context || template;
521
+ if (data.abort) {
522
+ data.abort();
523
+ } else {
524
+ data.errorThrown = 'abort';
525
+ this._trigger('fail', e, data);
526
+ }
527
+ },
528
+
529
+ _deleteHandler: function (e) {
530
+ e.preventDefault();
531
+ var button = $(e.currentTarget);
532
+ this._trigger('destroy', e, $.extend({
533
+ context: button.closest('.template-download'),
534
+ type: 'DELETE'
535
+ }, button.data()));
536
+ },
537
+
538
+ _forceReflow: function (node) {
539
+ return $.support.transition && node.length &&
540
+ node[0].offsetWidth;
541
+ },
542
+
543
+ _transition: function (node) {
544
+ var dfd = $.Deferred();
545
+ if ($.support.transition && node.hasClass('fade') && node.is(':visible')) {
546
+ node.bind(
547
+ $.support.transition.end,
548
+ function (e) {
549
+ // Make sure we don't respond to other transitions events
550
+ // in the container element, e.g. from button elements:
551
+ if (e.target === node[0]) {
552
+ node.unbind($.support.transition.end);
553
+ dfd.resolveWith(node);
554
+ }
555
+ }
556
+ ).toggleClass('in');
557
+ } else {
558
+ node.toggleClass('in');
559
+ dfd.resolveWith(node);
560
+ }
561
+ return dfd;
562
+ },
563
+
564
+ _initButtonBarEventHandlers: function () {
565
+ var fileUploadButtonBar = this.element.find('.fileupload-buttonbar'),
566
+ filesList = this.options.filesContainer;
567
+ this._on(fileUploadButtonBar.find('.start'), {
568
+ click: function (e) {
569
+ e.preventDefault();
570
+ filesList.find('.start').click();
571
+ }
572
+ });
573
+ this._on(fileUploadButtonBar.find('.cancel'), {
574
+ click: function (e) {
575
+ e.preventDefault();
576
+ filesList.find('.cancel').click();
577
+ }
578
+ });
579
+ this._on(fileUploadButtonBar.find('.delete'), {
580
+ click: function (e) {
581
+ e.preventDefault();
582
+ filesList.find('.toggle:checked')
583
+ .closest('.template-download')
584
+ .find('.delete').click();
585
+ fileUploadButtonBar.find('.toggle')
586
+ .prop('checked', false);
587
+ }
588
+ });
589
+ this._on(fileUploadButtonBar.find('.toggle'), {
590
+ change: function (e) {
591
+ filesList.find('.toggle').prop(
592
+ 'checked',
593
+ $(e.currentTarget).is(':checked')
594
+ );
595
+ }
596
+ });
597
+ },
598
+
599
+ _destroyButtonBarEventHandlers: function () {
600
+ this._off(
601
+ this.element.find('.fileupload-buttonbar')
602
+ .find('.start, .cancel, .delete'),
603
+ 'click'
604
+ );
605
+ this._off(
606
+ this.element.find('.fileupload-buttonbar .toggle'),
607
+ 'change.'
608
+ );
609
+ },
610
+
611
+ _initEventHandlers: function () {
612
+ this._super();
613
+ this._on(this.options.filesContainer, {
614
+ 'click .start': this._startHandler,
615
+ 'click .cancel': this._cancelHandler,
616
+ 'click .delete': this._deleteHandler
617
+ });
618
+ this._initButtonBarEventHandlers();
619
+ },
620
+
621
+ _destroyEventHandlers: function () {
622
+ this._destroyButtonBarEventHandlers();
623
+ this._off(this.options.filesContainer, 'click');
624
+ this._super();
625
+ },
626
+
627
+ _enableFileInputButton: function () {
628
+ this.element.find('.fileinput-button input')
629
+ .prop('disabled', false)
630
+ .parent().removeClass('disabled');
631
+ },
632
+
633
+ _disableFileInputButton: function () {
634
+ this.element.find('.fileinput-button input')
635
+ .prop('disabled', true)
636
+ .parent().addClass('disabled');
637
+ },
638
+
639
+ _initTemplates: function () {
640
+ var options = this.options;
641
+ options.templatesContainer = this.document[0].createElement(
642
+ options.filesContainer.prop('nodeName')
643
+ );
644
+ if (tmpl) {
645
+ if (options.uploadTemplateId) {
646
+ options.uploadTemplate = tmpl(options.uploadTemplateId);
647
+ }
648
+ if (options.downloadTemplateId) {
649
+ options.downloadTemplate = tmpl(options.downloadTemplateId);
650
+ }
651
+ }
652
+ },
653
+
654
+ _initFilesContainer: function () {
655
+ var options = this.options;
656
+ if (options.filesContainer === undefined) {
657
+ options.filesContainer = this.element.find('.files');
658
+ } else if (!(options.filesContainer instanceof $)) {
659
+ options.filesContainer = $(options.filesContainer);
660
+ }
661
+ },
662
+
663
+ _initSpecialOptions: function () {
664
+ this._super();
665
+ this._initFilesContainer();
666
+ this._initTemplates();
667
+ },
668
+
669
+ _create: function () {
670
+ this._super();
671
+ this._resetFinishedDeferreds();
672
+ if (!$.support.fileInput) {
673
+ this._disableFileInputButton();
674
+ }
675
+ },
676
+
677
+ enable: function () {
678
+ var wasDisabled = false;
679
+ if (this.options.disabled) {
680
+ wasDisabled = true;
681
+ }
682
+ this._super();
683
+ if (wasDisabled) {
684
+ this.element.find('input, button').prop('disabled', false);
685
+ this._enableFileInputButton();
686
+ }
687
+ },
688
+
689
+ disable: function () {
690
+ if (!this.options.disabled) {
691
+ this.element.find('input, button').prop('disabled', true);
692
+ this._disableFileInputButton();
693
+ }
694
+ this._super();
695
+ }
696
+
697
+ });
698
+
699
+ }));