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,610 @@
1
+ /*!
2
+ * mustache.js - Logic-less {{mustache}} templates with JavaScript
3
+ * http://github.com/janl/mustache.js
4
+ */
5
+
6
+ /*global define: false*/
7
+
8
+ (function (root, factory) {
9
+ if (typeof exports === "object" && exports) {
10
+ module.exports = factory; // CommonJS
11
+ } else if (typeof define === "function" && define.amd) {
12
+ define(factory); // AMD
13
+ } else {
14
+ root.Mustache = factory; // <script>
15
+ }
16
+ }(this, (function () {
17
+
18
+ var exports = {};
19
+
20
+ exports.name = "mustache.js";
21
+ exports.version = "0.7.2";
22
+ exports.tags = ["{{", "}}"];
23
+
24
+ exports.Scanner = Scanner;
25
+ exports.Context = Context;
26
+ exports.Writer = Writer;
27
+
28
+ var whiteRe = /\s*/;
29
+ var spaceRe = /\s+/;
30
+ var nonSpaceRe = /\S/;
31
+ var eqRe = /\s*=/;
32
+ var curlyRe = /\s*\}/;
33
+ var tagRe = /#|\^|\/|>|\{|&|=|!/;
34
+
35
+ // Workaround for https://issues.apache.org/jira/browse/COUCHDB-577
36
+ // See https://github.com/janl/mustache.js/issues/189
37
+ function testRe(re, string) {
38
+ return RegExp.prototype.test.call(re, string);
39
+ }
40
+
41
+ function isWhitespace(string) {
42
+ return !testRe(nonSpaceRe, string);
43
+ }
44
+
45
+ var isArray = Array.isArray || function (obj) {
46
+ return Object.prototype.toString.call(obj) === "[object Array]";
47
+ };
48
+
49
+ function escapeRe(string) {
50
+ return string.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
51
+ }
52
+
53
+ var entityMap = {
54
+ "&": "&amp;",
55
+ "<": "&lt;",
56
+ ">": "&gt;",
57
+ '"': '&quot;',
58
+ "'": '&#39;',
59
+ "/": '&#x2F;'
60
+ };
61
+
62
+ function escapeHtml(string) {
63
+ return String(string).replace(/[&<>"'\/]/g, function (s) {
64
+ return entityMap[s];
65
+ });
66
+ }
67
+
68
+ // Export the escaping function so that the user may override it.
69
+ // See https://github.com/janl/mustache.js/issues/244
70
+ exports.escape = escapeHtml;
71
+
72
+ function Scanner(string) {
73
+ this.string = string;
74
+ this.tail = string;
75
+ this.pos = 0;
76
+ }
77
+
78
+ /**
79
+ * Returns `true` if the tail is empty (end of string).
80
+ */
81
+ Scanner.prototype.eos = function () {
82
+ return this.tail === "";
83
+ };
84
+
85
+ /**
86
+ * Tries to match the given regular expression at the current position.
87
+ * Returns the matched text if it can match, the empty string otherwise.
88
+ */
89
+ Scanner.prototype.scan = function (re) {
90
+ var match = this.tail.match(re);
91
+
92
+ if (match && match.index === 0) {
93
+ this.tail = this.tail.substring(match[0].length);
94
+ this.pos += match[0].length;
95
+ return match[0];
96
+ }
97
+
98
+ return "";
99
+ };
100
+
101
+ /**
102
+ * Skips all text until the given regular expression can be matched. Returns
103
+ * the skipped string, which is the entire tail if no match can be made.
104
+ */
105
+ Scanner.prototype.scanUntil = function (re) {
106
+ var match, pos = this.tail.search(re);
107
+
108
+ switch (pos) {
109
+ case -1:
110
+ match = this.tail;
111
+ this.pos += this.tail.length;
112
+ this.tail = "";
113
+ break;
114
+ case 0:
115
+ match = "";
116
+ break;
117
+ default:
118
+ match = this.tail.substring(0, pos);
119
+ this.tail = this.tail.substring(pos);
120
+ this.pos += pos;
121
+ }
122
+
123
+ return match;
124
+ };
125
+
126
+ function Context(view, parent) {
127
+ this.view = view;
128
+ this.parent = parent;
129
+ this.clearCache();
130
+ }
131
+
132
+ Context.make = function (view) {
133
+ return (view instanceof Context) ? view : new Context(view);
134
+ };
135
+
136
+ Context.prototype.clearCache = function () {
137
+ this._cache = {};
138
+ };
139
+
140
+ Context.prototype.push = function (view) {
141
+ return new Context(view, this);
142
+ };
143
+
144
+ Context.prototype.lookup = function (name) {
145
+ var value = this._cache[name];
146
+
147
+ if (!value) {
148
+ if (name === ".") {
149
+ value = this.view;
150
+ } else {
151
+ var context = this;
152
+
153
+ while (context) {
154
+ if (name.indexOf(".") > 0) {
155
+ var names = name.split("."), i = 0;
156
+
157
+ value = context.view;
158
+
159
+ while (value && i < names.length) {
160
+ value = value[names[i++]];
161
+ }
162
+ } else {
163
+ value = context.view[name];
164
+ }
165
+
166
+ if (value != null) {
167
+ break;
168
+ }
169
+
170
+ context = context.parent;
171
+ }
172
+ }
173
+
174
+ this._cache[name] = value;
175
+ }
176
+
177
+ if (typeof value === "function") {
178
+ value = value.call(this.view);
179
+ }
180
+
181
+ return value;
182
+ };
183
+
184
+ function Writer() {
185
+ this.clearCache();
186
+ }
187
+
188
+ Writer.prototype.clearCache = function () {
189
+ this._cache = {};
190
+ this._partialCache = {};
191
+ };
192
+
193
+ Writer.prototype.compile = function (template, tags) {
194
+ var fn = this._cache[template];
195
+
196
+ if (!fn) {
197
+ var tokens = exports.parse(template, tags);
198
+ fn = this._cache[template] = this.compileTokens(tokens, template);
199
+ }
200
+
201
+ return fn;
202
+ };
203
+
204
+ Writer.prototype.compilePartial = function (name, template, tags) {
205
+ var fn = this.compile(template, tags);
206
+ this._partialCache[name] = fn;
207
+ return fn;
208
+ };
209
+
210
+ Writer.prototype.compileTokens = function (tokens, template) {
211
+ var fn = compileTokens(tokens);
212
+ var self = this;
213
+
214
+ return function (view, partials) {
215
+ if (partials) {
216
+ if (typeof partials === "function") {
217
+ self._loadPartial = partials;
218
+ } else {
219
+ for (var name in partials) {
220
+ self.compilePartial(name, partials[name]);
221
+ }
222
+ }
223
+ }
224
+
225
+ return fn(self, Context.make(view), template);
226
+ };
227
+ };
228
+
229
+ Writer.prototype.render = function (template, view, partials) {
230
+ return this.compile(template)(view, partials);
231
+ };
232
+
233
+ Writer.prototype._section = function (name, context, text, callback) {
234
+ var value = context.lookup(name);
235
+
236
+ switch (typeof value) {
237
+ case "object":
238
+ if (isArray(value)) {
239
+ var buffer = "";
240
+
241
+ for (var i = 0, len = value.length; i < len; ++i) {
242
+ buffer += callback(this, context.push(value[i]));
243
+ }
244
+
245
+ return buffer;
246
+ }
247
+
248
+ return value ? callback(this, context.push(value)) : "";
249
+ case "function":
250
+ var self = this;
251
+ var scopedRender = function (template) {
252
+ return self.render(template, context);
253
+ };
254
+
255
+ var result = value.call(context.view, text, scopedRender);
256
+ return result != null ? result : "";
257
+ default:
258
+ if (value) {
259
+ return callback(this, context);
260
+ }
261
+ }
262
+
263
+ return "";
264
+ };
265
+
266
+ Writer.prototype._inverted = function (name, context, callback) {
267
+ var value = context.lookup(name);
268
+
269
+ // Use JavaScript's definition of falsy. Include empty arrays.
270
+ // See https://github.com/janl/mustache.js/issues/186
271
+ if (!value || (isArray(value) && value.length === 0)) {
272
+ return callback(this, context);
273
+ }
274
+
275
+ return "";
276
+ };
277
+
278
+ Writer.prototype._partial = function (name, context) {
279
+ if (!(name in this._partialCache) && this._loadPartial) {
280
+ this.compilePartial(name, this._loadPartial(name));
281
+ }
282
+
283
+ var fn = this._partialCache[name];
284
+
285
+ return fn ? fn(context) : "";
286
+ };
287
+
288
+ Writer.prototype._name = function (name, context) {
289
+ var value = context.lookup(name);
290
+
291
+ if (typeof value === "function") {
292
+ value = value.call(context.view);
293
+ }
294
+
295
+ return (value == null) ? "" : String(value);
296
+ };
297
+
298
+ Writer.prototype._escaped = function (name, context) {
299
+ return exports.escape(this._name(name, context));
300
+ };
301
+
302
+ /**
303
+ * Low-level function that compiles the given `tokens` into a function
304
+ * that accepts three arguments: a Writer, a Context, and the template.
305
+ */
306
+ function compileTokens(tokens) {
307
+ var subRenders = {};
308
+
309
+ function subRender(i, tokens, template) {
310
+ if (!subRenders[i]) {
311
+ var fn = compileTokens(tokens);
312
+ subRenders[i] = function (writer, context) {
313
+ return fn(writer, context, template);
314
+ };
315
+ }
316
+
317
+ return subRenders[i];
318
+ }
319
+
320
+ return function (writer, context, template) {
321
+ var buffer = "";
322
+ var token, sectionText;
323
+
324
+ for (var i = 0, len = tokens.length; i < len; ++i) {
325
+ token = tokens[i];
326
+
327
+ switch (token[0]) {
328
+ case "#":
329
+ sectionText = template.slice(token[3], token[5]);
330
+ buffer += writer._section(token[1], context, sectionText, subRender(i, token[4], template));
331
+ break;
332
+ case "^":
333
+ buffer += writer._inverted(token[1], context, subRender(i, token[4], template));
334
+ break;
335
+ case ">":
336
+ buffer += writer._partial(token[1], context);
337
+ break;
338
+ case "&":
339
+ buffer += writer._name(token[1], context);
340
+ break;
341
+ case "name":
342
+ buffer += writer._escaped(token[1], context);
343
+ break;
344
+ case "text":
345
+ buffer += token[1];
346
+ break;
347
+ }
348
+ }
349
+
350
+ return buffer;
351
+ };
352
+ }
353
+
354
+ /**
355
+ * Forms the given array of `tokens` into a nested tree structure where
356
+ * tokens that represent a section have two additional items: 1) an array of
357
+ * all tokens that appear in that section and 2) the index in the original
358
+ * template that represents the end of that section.
359
+ */
360
+ function nestTokens(tokens) {
361
+ var tree = [];
362
+ var collector = tree;
363
+ var sections = [];
364
+
365
+ var token;
366
+ for (var i = 0, len = tokens.length; i < len; ++i) {
367
+ token = tokens[i];
368
+ switch (token[0]) {
369
+ case '#':
370
+ case '^':
371
+ sections.push(token);
372
+ collector.push(token);
373
+ collector = token[4] = [];
374
+ break;
375
+ case '/':
376
+ var section = sections.pop();
377
+ section[5] = token[2];
378
+ collector = sections.length > 0 ? sections[sections.length - 1][4] : tree;
379
+ break;
380
+ default:
381
+ collector.push(token);
382
+ }
383
+ }
384
+
385
+ return tree;
386
+ }
387
+
388
+ /**
389
+ * Combines the values of consecutive text tokens in the given `tokens` array
390
+ * to a single token.
391
+ */
392
+ function squashTokens(tokens) {
393
+ var squashedTokens = [];
394
+
395
+ var token, lastToken;
396
+ for (var i = 0, len = tokens.length; i < len; ++i) {
397
+ token = tokens[i];
398
+ if (token[0] === 'text' && lastToken && lastToken[0] === 'text') {
399
+ lastToken[1] += token[1];
400
+ lastToken[3] = token[3];
401
+ } else {
402
+ lastToken = token;
403
+ squashedTokens.push(token);
404
+ }
405
+ }
406
+
407
+ return squashedTokens;
408
+ }
409
+
410
+ function escapeTags(tags) {
411
+ return [
412
+ new RegExp(escapeRe(tags[0]) + "\\s*"),
413
+ new RegExp("\\s*" + escapeRe(tags[1]))
414
+ ];
415
+ }
416
+
417
+ /**
418
+ * Breaks up the given `template` string into a tree of token objects. If
419
+ * `tags` is given here it must be an array with two string values: the
420
+ * opening and closing tags used in the template (e.g. ["<%", "%>"]). Of
421
+ * course, the default is to use mustaches (i.e. Mustache.tags).
422
+ */
423
+ exports.parse = function (template, tags) {
424
+ template = template || '';
425
+ tags = tags || exports.tags;
426
+
427
+ if (typeof tags === 'string') tags = tags.split(spaceRe);
428
+ if (tags.length !== 2) {
429
+ throw new Error('Invalid tags: ' + tags.join(', '));
430
+ }
431
+
432
+ var tagRes = escapeTags(tags);
433
+ var scanner = new Scanner(template);
434
+
435
+ var sections = []; // Stack to hold section tokens
436
+ var tokens = []; // Buffer to hold the tokens
437
+ var spaces = []; // Indices of whitespace tokens on the current line
438
+ var hasTag = false; // Is there a {{tag}} on the current line?
439
+ var nonSpace = false; // Is there a non-space char on the current line?
440
+
441
+ // Strips all whitespace tokens array for the current line
442
+ // if there was a {{#tag}} on it and otherwise only space.
443
+ function stripSpace() {
444
+ if (hasTag && !nonSpace) {
445
+ while (spaces.length) {
446
+ tokens.splice(spaces.pop(), 1);
447
+ }
448
+ } else {
449
+ spaces = [];
450
+ }
451
+
452
+ hasTag = false;
453
+ nonSpace = false;
454
+ }
455
+
456
+ var start, type, value, chr;
457
+ while (!scanner.eos()) {
458
+ start = scanner.pos;
459
+ value = scanner.scanUntil(tagRes[0]);
460
+
461
+ if (value) {
462
+ for (var i = 0, len = value.length; i < len; ++i) {
463
+ chr = value.charAt(i);
464
+
465
+ if (isWhitespace(chr)) {
466
+ spaces.push(tokens.length);
467
+ } else {
468
+ nonSpace = true;
469
+ }
470
+
471
+ tokens.push(["text", chr, start, start + 1]);
472
+ start += 1;
473
+
474
+ if (chr === "\n") {
475
+ stripSpace(); // Check for whitespace on the current line.
476
+ }
477
+ }
478
+ }
479
+
480
+ start = scanner.pos;
481
+
482
+ // Match the opening tag.
483
+ if (!scanner.scan(tagRes[0])) {
484
+ break;
485
+ }
486
+
487
+ hasTag = true;
488
+ type = scanner.scan(tagRe) || "name";
489
+
490
+ // Skip any whitespace between tag and value.
491
+ scanner.scan(whiteRe);
492
+
493
+ // Extract the tag value.
494
+ if (type === "=") {
495
+ value = scanner.scanUntil(eqRe);
496
+ scanner.scan(eqRe);
497
+ scanner.scanUntil(tagRes[1]);
498
+ } else if (type === "{") {
499
+ var closeRe = new RegExp("\\s*" + escapeRe("}" + tags[1]));
500
+ value = scanner.scanUntil(closeRe);
501
+ scanner.scan(curlyRe);
502
+ scanner.scanUntil(tagRes[1]);
503
+ type = "&";
504
+ } else {
505
+ value = scanner.scanUntil(tagRes[1]);
506
+ }
507
+
508
+ // Match the closing tag.
509
+ if (!scanner.scan(tagRes[1])) {
510
+ throw new Error('Unclosed tag at ' + scanner.pos);
511
+ }
512
+
513
+ // Check section nesting.
514
+ if (type === '/') {
515
+ if (sections.length === 0) {
516
+ throw new Error('Unopened section "' + value + '" at ' + start);
517
+ }
518
+
519
+ var section = sections.pop();
520
+
521
+ if (section[1] !== value) {
522
+ throw new Error('Unclosed section "' + section[1] + '" at ' + start);
523
+ }
524
+ }
525
+
526
+ var token = [type, value, start, scanner.pos];
527
+ tokens.push(token);
528
+
529
+ if (type === '#' || type === '^') {
530
+ sections.push(token);
531
+ } else if (type === "name" || type === "{" || type === "&") {
532
+ nonSpace = true;
533
+ } else if (type === "=") {
534
+ // Set the tags for the next time around.
535
+ tags = value.split(spaceRe);
536
+
537
+ if (tags.length !== 2) {
538
+ throw new Error('Invalid tags at ' + start + ': ' + tags.join(', '));
539
+ }
540
+
541
+ tagRes = escapeTags(tags);
542
+ }
543
+ }
544
+
545
+ // Make sure there are no open sections when we're done.
546
+ var section = sections.pop();
547
+ if (section) {
548
+ throw new Error('Unclosed section "' + section[1] + '" at ' + scanner.pos);
549
+ }
550
+
551
+ return nestTokens(squashTokens(tokens));
552
+ };
553
+
554
+ // The high-level clearCache, compile, compilePartial, and render functions
555
+ // use this default writer.
556
+ var _writer = new Writer();
557
+
558
+ /**
559
+ * Clears all cached templates and partials in the default writer.
560
+ */
561
+ exports.clearCache = function () {
562
+ return _writer.clearCache();
563
+ };
564
+
565
+ /**
566
+ * Compiles the given `template` to a reusable function using the default
567
+ * writer.
568
+ */
569
+ exports.compile = function (template, tags) {
570
+ return _writer.compile(template, tags);
571
+ };
572
+
573
+ /**
574
+ * Compiles the partial with the given `name` and `template` to a reusable
575
+ * function using the default writer.
576
+ */
577
+ exports.compilePartial = function (name, template, tags) {
578
+ return _writer.compilePartial(name, template, tags);
579
+ };
580
+
581
+ /**
582
+ * Compiles the given array of tokens (the output of a parse) to a reusable
583
+ * function using the default writer.
584
+ */
585
+ exports.compileTokens = function (tokens, template) {
586
+ return _writer.compileTokens(tokens, template);
587
+ };
588
+
589
+ /**
590
+ * Renders the `template` with the given `view` and `partials` using the
591
+ * default writer.
592
+ */
593
+ exports.render = function (template, view, partials) {
594
+ return _writer.render(template, view, partials);
595
+ };
596
+
597
+ // This is here for backwards compatibility with 0.4.x.
598
+ exports.to_html = function (template, view, partials, send) {
599
+ var result = exports.render(template, view, partials);
600
+
601
+ if (typeof send === "function") {
602
+ send(result);
603
+ } else {
604
+ return result;
605
+ }
606
+ };
607
+
608
+ return exports;
609
+
610
+ }())));