administration-zero 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (462) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/CHANGELOG.md +0 -0
  4. data/CODE_OF_CONDUCT.md +84 -0
  5. data/Gemfile +8 -0
  6. data/Gemfile.lock +19 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +52 -0
  9. data/Rakefile +4 -0
  10. data/administration_zero.gemspec +22 -0
  11. data/lib/administration-zero.rb +1 -0
  12. data/lib/administration_zero/version.rb +3 -0
  13. data/lib/administration_zero.rb +4 -0
  14. data/lib/generators/admin/install/USAGE +5 -0
  15. data/lib/generators/admin/install/install_generator.rb +68 -0
  16. data/lib/generators/admin/install/templates/controllers/admin/application_controller.rb +13 -0
  17. data/lib/generators/admin/install/templates/controllers/admin/home_controller.rb +4 -0
  18. data/lib/generators/admin/install/templates/controllers/admin/password_resets_controller.rb +41 -0
  19. data/lib/generators/admin/install/templates/controllers/admin/sessions_controller.rb +25 -0
  20. data/lib/generators/admin/install/templates/controllers/admin/users_controller.rb +54 -0
  21. data/lib/generators/admin/install/templates/erb/admin/application/_flash_messages.html.erb +11 -0
  22. data/lib/generators/admin/install/templates/erb/admin/application/_footer.html.erb +34 -0
  23. data/lib/generators/admin/install/templates/erb/admin/application/_javascript_tags.html.erb +23 -0
  24. data/lib/generators/admin/install/templates/erb/admin/application/_page_header.html.erb +8 -0
  25. data/lib/generators/admin/install/templates/erb/admin/application/_page_header_actions.html.erb +5 -0
  26. data/lib/generators/admin/install/templates/erb/admin/application/_page_header_breadcrumb.html.erb +12 -0
  27. data/lib/generators/admin/install/templates/erb/admin/application/_pagination.html.erb +24 -0
  28. data/lib/generators/admin/install/templates/erb/admin/application/_primary_navbar.html.erb +67 -0
  29. data/lib/generators/admin/install/templates/erb/admin/application/_secondary_navbar.html.erb +31 -0
  30. data/lib/generators/admin/install/templates/erb/admin/application/_stylesheet_link_tags.html.erb +7 -0
  31. data/lib/generators/admin/install/templates/erb/admin/home/index.html.erb +8 -0
  32. data/lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb +23 -0
  33. data/lib/generators/admin/install/templates/erb/admin/password_resets/new.html.erb +17 -0
  34. data/lib/generators/admin/install/templates/erb/admin/sessions/new.html.erb +21 -0
  35. data/lib/generators/admin/install/templates/erb/admin/user_mailer/password_reset_provision.html.erb +11 -0
  36. data/lib/generators/admin/install/templates/erb/admin/user_mailer/password_reset_provision.text.erb +9 -0
  37. data/lib/generators/admin/install/templates/erb/admin/users/_form.html.erb +30 -0
  38. data/lib/generators/admin/install/templates/erb/admin/users/edit.html.erb +17 -0
  39. data/lib/generators/admin/install/templates/erb/admin/users/index.html.erb +73 -0
  40. data/lib/generators/admin/install/templates/erb/admin/users/new.html.erb +16 -0
  41. data/lib/generators/admin/install/templates/erb/admin/users/show.html.erb +33 -0
  42. data/lib/generators/admin/install/templates/erb/layouts/admin/application.html.erb +28 -0
  43. data/lib/generators/admin/install/templates/erb/layouts/admin/authentication.html.erb +34 -0
  44. data/lib/generators/admin/install/templates/helpers/admin/application_helper.rb +30 -0
  45. data/lib/generators/admin/install/templates/images/admin/avatars/000f.jpg +0 -0
  46. data/lib/generators/admin/install/templates/images/admin/avatars/000m.jpg +0 -0
  47. data/lib/generators/admin/install/templates/images/admin/avatars/001f.jpg +0 -0
  48. data/lib/generators/admin/install/templates/images/admin/avatars/001m.jpg +0 -0
  49. data/lib/generators/admin/install/templates/images/admin/avatars/002f.jpg +0 -0
  50. data/lib/generators/admin/install/templates/images/admin/avatars/002m.jpg +0 -0
  51. data/lib/generators/admin/install/templates/images/admin/avatars/003f.jpg +0 -0
  52. data/lib/generators/admin/install/templates/images/admin/avatars/003m.jpg +0 -0
  53. data/lib/generators/admin/install/templates/images/admin/avatars/004f.jpg +0 -0
  54. data/lib/generators/admin/install/templates/images/admin/avatars/004m.jpg +0 -0
  55. data/lib/generators/admin/install/templates/images/admin/avatars/005f.jpg +0 -0
  56. data/lib/generators/admin/install/templates/images/admin/avatars/005m.jpg +0 -0
  57. data/lib/generators/admin/install/templates/images/admin/avatars/006f.jpg +0 -0
  58. data/lib/generators/admin/install/templates/images/admin/avatars/006m.jpg +0 -0
  59. data/lib/generators/admin/install/templates/images/admin/avatars/007f.jpg +0 -0
  60. data/lib/generators/admin/install/templates/images/admin/avatars/007m.jpg +0 -0
  61. data/lib/generators/admin/install/templates/images/admin/avatars/008f.jpg +0 -0
  62. data/lib/generators/admin/install/templates/images/admin/avatars/008m.jpg +0 -0
  63. data/lib/generators/admin/install/templates/images/admin/avatars/009f.jpg +0 -0
  64. data/lib/generators/admin/install/templates/images/admin/avatars/009m.jpg +0 -0
  65. data/lib/generators/admin/install/templates/images/admin/avatars/010f.jpg +0 -0
  66. data/lib/generators/admin/install/templates/images/admin/avatars/010m.jpg +0 -0
  67. data/lib/generators/admin/install/templates/images/admin/avatars/011f.jpg +0 -0
  68. data/lib/generators/admin/install/templates/images/admin/avatars/011m.jpg +0 -0
  69. data/lib/generators/admin/install/templates/images/admin/avatars/012f.jpg +0 -0
  70. data/lib/generators/admin/install/templates/images/admin/avatars/012m.jpg +0 -0
  71. data/lib/generators/admin/install/templates/images/admin/avatars/013f.jpg +0 -0
  72. data/lib/generators/admin/install/templates/images/admin/avatars/013m.jpg +0 -0
  73. data/lib/generators/admin/install/templates/images/admin/avatars/014f.jpg +0 -0
  74. data/lib/generators/admin/install/templates/images/admin/avatars/014m.jpg +0 -0
  75. data/lib/generators/admin/install/templates/images/admin/avatars/015f.jpg +0 -0
  76. data/lib/generators/admin/install/templates/images/admin/avatars/015m.jpg +0 -0
  77. data/lib/generators/admin/install/templates/images/admin/avatars/016f.jpg +0 -0
  78. data/lib/generators/admin/install/templates/images/admin/avatars/016m.jpg +0 -0
  79. data/lib/generators/admin/install/templates/images/admin/avatars/017f.jpg +0 -0
  80. data/lib/generators/admin/install/templates/images/admin/avatars/017m.jpg +0 -0
  81. data/lib/generators/admin/install/templates/images/admin/avatars/018f.jpg +0 -0
  82. data/lib/generators/admin/install/templates/images/admin/avatars/018m.jpg +0 -0
  83. data/lib/generators/admin/install/templates/images/admin/avatars/019f.jpg +0 -0
  84. data/lib/generators/admin/install/templates/images/admin/avatars/019m.jpg +0 -0
  85. data/lib/generators/admin/install/templates/images/admin/avatars/020f.jpg +0 -0
  86. data/lib/generators/admin/install/templates/images/admin/avatars/020m.jpg +0 -0
  87. data/lib/generators/admin/install/templates/images/admin/avatars/021f.jpg +0 -0
  88. data/lib/generators/admin/install/templates/images/admin/avatars/021m.jpg +0 -0
  89. data/lib/generators/admin/install/templates/images/admin/avatars/022f.jpg +0 -0
  90. data/lib/generators/admin/install/templates/images/admin/avatars/022m.jpg +0 -0
  91. data/lib/generators/admin/install/templates/images/admin/avatars/023f.jpg +0 -0
  92. data/lib/generators/admin/install/templates/images/admin/avatars/023m.jpg +0 -0
  93. data/lib/generators/admin/install/templates/images/admin/avatars/024f.jpg +0 -0
  94. data/lib/generators/admin/install/templates/images/admin/avatars/024m.jpg +0 -0
  95. data/lib/generators/admin/install/templates/images/admin/avatars/025f.jpg +0 -0
  96. data/lib/generators/admin/install/templates/images/admin/avatars/025m.jpg +0 -0
  97. data/lib/generators/admin/install/templates/images/admin/avatars/026f.jpg +0 -0
  98. data/lib/generators/admin/install/templates/images/admin/avatars/026m.jpg +0 -0
  99. data/lib/generators/admin/install/templates/images/admin/avatars/027f.jpg +0 -0
  100. data/lib/generators/admin/install/templates/images/admin/avatars/027m.jpg +0 -0
  101. data/lib/generators/admin/install/templates/images/admin/avatars/028f.jpg +0 -0
  102. data/lib/generators/admin/install/templates/images/admin/avatars/028m.jpg +0 -0
  103. data/lib/generators/admin/install/templates/images/admin/avatars/029f.jpg +0 -0
  104. data/lib/generators/admin/install/templates/images/admin/avatars/029m.jpg +0 -0
  105. data/lib/generators/admin/install/templates/images/admin/avatars/030f.jpg +0 -0
  106. data/lib/generators/admin/install/templates/images/admin/avatars/030m.jpg +0 -0
  107. data/lib/generators/admin/install/templates/images/admin/avatars/031f.jpg +0 -0
  108. data/lib/generators/admin/install/templates/images/admin/avatars/031m.jpg +0 -0
  109. data/lib/generators/admin/install/templates/images/admin/avatars/032f.jpg +0 -0
  110. data/lib/generators/admin/install/templates/images/admin/avatars/032m.jpg +0 -0
  111. data/lib/generators/admin/install/templates/images/admin/avatars/033f.jpg +0 -0
  112. data/lib/generators/admin/install/templates/images/admin/avatars/033m.jpg +0 -0
  113. data/lib/generators/admin/install/templates/images/admin/avatars/034f.jpg +0 -0
  114. data/lib/generators/admin/install/templates/images/admin/avatars/034m.jpg +0 -0
  115. data/lib/generators/admin/install/templates/images/admin/avatars/035f.jpg +0 -0
  116. data/lib/generators/admin/install/templates/images/admin/avatars/035m.jpg +0 -0
  117. data/lib/generators/admin/install/templates/images/admin/avatars/036f.jpg +0 -0
  118. data/lib/generators/admin/install/templates/images/admin/avatars/036m.jpg +0 -0
  119. data/lib/generators/admin/install/templates/images/admin/avatars/037f.jpg +0 -0
  120. data/lib/generators/admin/install/templates/images/admin/avatars/037m.jpg +0 -0
  121. data/lib/generators/admin/install/templates/images/admin/avatars/038f.jpg +0 -0
  122. data/lib/generators/admin/install/templates/images/admin/avatars/038m.jpg +0 -0
  123. data/lib/generators/admin/install/templates/images/admin/avatars/039f.jpg +0 -0
  124. data/lib/generators/admin/install/templates/images/admin/avatars/039m.jpg +0 -0
  125. data/lib/generators/admin/install/templates/images/admin/avatars/040f.jpg +0 -0
  126. data/lib/generators/admin/install/templates/images/admin/avatars/040m.jpg +0 -0
  127. data/lib/generators/admin/install/templates/images/admin/avatars/041f.jpg +0 -0
  128. data/lib/generators/admin/install/templates/images/admin/avatars/041m.jpg +0 -0
  129. data/lib/generators/admin/install/templates/images/admin/avatars/042f.jpg +0 -0
  130. data/lib/generators/admin/install/templates/images/admin/avatars/042m.jpg +0 -0
  131. data/lib/generators/admin/install/templates/images/admin/avatars/043f.jpg +0 -0
  132. data/lib/generators/admin/install/templates/images/admin/avatars/043m.jpg +0 -0
  133. data/lib/generators/admin/install/templates/images/admin/avatars/044f.jpg +0 -0
  134. data/lib/generators/admin/install/templates/images/admin/avatars/044m.jpg +0 -0
  135. data/lib/generators/admin/install/templates/images/admin/avatars/045f.jpg +0 -0
  136. data/lib/generators/admin/install/templates/images/admin/avatars/045m.jpg +0 -0
  137. data/lib/generators/admin/install/templates/images/admin/avatars/046f.jpg +0 -0
  138. data/lib/generators/admin/install/templates/images/admin/avatars/046m.jpg +0 -0
  139. data/lib/generators/admin/install/templates/images/admin/avatars/047f.jpg +0 -0
  140. data/lib/generators/admin/install/templates/images/admin/avatars/047m.jpg +0 -0
  141. data/lib/generators/admin/install/templates/images/admin/avatars/048f.jpg +0 -0
  142. data/lib/generators/admin/install/templates/images/admin/avatars/048m.jpg +0 -0
  143. data/lib/generators/admin/install/templates/images/admin/avatars/049f.jpg +0 -0
  144. data/lib/generators/admin/install/templates/images/admin/avatars/049m.jpg +0 -0
  145. data/lib/generators/admin/install/templates/images/admin/avatars/050f.jpg +0 -0
  146. data/lib/generators/admin/install/templates/images/admin/avatars/050m.jpg +0 -0
  147. data/lib/generators/admin/install/templates/images/admin/avatars/051f.jpg +0 -0
  148. data/lib/generators/admin/install/templates/images/admin/avatars/051m.jpg +0 -0
  149. data/lib/generators/admin/install/templates/images/admin/avatars/052f.jpg +0 -0
  150. data/lib/generators/admin/install/templates/images/admin/avatars/052m.jpg +0 -0
  151. data/lib/generators/admin/install/templates/images/admin/avatars/053f.jpg +0 -0
  152. data/lib/generators/admin/install/templates/images/admin/avatars/053m.jpg +0 -0
  153. data/lib/generators/admin/install/templates/images/admin/avatars/054f.jpg +0 -0
  154. data/lib/generators/admin/install/templates/images/admin/avatars/054m.jpg +0 -0
  155. data/lib/generators/admin/install/templates/images/admin/avatars/055f.jpg +0 -0
  156. data/lib/generators/admin/install/templates/images/admin/avatars/055m.jpg +0 -0
  157. data/lib/generators/admin/install/templates/images/admin/avatars/056f.jpg +0 -0
  158. data/lib/generators/admin/install/templates/images/admin/avatars/056m.jpg +0 -0
  159. data/lib/generators/admin/install/templates/images/admin/avatars/057f.jpg +0 -0
  160. data/lib/generators/admin/install/templates/images/admin/avatars/057m.jpg +0 -0
  161. data/lib/generators/admin/install/templates/images/admin/avatars/058f.jpg +0 -0
  162. data/lib/generators/admin/install/templates/images/admin/avatars/058m.jpg +0 -0
  163. data/lib/generators/admin/install/templates/images/admin/avatars/059f.jpg +0 -0
  164. data/lib/generators/admin/install/templates/images/admin/avatars/059m.jpg +0 -0
  165. data/lib/generators/admin/install/templates/images/admin/avatars/060f.jpg +0 -0
  166. data/lib/generators/admin/install/templates/images/admin/avatars/060m.jpg +0 -0
  167. data/lib/generators/admin/install/templates/images/admin/avatars/061f.jpg +0 -0
  168. data/lib/generators/admin/install/templates/images/admin/avatars/061m.jpg +0 -0
  169. data/lib/generators/admin/install/templates/images/admin/avatars/062f.jpg +0 -0
  170. data/lib/generators/admin/install/templates/images/admin/avatars/062m.jpg +0 -0
  171. data/lib/generators/admin/install/templates/images/admin/avatars/063f.jpg +0 -0
  172. data/lib/generators/admin/install/templates/images/admin/avatars/063m.jpg +0 -0
  173. data/lib/generators/admin/install/templates/images/admin/avatars/064f.jpg +0 -0
  174. data/lib/generators/admin/install/templates/images/admin/avatars/064m.jpg +0 -0
  175. data/lib/generators/admin/install/templates/images/admin/avatars/065f.jpg +0 -0
  176. data/lib/generators/admin/install/templates/images/admin/avatars/065m.jpg +0 -0
  177. data/lib/generators/admin/install/templates/images/admin/avatars/066f.jpg +0 -0
  178. data/lib/generators/admin/install/templates/images/admin/avatars/066m.jpg +0 -0
  179. data/lib/generators/admin/install/templates/images/admin/avatars/067f.jpg +0 -0
  180. data/lib/generators/admin/install/templates/images/admin/avatars/067m.jpg +0 -0
  181. data/lib/generators/admin/install/templates/images/admin/avatars/068f.jpg +0 -0
  182. data/lib/generators/admin/install/templates/images/admin/avatars/068m.jpg +0 -0
  183. data/lib/generators/admin/install/templates/images/admin/avatars/069f.jpg +0 -0
  184. data/lib/generators/admin/install/templates/images/admin/avatars/069m.jpg +0 -0
  185. data/lib/generators/admin/install/templates/images/admin/avatars/070f.jpg +0 -0
  186. data/lib/generators/admin/install/templates/images/admin/avatars/070m.jpg +0 -0
  187. data/lib/generators/admin/install/templates/images/admin/avatars/071f.jpg +0 -0
  188. data/lib/generators/admin/install/templates/images/admin/avatars/071m.jpg +0 -0
  189. data/lib/generators/admin/install/templates/images/admin/avatars/072f.jpg +0 -0
  190. data/lib/generators/admin/install/templates/images/admin/avatars/072m.jpg +0 -0
  191. data/lib/generators/admin/install/templates/images/admin/avatars/073m.jpg +0 -0
  192. data/lib/generators/admin/install/templates/images/admin/avatars/074m.jpg +0 -0
  193. data/lib/generators/admin/install/templates/images/admin/browsers/brave.svg +1 -0
  194. data/lib/generators/admin/install/templates/images/admin/browsers/chrome.svg +1 -0
  195. data/lib/generators/admin/install/templates/images/admin/browsers/edge.svg +1 -0
  196. data/lib/generators/admin/install/templates/images/admin/browsers/electron.svg +1 -0
  197. data/lib/generators/admin/install/templates/images/admin/browsers/firefox.svg +1 -0
  198. data/lib/generators/admin/install/templates/images/admin/browsers/opera.svg +1 -0
  199. data/lib/generators/admin/install/templates/images/admin/browsers/safari.svg +1 -0
  200. data/lib/generators/admin/install/templates/images/admin/browsers/vivaldi.svg +1 -0
  201. data/lib/generators/admin/install/templates/images/admin/components/card-buttons.png +0 -0
  202. data/lib/generators/admin/install/templates/images/admin/components/card-comments.png +0 -0
  203. data/lib/generators/admin/install/templates/images/admin/components/card-ribbon.png +0 -0
  204. data/lib/generators/admin/install/templates/images/admin/components/card-tabs-bottom.png +0 -0
  205. data/lib/generators/admin/install/templates/images/admin/components/card-with-image.png +0 -0
  206. data/lib/generators/admin/install/templates/images/admin/components/empty.png +0 -0
  207. data/lib/generators/admin/install/templates/images/admin/components/input-colors.png +0 -0
  208. data/lib/generators/admin/install/templates/images/admin/components/input-image.png +0 -0
  209. data/lib/generators/admin/install/templates/images/admin/components/simple-avatar.png +0 -0
  210. data/lib/generators/admin/install/templates/images/admin/components/simple-card.png +0 -0
  211. data/lib/generators/admin/install/templates/images/admin/components/widget-revenue.png +0 -0
  212. data/lib/generators/admin/install/templates/images/admin/components/widget-sales.png +0 -0
  213. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/bitcoin.svg +1 -0
  214. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/cardano.svg +1 -0
  215. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/dash.svg +1 -0
  216. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/eos.svg +1 -0
  217. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/ethereum.svg +1 -0
  218. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/litecoin.svg +1 -0
  219. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/nem.svg +1 -0
  220. data/lib/generators/admin/install/templates/images/admin/crypto_currencies/ripple.svg +1 -0
  221. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_bug_fixing_oc7a.svg +1 -0
  222. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_joyride_hnno.svg +1 -0
  223. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_medicine_b1ol.svg +1 -0
  224. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_mobile_application_mr4r.svg +1 -0
  225. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_posting_photo_v65l.svg +1 -0
  226. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_printing_invoices_5r4r.svg +1 -0
  227. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_quitting_time_dm8t.svg +1 -0
  228. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_sign_in_e6hj.svg +1 -0
  229. data/lib/generators/admin/install/templates/images/admin/illustrations/undraw_work_together_h63l.svg +1 -0
  230. data/lib/generators/admin/install/templates/images/admin/logo-small-white.svg +3 -0
  231. data/lib/generators/admin/install/templates/images/admin/logo-small.svg +3 -0
  232. data/lib/generators/admin/install/templates/images/admin/logo-white.svg +4 -0
  233. data/lib/generators/admin/install/templates/images/admin/logo.svg +4 -0
  234. data/lib/generators/admin/install/templates/images/admin/og.png +0 -0
  235. data/lib/generators/admin/install/templates/images/admin/photos/06c56bb2dfad556b.jpg +0 -0
  236. data/lib/generators/admin/install/templates/images/admin/photos/0986f97be719fb9a.jpg +0 -0
  237. data/lib/generators/admin/install/templates/images/admin/photos/1194d63fe36a8670.jpg +0 -0
  238. data/lib/generators/admin/install/templates/images/admin/photos/1366fdc9b9b277e4.jpg +0 -0
  239. data/lib/generators/admin/install/templates/images/admin/photos/1b73704b282a8ec6.jpg +0 -0
  240. data/lib/generators/admin/install/templates/images/admin/photos/2492baa9758df1e4.jpg +0 -0
  241. data/lib/generators/admin/install/templates/images/admin/photos/2854fd67ddbd6217.jpg +0 -0
  242. data/lib/generators/admin/install/templates/images/admin/photos/35b88fc04a518c1b.jpg +0 -0
  243. data/lib/generators/admin/install/templates/images/admin/photos/3664593f945f0d8d.jpg +0 -0
  244. data/lib/generators/admin/install/templates/images/admin/photos/36e273986ed577b8.jpg +0 -0
  245. data/lib/generators/admin/install/templates/images/admin/photos/3b05a157d2edde04.jpg +0 -0
  246. data/lib/generators/admin/install/templates/images/admin/photos/3d2998219313cd37.jpg +0 -0
  247. data/lib/generators/admin/install/templates/images/admin/photos/446fb2d04445c2d9.jpg +0 -0
  248. data/lib/generators/admin/install/templates/images/admin/photos/4f668538bdd3fd7f.jpg +0 -0
  249. data/lib/generators/admin/install/templates/images/admin/photos/529078594c496ec5.jpg +0 -0
  250. data/lib/generators/admin/install/templates/images/admin/photos/5358d787242861c4.jpg +0 -0
  251. data/lib/generators/admin/install/templates/images/admin/photos/546fd146c83f428c.jpg +0 -0
  252. data/lib/generators/admin/install/templates/images/admin/photos/552683cc4e5f0e11.jpg +0 -0
  253. data/lib/generators/admin/install/templates/images/admin/photos/5614ec7eb9034d04.jpg +0 -0
  254. data/lib/generators/admin/install/templates/images/admin/photos/56614e12b2a7bd68.jpg +0 -0
  255. data/lib/generators/admin/install/templates/images/admin/photos/5749e5c54a61a45e.jpg +0 -0
  256. data/lib/generators/admin/install/templates/images/admin/photos/6ab3200b14549f8a.jpg +0 -0
  257. data/lib/generators/admin/install/templates/images/admin/photos/6d35d9a2bd6c63c2.jpg +0 -0
  258. data/lib/generators/admin/install/templates/images/admin/photos/6f6e2ef709fef97a.jpg +0 -0
  259. data/lib/generators/admin/install/templates/images/admin/photos/6fe407b4b13bbcde.jpg +0 -0
  260. data/lib/generators/admin/install/templates/images/admin/photos/75b555b99d5b38c4.jpg +0 -0
  261. data/lib/generators/admin/install/templates/images/admin/photos/77586f6ffa9fbc5e.jpg +0 -0
  262. data/lib/generators/admin/install/templates/images/admin/photos/7ce612d952e536b2.jpg +0 -0
  263. data/lib/generators/admin/install/templates/images/admin/photos/802a16cdf5ce3551.jpg +0 -0
  264. data/lib/generators/admin/install/templates/images/admin/photos/8a26974ee6444acd.jpg +0 -0
  265. data/lib/generators/admin/install/templates/images/admin/photos/8c13ad59f739558c.jpg +0 -0
  266. data/lib/generators/admin/install/templates/images/admin/photos/8d49f9c47fa68d5a.jpg +0 -0
  267. data/lib/generators/admin/install/templates/images/admin/photos/8fdeb4785d2b82ef.jpg +0 -0
  268. data/lib/generators/admin/install/templates/images/admin/photos/9f36332564ca271d.jpg +0 -0
  269. data/lib/generators/admin/install/templates/images/admin/photos/a12804818c417ea3.jpg +0 -0
  270. data/lib/generators/admin/install/templates/images/admin/photos/a159fb2bff29fda4.jpg +0 -0
  271. data/lib/generators/admin/install/templates/images/admin/photos/a4792dcce57ee13d.jpg +0 -0
  272. data/lib/generators/admin/install/templates/images/admin/photos/a74c41b6fb7fdf34.jpg +0 -0
  273. data/lib/generators/admin/install/templates/images/admin/photos/abb0721ac43820f9.jpg +0 -0
  274. data/lib/generators/admin/install/templates/images/admin/photos/c86352559904d222.jpg +0 -0
  275. data/lib/generators/admin/install/templates/images/admin/photos/cfb1041b0e366b9d.jpg +0 -0
  276. data/lib/generators/admin/install/templates/images/admin/photos/d366fc3df37fe65b.jpg +0 -0
  277. data/lib/generators/admin/install/templates/images/admin/photos/da6119936bd7f566.jpg +0 -0
  278. data/lib/generators/admin/install/templates/images/admin/photos/de6d0fd1feebb6a2.jpg +0 -0
  279. data/lib/generators/admin/install/templates/images/admin/photos/e8f47263360d96af.jpg +0 -0
  280. data/lib/generators/admin/install/templates/images/admin/photos/ecfed9fbf8a58836.jpg +0 -0
  281. data/lib/generators/admin/install/templates/images/admin/photos/f61b5f865012f200.jpg +0 -0
  282. data/lib/generators/admin/install/templates/images/admin/photos/f746d9f7fa60be79.jpg +0 -0
  283. data/lib/generators/admin/install/templates/images/admin/photos/f7f04e6a834b1959.jpg +0 -0
  284. data/lib/generators/admin/install/templates/images/admin/photos/f94e788e72666bfd.jpg +0 -0
  285. data/lib/generators/admin/install/templates/images/admin/photos/ff23569f1a45865d.jpg +0 -0
  286. data/lib/generators/admin/install/templates/images/admin/photos/ff54b43b56632883.jpg +0 -0
  287. data/lib/generators/admin/install/templates/images/admin/products/apple-iphone7-special.jpg +0 -0
  288. data/lib/generators/admin/install/templates/images/admin/products/apple-iphone7.jpg +0 -0
  289. data/lib/generators/admin/install/templates/images/admin/products/apple-macbook-pro.jpg +0 -0
  290. data/lib/generators/admin/install/templates/images/admin/products/gopro-hero.jpg +0 -0
  291. data/lib/generators/admin/install/templates/images/admin/products/huawei-mate.jpg +0 -0
  292. data/lib/generators/admin/install/templates/images/admin/products/lenovo-tab.jpg +0 -0
  293. data/lib/generators/admin/install/templates/images/admin/products/lg-g6.jpg +0 -0
  294. data/lib/generators/admin/install/templates/images/admin/products/msi.jpg +0 -0
  295. data/lib/generators/admin/install/templates/images/admin/products/product-1.jpg +0 -0
  296. data/lib/generators/admin/install/templates/images/admin/products/product-10.jpg +0 -0
  297. data/lib/generators/admin/install/templates/images/admin/products/product-11.jpg +0 -0
  298. data/lib/generators/admin/install/templates/images/admin/products/product-12.jpg +0 -0
  299. data/lib/generators/admin/install/templates/images/admin/products/product-13.jpg +0 -0
  300. data/lib/generators/admin/install/templates/images/admin/products/product-2.jpg +0 -0
  301. data/lib/generators/admin/install/templates/images/admin/products/product-3.jpg +0 -0
  302. data/lib/generators/admin/install/templates/images/admin/products/product-4.jpg +0 -0
  303. data/lib/generators/admin/install/templates/images/admin/products/product-5.jpg +0 -0
  304. data/lib/generators/admin/install/templates/images/admin/products/product-6.jpg +0 -0
  305. data/lib/generators/admin/install/templates/images/admin/products/product-7.jpg +0 -0
  306. data/lib/generators/admin/install/templates/images/admin/products/product-8.jpg +0 -0
  307. data/lib/generators/admin/install/templates/images/admin/products/product-9.jpg +0 -0
  308. data/lib/generators/admin/install/templates/images/admin/products/samsung-galaxy.jpg +0 -0
  309. data/lib/generators/admin/install/templates/images/admin/products/sony-kd.jpg +0 -0
  310. data/lib/generators/admin/install/templates/images/admin/products/xiaomi-mi.jpg +0 -0
  311. data/lib/generators/admin/install/templates/images/admin/sponsor-banner-homepage.svg +288 -0
  312. data/lib/generators/admin/install/templates/images/admin/sponsor-banner-readme.png +0 -0
  313. data/lib/generators/admin/install/templates/images/admin/tabler-preview.png +0 -0
  314. data/lib/generators/admin/install/templates/images/admin/tracks/014f38920ba75a4efd3488b4626cf6e16f94c9e5.jpg +0 -0
  315. data/lib/generators/admin/install/templates/images/admin/tracks/04168ff76158e7bed216979a5ea97c7e52b1e97c.jpg +0 -0
  316. data/lib/generators/admin/install/templates/images/admin/tracks/089726b25ce5a55b906b3b65580a517b65c7c881.jpg +0 -0
  317. data/lib/generators/admin/install/templates/images/admin/tracks/0b12aaeffdef54e56dda3c1b1cb5fbc8bc20f1ca.jpg +0 -0
  318. data/lib/generators/admin/install/templates/images/admin/tracks/0bb28beeb3f0b553d4b1b7a89061d72ad73b8a59.jpg +0 -0
  319. data/lib/generators/admin/install/templates/images/admin/tracks/0db34b6caab2312acdaee332be0c7a0ed3172a2a.jpg +0 -0
  320. data/lib/generators/admin/install/templates/images/admin/tracks/0dcc53286b2ed65d0667584ed5f557e385c25188.jpg +0 -0
  321. data/lib/generators/admin/install/templates/images/admin/tracks/11065380c7303972ca2d1d799d06f248fb442225.jpg +0 -0
  322. data/lib/generators/admin/install/templates/images/admin/tracks/1143cd331d7ff1c105fa8140d00edf286fb9f9a5.jpg +0 -0
  323. data/lib/generators/admin/install/templates/images/admin/tracks/18ca653b602887a9b211da03a7c26e8867b528e2.jpg +0 -0
  324. data/lib/generators/admin/install/templates/images/admin/tracks/1a9dab25976c706fffccb6bf2cf8a6f5eadd0d29.jpg +0 -0
  325. data/lib/generators/admin/install/templates/images/admin/tracks/213906d9faa26ccd959947613557ea3b75dde85b.jpg +0 -0
  326. data/lib/generators/admin/install/templates/images/admin/tracks/22c6434a15cc410c656356a9862a2afbe51205ff.jpg +0 -0
  327. data/lib/generators/admin/install/templates/images/admin/tracks/24b4146508ef0a7969de8d938ee875d0123989f6.jpg +0 -0
  328. data/lib/generators/admin/install/templates/images/admin/tracks/257b1dee9f7d1c6f41bfa567348f8444535feac6.jpg +0 -0
  329. data/lib/generators/admin/install/templates/images/admin/tracks/281357a445748bc906270ca7a01253f480eaf1b4.jpg +0 -0
  330. data/lib/generators/admin/install/templates/images/admin/tracks/285c50b8d12090ce411acf5eba9cca721a4a1c0a.jpg +0 -0
  331. data/lib/generators/admin/install/templates/images/admin/tracks/2be99e6ce2bb214a9072e315f4e17948af30af75.jpg +0 -0
  332. data/lib/generators/admin/install/templates/images/admin/tracks/2ccc3bd0455066a58b00083b3920c3642a072e42.jpg +0 -0
  333. data/lib/generators/admin/install/templates/images/admin/tracks/2e55b9c247cc6b0b713fbbce9db0527a932f8748.jpg +0 -0
  334. data/lib/generators/admin/install/templates/images/admin/tracks/2e7357491deb8a6796ee8d9181ca9ea1f407bb5f.jpg +0 -0
  335. data/lib/generators/admin/install/templates/images/admin/tracks/2fb88b8efab810c50670a2d9ca3abb2af35f01a0.jpg +0 -0
  336. data/lib/generators/admin/install/templates/images/admin/tracks/3144e46ee207860391866a086b41eb01749582d6.jpg +0 -0
  337. data/lib/generators/admin/install/templates/images/admin/tracks/363b158c2f5b904f9df760a6ae2b9aa2600e7521.jpg +0 -0
  338. data/lib/generators/admin/install/templates/images/admin/tracks/37c84d9b11d74b5625635a2c6c05aa80f4dc240c.jpg +0 -0
  339. data/lib/generators/admin/install/templates/images/admin/tracks/3abf5ca23380d633a3add2dab444b9a1b8012aeb.jpg +0 -0
  340. data/lib/generators/admin/install/templates/images/admin/tracks/41351ae11fec30f74422caffed8ba5a05d086d86.jpg +0 -0
  341. data/lib/generators/admin/install/templates/images/admin/tracks/446b2000ec677fed9e915790d8ee8ce021b7db72.jpg +0 -0
  342. data/lib/generators/admin/install/templates/images/admin/tracks/488f389cd61dba31b65e36768808c2d0da84737f.jpg +0 -0
  343. data/lib/generators/admin/install/templates/images/admin/tracks/49faef83b73d483c653f08aede55d81df52e9d18.jpg +0 -0
  344. data/lib/generators/admin/install/templates/images/admin/tracks/4d4ab714dfca7b9df41d4a02a2c39394ebdeb6b6.jpg +0 -0
  345. data/lib/generators/admin/install/templates/images/admin/tracks/4d78b06d3286a328a6a72268c474514f04932260.jpg +0 -0
  346. data/lib/generators/admin/install/templates/images/admin/tracks/4f6c0ba1317ea1d032ed8f1e5d51777f5ed78192.jpg +0 -0
  347. data/lib/generators/admin/install/templates/images/admin/tracks/56d8e3e1c597b0382c4dc236ba630d2a0f1eddf1.jpg +0 -0
  348. data/lib/generators/admin/install/templates/images/admin/tracks/5843ed4a56177db9ae39a09d23319f87a78ed7d6.jpg +0 -0
  349. data/lib/generators/admin/install/templates/images/admin/tracks/5a6c8514a481afe89cbf4f37b13dde14e62ed616.jpg +0 -0
  350. data/lib/generators/admin/install/templates/images/admin/tracks/5da09480ae1ab3f00cfaf6cd4e3a6ba03b4a5fd1.jpg +0 -0
  351. data/lib/generators/admin/install/templates/images/admin/tracks/5f9ed99f071ced583dfb5a1dcdac6c555dc755aa.jpg +0 -0
  352. data/lib/generators/admin/install/templates/images/admin/tracks/603793bf01019734d7b67b18f5e91220ea8deb14.jpg +0 -0
  353. data/lib/generators/admin/install/templates/images/admin/tracks/60e40883ae3c1edba925cedd554fc8dabc677ba1.jpg +0 -0
  354. data/lib/generators/admin/install/templates/images/admin/tracks/617c5567a6ed4342fb48df7ab753a8d9f2c0054b.jpg +0 -0
  355. data/lib/generators/admin/install/templates/images/admin/tracks/6207c3f216b3caeb36be9854040930819c38cf8d.jpg +0 -0
  356. data/lib/generators/admin/install/templates/images/admin/tracks/621d2909bcc2c26cd0b274aab0414c9d422a1576.jpg +0 -0
  357. data/lib/generators/admin/install/templates/images/admin/tracks/6607274645fa3302e4b885c1678e6e2fef40d889.jpg +0 -0
  358. data/lib/generators/admin/install/templates/images/admin/tracks/695dfa63a47c7db21c0124f1d598d54058063b94.jpg +0 -0
  359. data/lib/generators/admin/install/templates/images/admin/tracks/6ba02c2ab0ecc649a84fdafb4539e3ad71d0e6ab.jpg +0 -0
  360. data/lib/generators/admin/install/templates/images/admin/tracks/6bb542e3ff67f6a6ba2918bdff2e9c5bbabb94a1.jpg +0 -0
  361. data/lib/generators/admin/install/templates/images/admin/tracks/6e94ab39c917096d876b895dbab0019953d27a96.jpg +0 -0
  362. data/lib/generators/admin/install/templates/images/admin/tracks/71a9517412a65940f2203c7ee7b0eb352f31199c.jpg +0 -0
  363. data/lib/generators/admin/install/templates/images/admin/tracks/72c4be59e52052d4fa76c3abcf47921da517d88e.jpg +0 -0
  364. data/lib/generators/admin/install/templates/images/admin/tracks/73f4938130140174efb1cc0a82ececb277e40932.jpg +0 -0
  365. data/lib/generators/admin/install/templates/images/admin/tracks/748adbfec069804f4ce1c09f4bff86e0eb06f60e.jpg +0 -0
  366. data/lib/generators/admin/install/templates/images/admin/tracks/77b2563eda24abe226bc08d59a0dec59a07815e6.jpg +0 -0
  367. data/lib/generators/admin/install/templates/images/admin/tracks/77cb96a59f7a3bf4c6513781a1a48688f88330a3.jpg +0 -0
  368. data/lib/generators/admin/install/templates/images/admin/tracks/79b2422b467ad20c07576e8f8f5f2f1692ac7142.jpg +0 -0
  369. data/lib/generators/admin/install/templates/images/admin/tracks/7f6114053b1ad190459770bc7a941c95ca608b39.jpg +0 -0
  370. data/lib/generators/admin/install/templates/images/admin/tracks/7fb6b008325b9536dbd02ed14d0c47de59f65935.jpg +0 -0
  371. data/lib/generators/admin/install/templates/images/admin/tracks/81a97f9d44d189a959d4838364ee3d2056c88341.jpg +0 -0
  372. data/lib/generators/admin/install/templates/images/admin/tracks/8581468e913349d55449686175d6ad55f2efda47.jpg +0 -0
  373. data/lib/generators/admin/install/templates/images/admin/tracks/859337f0eaa49b1ad6ed76719b7c1ae26d6412c8.jpg +0 -0
  374. data/lib/generators/admin/install/templates/images/admin/tracks/896b2434b87ea37ba7f99183db5c99c60bc252a1.jpg +0 -0
  375. data/lib/generators/admin/install/templates/images/admin/tracks/8c48d9658ca7a04cebb1e568ffcca0c0c9fce576.jpg +0 -0
  376. data/lib/generators/admin/install/templates/images/admin/tracks/8ca79fea1c7bcd6e79eceb38d1f7b1a5c7b26d9f.jpg +0 -0
  377. data/lib/generators/admin/install/templates/images/admin/tracks/8ebf0216fa9d294177e79cfef03628ed68043454.jpg +0 -0
  378. data/lib/generators/admin/install/templates/images/admin/tracks/91f76bae8e1b8369fa2f4287af94d065d92e21cc.jpg +0 -0
  379. data/lib/generators/admin/install/templates/images/admin/tracks/93ad7f491db7df0cb517308e7bb847da41647618.jpg +0 -0
  380. data/lib/generators/admin/install/templates/images/admin/tracks/9901c9a39491c4456119dde7e626965c5342a6ba.jpg +0 -0
  381. data/lib/generators/admin/install/templates/images/admin/tracks/996e277d1049cef3442bc932c08d76e465436a18.jpg +0 -0
  382. data/lib/generators/admin/install/templates/images/admin/tracks/9b092f765831793404d46b816d688135ff32735f.jpg +0 -0
  383. data/lib/generators/admin/install/templates/images/admin/tracks/9d022729e6f9917b17800029b9308e8b563c7ab8.jpg +0 -0
  384. data/lib/generators/admin/install/templates/images/admin/tracks/9d99ddd56d7cf8599b6c8764fe62577df649de93.jpg +0 -0
  385. data/lib/generators/admin/install/templates/images/admin/tracks/9fa22d9c7a720db1e1addb60b86b6869851b4a76.jpg +0 -0
  386. data/lib/generators/admin/install/templates/images/admin/tracks/a4fb1d293bd8d3fd38352418c50fcf1369a7a87d.jpg +0 -0
  387. data/lib/generators/admin/install/templates/images/admin/tracks/a715f85cf0ba0cc2ed61e62d5441763871d83a5b.jpg +0 -0
  388. data/lib/generators/admin/install/templates/images/admin/tracks/a77d19d2ac9e19d59da67952fcf78c24d94f3848.jpg +0 -0
  389. data/lib/generators/admin/install/templates/images/admin/tracks/a8a4ee30b73a0454bd4d4245e36d87447c7f318d.jpg +0 -0
  390. data/lib/generators/admin/install/templates/images/admin/tracks/aa5b5b3795416a0e275d41838d9737c8faedad6c.jpg +0 -0
  391. data/lib/generators/admin/install/templates/images/admin/tracks/aac97056fc02fe02c7e95f7ff77a07c6e82f7d6e.jpg +0 -0
  392. data/lib/generators/admin/install/templates/images/admin/tracks/ab9e1e2e78d4f25e10364403dc13d7cffded6daf.jpg +0 -0
  393. data/lib/generators/admin/install/templates/images/admin/tracks/ac7215afbceb58c8a7f3713eaf9d00ff3d959779.jpg +0 -0
  394. data/lib/generators/admin/install/templates/images/admin/tracks/b089902e72614818a73c9dfc258633734761a6c1.jpg +0 -0
  395. data/lib/generators/admin/install/templates/images/admin/tracks/b114db565bfbdfed73f15cf11963428da1f10e90.jpg +0 -0
  396. data/lib/generators/admin/install/templates/images/admin/tracks/b77ddc595b81c3c9081fa38df536e47ccd08d5ac.jpg +0 -0
  397. data/lib/generators/admin/install/templates/images/admin/tracks/b8e4106aa31f47d16803def16904b0a7bc5e1a5a.jpg +0 -0
  398. data/lib/generators/admin/install/templates/images/admin/tracks/b93e4faa3b5300952e385b893e8d49037b7abc6e.jpg +0 -0
  399. data/lib/generators/admin/install/templates/images/admin/tracks/baa69b4e848c9ac4859aa7fd33ca592d384ebd94.jpg +0 -0
  400. data/lib/generators/admin/install/templates/images/admin/tracks/c07289080dac8c111fddc6fddcf239c645daac9d.jpg +0 -0
  401. data/lib/generators/admin/install/templates/images/admin/tracks/c396ca27ce8cfe43c41bff9cce5aadbb481bb3a0.jpg +0 -0
  402. data/lib/generators/admin/install/templates/images/admin/tracks/c3f13b4f7a674abda9aa36fd72fa341e918c0f26.jpg +0 -0
  403. data/lib/generators/admin/install/templates/images/admin/tracks/c6d8adf2461ca3e91156b645be472fbe1dcb0fc8.jpg +0 -0
  404. data/lib/generators/admin/install/templates/images/admin/tracks/c75a4b750f94fda9d1108c26d28ad47b69c46f09.jpg +0 -0
  405. data/lib/generators/admin/install/templates/images/admin/tracks/c76f990296ba4b77c85b569ca311f5eefbcf75e5.jpg +0 -0
  406. data/lib/generators/admin/install/templates/images/admin/tracks/c903b69c7c123786eb658afbbacbeb0a61fc108f.jpg +0 -0
  407. data/lib/generators/admin/install/templates/images/admin/tracks/c976bfc96d5e44820e553a16a6097cd02a61fd2f.jpg +0 -0
  408. data/lib/generators/admin/install/templates/images/admin/tracks/c9a8350feee77e9345eec4155cddc96694803d1a.jpg +0 -0
  409. data/lib/generators/admin/install/templates/images/admin/tracks/caf848886b4cd05003fb342f928b64ea09b305f3.jpg +0 -0
  410. data/lib/generators/admin/install/templates/images/admin/tracks/cc955a4bee6a76a217de86ce72dc3c304186bc7d.jpg +0 -0
  411. data/lib/generators/admin/install/templates/images/admin/tracks/cefff458b9d5cb4ce224de82dfddb390da9811ca.jpg +0 -0
  412. data/lib/generators/admin/install/templates/images/admin/tracks/cf0c8ff362a486a63527ac8c3fbec07b30854866.jpg +0 -0
  413. data/lib/generators/admin/install/templates/images/admin/tracks/cfb2a532996512eff95c4b0d566d067384aaa441.jpg +0 -0
  414. data/lib/generators/admin/install/templates/images/admin/tracks/d07f62044c007eb1b21ceac4c57a19b552797509.jpg +0 -0
  415. data/lib/generators/admin/install/templates/images/admin/tracks/d0b9aed7b44169ef38398496c8eb0fed14da89d2.jpg +0 -0
  416. data/lib/generators/admin/install/templates/images/admin/tracks/d3138273a495bdbc3e7f2b6a0b69213dceccfb66.jpg +0 -0
  417. data/lib/generators/admin/install/templates/images/admin/tracks/d35863120ae67588110c66bfa534bb645cf99a16.jpg +0 -0
  418. data/lib/generators/admin/install/templates/images/admin/tracks/d4e02c12a8ef14462f3b4f15df6398cdcfec9898.jpg +0 -0
  419. data/lib/generators/admin/install/templates/images/admin/tracks/d5fd5256e0763c1e9f60b054e33e82ca08fdeca8.jpg +0 -0
  420. data/lib/generators/admin/install/templates/images/admin/tracks/d85ff971ec79f3cb6743540ed0f416e2d0a1c311.jpg +0 -0
  421. data/lib/generators/admin/install/templates/images/admin/tracks/da194bbe320834f7cc18b51ab2a69ea0fcc93d3e.jpg +0 -0
  422. data/lib/generators/admin/install/templates/images/admin/tracks/dd00b1d051d4997779bf48fa56e6ecb6583ac4cc.jpg +0 -0
  423. data/lib/generators/admin/install/templates/images/admin/tracks/eb33214151082431206ab6e1ad4bbf83f487d58e.jpg +0 -0
  424. data/lib/generators/admin/install/templates/images/admin/tracks/ef96f4e6be04b4b8bde0861bd3d6b54f6c39408b.jpg +0 -0
  425. data/lib/generators/admin/install/templates/images/admin/tracks/f046d0f22f8b8f888f173758da202b54b309c3cb.jpg +0 -0
  426. data/lib/generators/admin/install/templates/images/admin/tracks/f04bb6fba32e89475d9981007aff21e13745dec2.jpg +0 -0
  427. data/lib/generators/admin/install/templates/images/admin/tracks/f164a2ba24b716986dbbf2c40d34e5c84bddeec3.jpg +0 -0
  428. data/lib/generators/admin/install/templates/images/admin/tracks/f34590c6e7b48c89e9e7b0b26586a47e1f427f65.jpg +0 -0
  429. data/lib/generators/admin/install/templates/images/admin/tracks/f4e96086f44c4dff1758b1fc1338cd88c1b5ce9c.jpg +0 -0
  430. data/lib/generators/admin/install/templates/images/admin/tracks/f54d58d3c8ff2fb935cfbd8461a7bf867ec88e8b.jpg +0 -0
  431. data/lib/generators/admin/install/templates/images/admin/tracks/f59354f8d3f2841e44c1bd7aa0cd55a22843cfc7.jpg +0 -0
  432. data/lib/generators/admin/install/templates/images/admin/tracks/f891f1864651e04eb94edd64b8e707e150e2425f.jpg +0 -0
  433. data/lib/generators/admin/install/templates/images/admin/tracks/fa3c3fea65a9a175bcf1fcd36d3c71763b5dc451.jpg +0 -0
  434. data/lib/generators/admin/install/templates/images/admin/tracks/fb4998c955d8eba049ffbfc7ab8523a4a4a1f7e9.jpg +0 -0
  435. data/lib/generators/admin/install/templates/images/admin/tracks/fe4ee21d30450829e5b172e806b3c1e14ca1e5f3.jpg +0 -0
  436. data/lib/generators/admin/install/templates/images/admin/tracks/ff2381a011d29cefb3804436ed29f60b4faa63d6.jpg +0 -0
  437. data/lib/generators/admin/install/templates/mailers/admin/user_mailer.rb +8 -0
  438. data/lib/generators/admin/install/templates/migrations/create_admin_users.rb.tt +12 -0
  439. data/lib/generators/admin/install/templates/models/admin/current.rb +3 -0
  440. data/lib/generators/admin/install/templates/models/admin_user.rb +15 -0
  441. data/lib/generators/admin/install/templates/models/application_record.rb +3 -0
  442. data/lib/generators/admin/install/templates/test_unit/admin_users.yml +5 -0
  443. data/lib/generators/admin/install/templates/test_unit/application_system_test_case.rb +15 -0
  444. data/lib/generators/admin/install/templates/test_unit/controllers/admin/home_controller_test.rb +12 -0
  445. data/lib/generators/admin/install/templates/test_unit/controllers/admin/password_resets_controller_test.rb +48 -0
  446. data/lib/generators/admin/install/templates/test_unit/controllers/admin/sessions_controller_test.rb +36 -0
  447. data/lib/generators/admin/install/templates/test_unit/controllers/admin/users_controller_test.rb +48 -0
  448. data/lib/generators/admin/install/templates/test_unit/system/admin/password_resets_test.rb +28 -0
  449. data/lib/generators/admin/install/templates/test_unit/system/admin/sessions_test.rb +24 -0
  450. data/lib/generators/admin/install/templates/test_unit/system/admin/users_test.rb +43 -0
  451. data/lib/generators/admin/install/templates/test_unit/test_helper.rb +16 -0
  452. data/lib/generators/admin/scaffold/USAGE +5 -0
  453. data/lib/generators/admin/scaffold/scaffold_generator.rb +87 -0
  454. data/lib/generators/admin/scaffold/templates/controller.rb.tt +58 -0
  455. data/lib/generators/admin/scaffold/templates/erb/_form.html.erb.tt +41 -0
  456. data/lib/generators/admin/scaffold/templates/erb/edit.html.erb.tt +17 -0
  457. data/lib/generators/admin/scaffold/templates/erb/index.html.erb.tt +77 -0
  458. data/lib/generators/admin/scaffold/templates/erb/new.html.erb.tt +16 -0
  459. data/lib/generators/admin/scaffold/templates/erb/show.html.erb.tt +37 -0
  460. data/lib/generators/admin/scaffold/templates/functional_test.rb.tt +53 -0
  461. data/lib/generators/admin/scaffold/templates/system_test.rb.tt +52 -0
  462. metadata +506 -0
@@ -0,0 +1,8 @@
1
+ class Admin::UserMailer < ApplicationMailer
2
+ def password_reset_provision
3
+ @admin_user = params[:admin_user]
4
+ @signed_id = @admin_user.signed_id(purpose: :password_reset, expires_in: 20.minutes)
5
+
6
+ mail to: @admin_user.email, subject: "Reset your password"
7
+ end
8
+ end
@@ -0,0 +1,12 @@
1
+ class <%= migration_class_name %> < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
2
+ def change
3
+ create_table :admin_users do |t|
4
+ t.string :email
5
+ t.string :password_digest
6
+
7
+ t.timestamps
8
+ end
9
+
10
+ add_index :admin_users, :email, unique: true
11
+ end
12
+ end
@@ -0,0 +1,3 @@
1
+ class Admin::Current < ActiveSupport::CurrentAttributes
2
+ attribute :user
3
+ end
@@ -0,0 +1,15 @@
1
+ class AdminUser < ApplicationRecord
2
+ include SpreadsheetArchitect
3
+
4
+ has_secure_password
5
+
6
+ validates :email, presence: true, uniqueness: true
7
+ validates_format_of :email, with: /\A[^@\s]+@[^@\s]+\z/
8
+
9
+ validates_length_of :password, minimum: 12, allow_nil: true
10
+ validates_format_of :password, with: /(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/, allow_nil: true, message: "might easily be guessed"
11
+
12
+ before_validation do
13
+ self.email = email.downcase.strip
14
+ end
15
+ end
@@ -0,0 +1,3 @@
1
+ class ApplicationRecord < ActiveRecord::Base
2
+ include SpreadsheetArchitect; primary_abstract_class
3
+ end
@@ -0,0 +1,5 @@
1
+ # Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ lazaro_nixon:
4
+ email: lazaronixon@hotmail.com
5
+ password_digest: <%= BCrypt::Password.create("Secret1*3*5*") %>
@@ -0,0 +1,15 @@
1
+ require "test_helper"
2
+
3
+ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
4
+ driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
5
+
6
+ def admin_sign_in_as(user)
7
+ visit admin_sign_in_url
8
+ fill_in :email, with: user.email
9
+ fill_in :password, with: "Secret1*3*5*"
10
+ click_on "Sign in"
11
+ assert_current_path admin_url
12
+
13
+ return user
14
+ end
15
+ end
@@ -0,0 +1,12 @@
1
+ require "test_helper"
2
+
3
+ class Admin::HomeControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @admin_user = admin_sign_in_as(admin_users(:lazaro_nixon))
6
+ end
7
+
8
+ test "should get index" do
9
+ get admin_url
10
+ assert_response :success
11
+ end
12
+ end
@@ -0,0 +1,48 @@
1
+ require "test_helper"
2
+
3
+ class Admin::PasswordResetsControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @admin_user = admin_users(:lazaro_nixon)
6
+ @sid = @admin_user.signed_id(purpose: :password_reset, expires_in: 20.minutes)
7
+ @sid_exp = @admin_user.signed_id(purpose: :password_reset, expires_in: 0.minutes)
8
+ end
9
+
10
+ test "should get new" do
11
+ get new_admin_password_reset_url
12
+ assert_response :success
13
+ end
14
+
15
+ test "should get edit" do
16
+ get edit_admin_password_reset_url(token: @sid)
17
+ assert_response :success
18
+ end
19
+
20
+ test "should send a password reset email" do
21
+ assert_enqueued_email_with Admin::UserMailer, :password_reset_provision, args: { admin_user: @admin_user } do
22
+ post admin_password_reset_url, params: { email: @admin_user.email }
23
+ end
24
+
25
+ assert_redirected_to admin_sign_in_url
26
+ end
27
+
28
+ test "should not send a password reset email to a nonexistent email" do
29
+ assert_no_enqueued_emails do
30
+ post admin_password_reset_url, params: { email: "invalid_email@hey.com" }
31
+ end
32
+
33
+ assert_redirected_to new_admin_password_reset_url
34
+ assert_equal "Sorry, we didn't recognize that email address", flash[:alert]
35
+ end
36
+
37
+ test "should update password" do
38
+ patch admin_password_reset_url, params: { token: @sid, password: "Secret6*4*2*", password_confirmation: "Secret6*4*2*" }
39
+ assert_redirected_to admin_sign_in_url
40
+ end
41
+
42
+ test "should not update password with expired token" do
43
+ patch admin_password_reset_url, params: { token: @sid_exp, password: "Secret6*4*2*", password_confirmation: "Secret6*4*2*" }
44
+
45
+ assert_redirected_to new_admin_password_reset_url
46
+ assert_equal "That password reset link is invalid", flash[:alert]
47
+ end
48
+ end
@@ -0,0 +1,36 @@
1
+ require "test_helper"
2
+
3
+ class Admin::SessionsControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @admin_user = admin_users(:lazaro_nixon)
6
+ end
7
+
8
+ test "should get new" do
9
+ get admin_sign_in_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should sign in" do
14
+ post admin_sign_in_url, params: { email: @admin_user.email, password: "Secret1*3*5*" }
15
+ assert_redirected_to admin_url
16
+
17
+ get admin_url
18
+ assert_response :success
19
+ end
20
+
21
+ test "should not sign in with wrong credentials" do
22
+ post admin_sign_in_url, params: { email: @admin_user.email, password: "SecretWrong1*3" }
23
+ assert_redirected_to admin_sign_in_url(email_hint: @admin_user.email)
24
+ assert_equal "That email or password is incorrect", flash[:alert]
25
+
26
+ get admin_url
27
+ assert_redirected_to admin_sign_in_url
28
+ end
29
+
30
+ test "should sign out" do
31
+ admin_sign_in_as @admin_user
32
+
33
+ delete admin_sign_out_url
34
+ assert_redirected_to admin_sign_in_url
35
+ end
36
+ end
@@ -0,0 +1,48 @@
1
+ require "test_helper"
2
+
3
+ class Admin::UsersControllerTest < ActionDispatch::IntegrationTest
4
+ setup do
5
+ @admin_user = admin_sign_in_as(admin_users(:lazaro_nixon))
6
+ end
7
+
8
+ test "should get index" do
9
+ get admin_users_url
10
+ assert_response :success
11
+ end
12
+
13
+ test "should get new" do
14
+ get new_admin_user_url
15
+ assert_response :success
16
+ end
17
+
18
+ test "should create admin_user" do
19
+ assert_difference("AdminUser.count") do
20
+ post admin_users_url, params: { admin_user: { email: "lazaronixon@hey.com", password: "Secret1*3*5*", password_confirmation: "Secret1*3*5*"} }
21
+ end
22
+
23
+ assert_redirected_to admin_user_url(AdminUser.last)
24
+ end
25
+
26
+ test "should show admin_user" do
27
+ get admin_user_url(@admin_user)
28
+ assert_response :success
29
+ end
30
+
31
+ test "should get edit" do
32
+ get edit_admin_user_url(@admin_user)
33
+ assert_response :success
34
+ end
35
+
36
+ test "should update admin_user" do
37
+ patch admin_user_url(@admin_user), params: { admin_user: { email: @admin_user.email, password: "NewSecret1*3*5*", password_confirmation: "NewSecret1*3*5*" } }
38
+ assert_redirected_to admin_user_url(@admin_user)
39
+ end
40
+
41
+ test "should destroy admin_user" do
42
+ assert_difference("AdminUser.count", -1) do
43
+ delete admin_user_url(@admin_user)
44
+ end
45
+
46
+ assert_redirected_to admin_users_url
47
+ end
48
+ end
@@ -0,0 +1,28 @@
1
+ require "application_system_test_case"
2
+
3
+ class Admin::PasswordResetsTest < ApplicationSystemTestCase
4
+ setup do
5
+ @admin_user = admin_users(:lazaro_nixon)
6
+ @sid = @admin_user.signed_id(purpose: :password_reset, expires_in: 20.minutes)
7
+ end
8
+
9
+ test "sending a password reset email" do
10
+ visit admin_sign_in_url
11
+ click_on "I forgot password"
12
+
13
+ fill_in "Email", with: @admin_user.email
14
+ click_on "Send me new password"
15
+
16
+ assert_text "Check your email for reset instructions"
17
+ end
18
+
19
+ test "updating password" do
20
+ visit edit_admin_password_reset_url(token: @sid)
21
+
22
+ fill_in "New password", with: "Secret6*4*2*"
23
+ fill_in "Confirm new password", with: "Secret6*4*2*"
24
+ click_on "Save changes"
25
+
26
+ assert_text "Your password was reset successfully. Please sign in"
27
+ end
28
+ end
@@ -0,0 +1,24 @@
1
+ require "application_system_test_case"
2
+
3
+ class Admin::SessionsTest < ApplicationSystemTestCase
4
+ setup do
5
+ @admin_user = admin_users(:lazaro_nixon)
6
+ end
7
+
8
+ test "signing in" do
9
+ visit admin_sign_in_url
10
+ fill_in "Email", with: @admin_user.email
11
+ fill_in "Password", with: "Secret1*3*5*"
12
+ click_on "Sign in"
13
+
14
+ assert_selector "h1", text: "Admin::Home#index"
15
+ end
16
+
17
+ test "signing out" do
18
+ admin_sign_in_as @admin_user
19
+ click_on "Paweł Kuna"
20
+ click_on "Logout"
21
+
22
+ assert_selector "h2", text: "Login to your account"
23
+ end
24
+ end