adminlte2-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +30 -13
  4. data/lib/adminlte2/rails/version.rb +1 -1
  5. data/lib/generators/{admin_lte → admin_lte2}/USAGE +0 -0
  6. data/lib/generators/{admin_lte/admin_lte_generator.rb → admin_lte2/admin_lte2_generator.rb} +27 -10
  7. data/lib/generators/{admin_lte → admin_lte2}/templates/_admin_lte_2_header.html.erb +0 -0
  8. data/lib/generators/{admin_lte → admin_lte2}/templates/_admin_lte_2_sidebar.html.erb +0 -0
  9. data/lib/generators/{admin_lte → admin_lte2}/templates/admin_lte_2.html.erb +0 -0
  10. data/lib/generators/{admin_lte → admin_lte2}/templates/admin_lte_2_login.html.erb +0 -0
  11. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/USAGE +3 -1
  12. data/lib/generators/{admin_lte_plugins/admin_lte_plugins_generator.rb → admin_lte2_plugins/admin_lte2_plugins_generator.rb} +30 -3
  13. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/ChartJS/Chart.js +0 -0
  14. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/Sparkline/jquery.sparkline.js +0 -0
  15. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-slider/bootstrap-slider.js +0 -0
  16. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-slider/slider.css +0 -0
  17. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-wysihtml5/bootstrap3-wysihtml5.css +0 -0
  18. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-wysihtml5/bootstrap3-wysihtml5.js +0 -0
  19. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/bootstrap-colorpicker.css +0 -0
  20. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/bootstrap-colorpicker.js +0 -0
  21. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/alpha-horizontal.png +0 -0
  22. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/alpha.png +0 -0
  23. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/hue-horizontal.png +0 -0
  24. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/hue.png +0 -0
  25. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/saturation.png +0 -0
  26. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/bootstrap-datepicker.js +0 -0
  27. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/datepicker3.css +0 -0
  28. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ar.js +0 -0
  29. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.az.js +0 -0
  30. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.bg.js +0 -0
  31. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ca.js +0 -0
  32. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.cs.js +0 -0
  33. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.cy.js +0 -0
  34. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.da.js +0 -0
  35. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.de.js +0 -0
  36. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.el.js +0 -0
  37. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.es.js +0 -0
  38. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.et.js +0 -0
  39. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.fa.js +0 -0
  40. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.fi.js +0 -0
  41. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.fr.js +0 -0
  42. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.gl.js +0 -0
  43. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.he.js +0 -0
  44. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.hr.js +0 -0
  45. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.hu.js +0 -0
  46. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.id.js +0 -0
  47. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.is.js +0 -0
  48. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.it.js +0 -0
  49. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ja.js +0 -0
  50. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ka.js +0 -0
  51. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.kk.js +0 -0
  52. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.kr.js +0 -0
  53. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.lt.js +0 -0
  54. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.lv.js +0 -0
  55. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.mk.js +0 -0
  56. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ms.js +0 -0
  57. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.nb.js +0 -0
  58. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.nl-BE.js +0 -0
  59. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.nl.js +0 -0
  60. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.no.js +0 -0
  61. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.pl.js +0 -0
  62. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.pt-BR.js +0 -0
  63. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.pt.js +0 -0
  64. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ro.js +0 -0
  65. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.rs-latin.js +0 -0
  66. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.rs.js +0 -0
  67. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ru.js +0 -0
  68. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sk.js +0 -0
  69. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sl.js +0 -0
  70. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sq.js +0 -0
  71. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sv.js +0 -0
  72. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sw.js +0 -0
  73. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.th.js +0 -0
  74. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.tr.js +0 -0
  75. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ua.js +0 -0
  76. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.vi.js +0 -0
  77. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.zh-CN.js +0 -0
  78. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.zh-TW.js +0 -0
  79. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/daterangepicker/daterangepicker-bs3.css +0 -0
  80. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/daterangepicker/daterangepicker.js +0 -0
  81. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.css +0 -0
  82. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.js +0 -0
  83. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.print.css +0 -0
  84. data/lib/generators/admin_lte2_plugins/templates/iCheck/all.css +61 -0
  85. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/_all.css +560 -0
  86. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/aero.css +56 -0
  87. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/aero.png +0 -0
  88. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/aero@2x.png +0 -0
  89. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/blue.css +56 -0
  90. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/blue.png +0 -0
  91. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/blue@2x.png +0 -0
  92. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/flat.css +56 -0
  93. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/flat.png +0 -0
  94. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/flat@2x.png +0 -0
  95. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/green.css +56 -0
  96. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/green.png +0 -0
  97. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/green@2x.png +0 -0
  98. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/grey.css +56 -0
  99. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/grey.png +0 -0
  100. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/grey@2x.png +0 -0
  101. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/orange.css +56 -0
  102. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/orange.png +0 -0
  103. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/orange@2x.png +0 -0
  104. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/pink.css +56 -0
  105. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/pink.png +0 -0
  106. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/pink@2x.png +0 -0
  107. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/purple.css +56 -0
  108. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/purple.png +0 -0
  109. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/purple@2x.png +0 -0
  110. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/red.css +56 -0
  111. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/red.png +0 -0
  112. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/red@2x.png +0 -0
  113. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/yellow.css +56 -0
  114. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/yellow.png +0 -0
  115. data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/yellow@2x.png +0 -0
  116. data/lib/generators/admin_lte2_plugins/templates/iCheck/futurico/futurico.css +56 -0
  117. data/lib/generators/admin_lte2_plugins/templates/iCheck/futurico/futurico.png +0 -0
  118. data/lib/generators/admin_lte2_plugins/templates/iCheck/futurico/futurico@2x.png +0 -0
  119. data/lib/generators/admin_lte2_plugins/templates/iCheck/icheck.js +478 -0
  120. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/_all.css +740 -0
  121. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/aero.css +74 -0
  122. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/blue.css +74 -0
  123. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/green.css +74 -0
  124. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/grey.css +74 -0
  125. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/line.css +74 -0
  126. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/line.png +0 -0
  127. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/line@2x.png +0 -0
  128. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/orange.css +74 -0
  129. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/pink.css +74 -0
  130. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/purple.css +74 -0
  131. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/red.css +74 -0
  132. data/lib/generators/admin_lte2_plugins/templates/iCheck/line/yellow.css +74 -0
  133. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/_all.css +557 -0
  134. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/aero.css +62 -0
  135. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/aero.png +0 -0
  136. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/aero@2x.png +0 -0
  137. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/blue.css +62 -0
  138. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/blue.png +0 -0
  139. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/blue@2x.png +0 -0
  140. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/green.css +62 -0
  141. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/green.png +0 -0
  142. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/green@2x.png +0 -0
  143. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/grey.css +62 -0
  144. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/grey.png +0 -0
  145. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/grey@2x.png +0 -0
  146. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/minimal.css +62 -0
  147. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/minimal.png +0 -0
  148. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/minimal@2x.png +0 -0
  149. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/orange.css +62 -0
  150. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/orange.png +0 -0
  151. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/orange@2x.png +0 -0
  152. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/pink.css +62 -0
  153. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/pink.png +0 -0
  154. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/pink@2x.png +0 -0
  155. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/purple.css +62 -0
  156. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/purple.png +0 -0
  157. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/purple@2x.png +0 -0
  158. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/red.css +62 -0
  159. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/red.png +0 -0
  160. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/red@2x.png +0 -0
  161. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/yellow.css +62 -0
  162. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/yellow.png +0 -0
  163. data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/yellow@2x.png +0 -0
  164. data/lib/generators/admin_lte2_plugins/templates/iCheck/polaris/polaris.css +62 -0
  165. data/lib/generators/admin_lte2_plugins/templates/iCheck/polaris/polaris.png +0 -0
  166. data/lib/generators/admin_lte2_plugins/templates/iCheck/polaris/polaris@2x.png +0 -0
  167. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/_all.css +620 -0
  168. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/aero.css +62 -0
  169. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/aero.png +0 -0
  170. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/aero@2x.png +0 -0
  171. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/blue.css +62 -0
  172. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/blue.png +0 -0
  173. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/blue@2x.png +0 -0
  174. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/green.css +62 -0
  175. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/green.png +0 -0
  176. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/green@2x.png +0 -0
  177. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/grey.css +62 -0
  178. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/grey.png +0 -0
  179. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/grey@2x.png +0 -0
  180. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/orange.css +62 -0
  181. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/orange.png +0 -0
  182. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/orange@2x.png +0 -0
  183. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/pink.css +62 -0
  184. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/pink.png +0 -0
  185. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/pink@2x.png +0 -0
  186. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/purple.css +62 -0
  187. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/purple.png +0 -0
  188. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/purple@2x.png +0 -0
  189. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/red.css +62 -0
  190. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/red.png +0 -0
  191. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/red@2x.png +0 -0
  192. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/square.css +62 -0
  193. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/square.png +0 -0
  194. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/square@2x.png +0 -0
  195. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/yellow.css +62 -0
  196. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/yellow.png +0 -0
  197. data/lib/generators/admin_lte2_plugins/templates/iCheck/square/yellow@2x.png +0 -0
  198. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/jVectorMap/jquery-jvectormap-1.2.2.css +0 -0
  199. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/jVectorMap/jquery-jvectormap-1.2.2.min.js +0 -0
  200. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/jVectorMap/jquery-jvectormap-world-mill-en.js +0 -0
  201. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/knob/jquery.knob.js +0 -0
  202. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/morris/morris.css +0 -0
  203. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/morris/morris.js +0 -0
  204. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/pace/pace.js +0 -0
  205. data/lib/generators/admin_lte2_plugins/templates/slimScroll/jquery.slimscroll.js +490 -0
  206. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/timepicker/bootstrap-timepicker.css +0 -0
  207. data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/timepicker/bootstrap-timepicker.js +0 -0
  208. data/vendor/assets/javascripts/app.js +70 -70
  209. data/vendor/assets/stylesheets/{AdminLTE.css → AdminLTE/AdminLTE.css} +0 -0
  210. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/_all-skins.css +0 -0
  211. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/_all-skins.min.css +0 -0
  212. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-black.css +0 -0
  213. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-black.min.css +0 -0
  214. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-blue.css +0 -0
  215. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-blue.min.css +0 -0
  216. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-green.css +0 -0
  217. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-green.min.css +0 -0
  218. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-purple.css +0 -0
  219. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-purple.min.css +0 -0
  220. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-red.css +0 -0
  221. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-red.min.css +0 -0
  222. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-yellow.css +0 -0
  223. data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-yellow.min.css +0 -0
  224. metadata +221 -105
@@ -0,0 +1,56 @@
1
+ /* iCheck plugin Flat skin, red
2
+ ----------------------------------- */
3
+ .icheckbox_flat-red,
4
+ .iradio_flat-red {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 20px;
11
+ height: 20px;
12
+ background: url(red.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_flat-red {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_flat-red.checked {
21
+ background-position: -22px 0;
22
+ }
23
+ .icheckbox_flat-red.disabled {
24
+ background-position: -44px 0;
25
+ cursor: default;
26
+ }
27
+ .icheckbox_flat-red.checked.disabled {
28
+ background-position: -66px 0;
29
+ }
30
+
31
+ .iradio_flat-red {
32
+ background-position: -88px 0;
33
+ }
34
+ .iradio_flat-red.checked {
35
+ background-position: -110px 0;
36
+ }
37
+ .iradio_flat-red.disabled {
38
+ background-position: -132px 0;
39
+ cursor: default;
40
+ }
41
+ .iradio_flat-red.checked.disabled {
42
+ background-position: -154px 0;
43
+ }
44
+
45
+ /* Retina support */
46
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47
+ only screen and (-moz-min-device-pixel-ratio: 1.5),
48
+ only screen and (-o-min-device-pixel-ratio: 3/2),
49
+ only screen and (min-device-pixel-ratio: 1.5) {
50
+ .icheckbox_flat-red,
51
+ .iradio_flat-red {
52
+ background-image: url(red@2x.png);
53
+ -webkit-background-size: 176px 22px;
54
+ background-size: 176px 22px;
55
+ }
56
+ }
@@ -0,0 +1,56 @@
1
+ /* iCheck plugin Flat skin, yellow
2
+ ----------------------------------- */
3
+ .icheckbox_flat-yellow,
4
+ .iradio_flat-yellow {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 20px;
11
+ height: 20px;
12
+ background: url(yellow.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_flat-yellow {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_flat-yellow.checked {
21
+ background-position: -22px 0;
22
+ }
23
+ .icheckbox_flat-yellow.disabled {
24
+ background-position: -44px 0;
25
+ cursor: default;
26
+ }
27
+ .icheckbox_flat-yellow.checked.disabled {
28
+ background-position: -66px 0;
29
+ }
30
+
31
+ .iradio_flat-yellow {
32
+ background-position: -88px 0;
33
+ }
34
+ .iradio_flat-yellow.checked {
35
+ background-position: -110px 0;
36
+ }
37
+ .iradio_flat-yellow.disabled {
38
+ background-position: -132px 0;
39
+ cursor: default;
40
+ }
41
+ .iradio_flat-yellow.checked.disabled {
42
+ background-position: -154px 0;
43
+ }
44
+
45
+ /* Retina support */
46
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47
+ only screen and (-moz-min-device-pixel-ratio: 1.5),
48
+ only screen and (-o-min-device-pixel-ratio: 3/2),
49
+ only screen and (min-device-pixel-ratio: 1.5) {
50
+ .icheckbox_flat-yellow,
51
+ .iradio_flat-yellow {
52
+ background-image: url(yellow@2x.png);
53
+ -webkit-background-size: 176px 22px;
54
+ background-size: 176px 22px;
55
+ }
56
+ }
@@ -0,0 +1,56 @@
1
+ /* iCheck plugin Futurico skin
2
+ ----------------------------------- */
3
+ .icheckbox_futurico,
4
+ .iradio_futurico {
5
+ display: inline-block;
6
+ *display: inline;
7
+ vertical-align: middle;
8
+ margin: 0;
9
+ padding: 0;
10
+ width: 16px;
11
+ height: 17px;
12
+ background: url(futurico.png) no-repeat;
13
+ border: none;
14
+ cursor: pointer;
15
+ }
16
+
17
+ .icheckbox_futurico {
18
+ background-position: 0 0;
19
+ }
20
+ .icheckbox_futurico.checked {
21
+ background-position: -18px 0;
22
+ }
23
+ .icheckbox_futurico.disabled {
24
+ background-position: -36px 0;
25
+ cursor: default;
26
+ }
27
+ .icheckbox_futurico.checked.disabled {
28
+ background-position: -54px 0;
29
+ }
30
+
31
+ .iradio_futurico {
32
+ background-position: -72px 0;
33
+ }
34
+ .iradio_futurico.checked {
35
+ background-position: -90px 0;
36
+ }
37
+ .iradio_futurico.disabled {
38
+ background-position: -108px 0;
39
+ cursor: default;
40
+ }
41
+ .iradio_futurico.checked.disabled {
42
+ background-position: -126px 0;
43
+ }
44
+
45
+ /* Retina support */
46
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47
+ only screen and (-moz-min-device-pixel-ratio: 1.5),
48
+ only screen and (-o-min-device-pixel-ratio: 3/2),
49
+ only screen and (min-device-pixel-ratio: 1.5) {
50
+ .icheckbox_futurico,
51
+ .iradio_futurico {
52
+ background-image: url(futurico@2x.png);
53
+ -webkit-background-size: 144px 19px;
54
+ background-size: 144px 19px;
55
+ }
56
+ }
@@ -0,0 +1,478 @@
1
+ /*!
2
+ * iCheck v1.0.1, http://git.io/arlzeA
3
+ * =================================
4
+ * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
5
+ *
6
+ * (c) 2013 Damir Sultanov, http://fronteed.com
7
+ * MIT Licensed
8
+ */
9
+
10
+ (function($) {
11
+
12
+ // Cached vars
13
+ var _iCheck = 'iCheck',
14
+ _iCheckHelper = _iCheck + '-helper',
15
+ _checkbox = 'checkbox',
16
+ _radio = 'radio',
17
+ _checked = 'checked',
18
+ _unchecked = 'un' + _checked,
19
+ _disabled = 'disabled',
20
+ _determinate = 'determinate',
21
+ _indeterminate = 'in' + _determinate,
22
+ _update = 'update',
23
+ _type = 'type',
24
+ _click = 'click',
25
+ _touch = 'touchbegin.i touchend.i',
26
+ _add = 'addClass',
27
+ _remove = 'removeClass',
28
+ _callback = 'trigger',
29
+ _label = 'label',
30
+ _cursor = 'cursor',
31
+ _mobile = /ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);
32
+
33
+ // Plugin init
34
+ $.fn[_iCheck] = function(options, fire) {
35
+
36
+ // Walker
37
+ var handle = 'input[type="' + _checkbox + '"], input[type="' + _radio + '"]',
38
+ stack = $(),
39
+ walker = function(object) {
40
+ object.each(function() {
41
+ var self = $(this);
42
+
43
+ if (self.is(handle)) {
44
+ stack = stack.add(self);
45
+ } else {
46
+ stack = stack.add(self.find(handle));
47
+ }
48
+ });
49
+ };
50
+
51
+ // Check if we should operate with some method
52
+ if (/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(options)) {
53
+
54
+ // Normalize method's name
55
+ options = options.toLowerCase();
56
+
57
+ // Find checkboxes and radio buttons
58
+ walker(this);
59
+
60
+ return stack.each(function() {
61
+ var self = $(this);
62
+
63
+ if (options == 'destroy') {
64
+ tidy(self, 'ifDestroyed');
65
+ } else {
66
+ operate(self, true, options);
67
+ }
68
+ // Fire method's callback
69
+ if ($.isFunction(fire)) {
70
+ fire();
71
+ }
72
+ });
73
+
74
+ // Customization
75
+ } else if (typeof options == 'object' || !options) {
76
+
77
+ // Check if any options were passed
78
+ var settings = $.extend({
79
+ checkedClass: _checked,
80
+ disabledClass: _disabled,
81
+ indeterminateClass: _indeterminate,
82
+ labelHover: true,
83
+ aria: false
84
+ }, options),
85
+
86
+ selector = settings.handle,
87
+ hoverClass = settings.hoverClass || 'hover',
88
+ focusClass = settings.focusClass || 'focus',
89
+ activeClass = settings.activeClass || 'active',
90
+ labelHover = !!settings.labelHover,
91
+ labelHoverClass = settings.labelHoverClass || 'hover',
92
+
93
+ // Setup clickable area
94
+ area = ('' + settings.increaseArea).replace('%', '') | 0;
95
+
96
+ // Selector limit
97
+ if (selector == _checkbox || selector == _radio) {
98
+ handle = 'input[type="' + selector + '"]';
99
+ }
100
+ // Clickable area limit
101
+ if (area < -50) {
102
+ area = -50;
103
+ }
104
+ // Walk around the selector
105
+ walker(this);
106
+
107
+ return stack.each(function() {
108
+ var self = $(this);
109
+
110
+ // If already customized
111
+ tidy(self);
112
+
113
+ var node = this,
114
+ id = node.id,
115
+
116
+ // Layer styles
117
+ offset = -area + '%',
118
+ size = 100 + (area * 2) + '%',
119
+ layer = {
120
+ position: 'absolute',
121
+ top: offset,
122
+ left: offset,
123
+ display: 'block',
124
+ width: size,
125
+ height: size,
126
+ margin: 0,
127
+ padding: 0,
128
+ background: '#fff',
129
+ border: 0,
130
+ opacity: 0
131
+ },
132
+
133
+ // Choose how to hide input
134
+ hide = _mobile ? {
135
+ position: 'absolute',
136
+ visibility: 'hidden'
137
+ } : area ? layer : {
138
+ position: 'absolute',
139
+ opacity: 0
140
+ },
141
+
142
+ // Get proper class
143
+ className = node[_type] == _checkbox ? settings.checkboxClass || 'i' + _checkbox : settings.radioClass || 'i' + _radio,
144
+
145
+ // Find assigned labels
146
+ label = $(_label + '[for="' + id + '"]').add(self.closest(_label)),
147
+
148
+ // Check ARIA option
149
+ aria = !!settings.aria,
150
+
151
+ // Set ARIA placeholder
152
+ ariaID = _iCheck + '-' + Math.random().toString(36).replace('0.', ''),
153
+
154
+ // Parent & helper
155
+ parent = '<div class="' + className + '" ' + (aria ? 'role="' + node[_type] + '" ' : ''),
156
+ helper;
157
+
158
+ // Set ARIA "labelledby"
159
+ if (label.length && aria) {
160
+ label.each(function() {
161
+ parent += 'aria-labelledby="';
162
+
163
+ if (this.id) {
164
+ parent += this.id;
165
+ } else {
166
+ this.id = ariaID;
167
+ parent += ariaID;
168
+ }
169
+
170
+ parent += '"';
171
+ });
172
+ }
173
+ // Wrap input
174
+ parent = self.wrap(parent + '/>')[_callback]('ifCreated').parent().append(settings.insert);
175
+
176
+ // Layer addition
177
+ helper = $('<ins class="' + _iCheckHelper + '"/>').css(layer).appendTo(parent);
178
+
179
+ // Finalize customization
180
+ self.data(_iCheck, {o: settings, s: self.attr('style')}).css(hide);
181
+ !!settings.inheritClass && parent[_add](node.className || '');
182
+ !!settings.inheritID && id && parent.attr('id', _iCheck + '-' + id);
183
+ parent.css('position') == 'static' && parent.css('position', 'relative');
184
+ operate(self, true, _update);
185
+
186
+ // Label events
187
+ if (label.length) {
188
+ label.on(_click + '.i mouseover.i mouseout.i ' + _touch, function(event) {
189
+ var type = event[_type],
190
+ item = $(this);
191
+
192
+ // Do nothing if input is disabled
193
+ if (!node[_disabled]) {
194
+
195
+ // Click
196
+ if (type == _click) {
197
+ if ($(event.target).is('a')) {
198
+ return;
199
+ }
200
+ operate(self, false, true);
201
+
202
+ // Hover state
203
+ } else if (labelHover) {
204
+
205
+ // mouseout|touchend
206
+ if (/ut|nd/.test(type)) {
207
+ parent[_remove](hoverClass);
208
+ item[_remove](labelHoverClass);
209
+ } else {
210
+ parent[_add](hoverClass);
211
+ item[_add](labelHoverClass);
212
+ }
213
+ }
214
+ if (_mobile) {
215
+ event.stopPropagation();
216
+ } else {
217
+ return false;
218
+ }
219
+ }
220
+ });
221
+ }
222
+ // Input events
223
+ self.on(_click + '.i focus.i blur.i keyup.i keydown.i keypress.i', function(event) {
224
+ var type = event[_type],
225
+ key = event.keyCode;
226
+
227
+ // Click
228
+ if (type == _click) {
229
+ return false;
230
+
231
+ // Keydown
232
+ } else if (type == 'keydown' && key == 32) {
233
+ if (!(node[_type] == _radio && node[_checked])) {
234
+ if (node[_checked]) {
235
+ off(self, _checked);
236
+ } else {
237
+ on(self, _checked);
238
+ }
239
+ }
240
+ return false;
241
+
242
+ // Keyup
243
+ } else if (type == 'keyup' && node[_type] == _radio) {
244
+ !node[_checked] && on(self, _checked);
245
+
246
+ // Focus/blur
247
+ } else if (/us|ur/.test(type)) {
248
+ parent[type == 'blur' ? _remove : _add](focusClass);
249
+ }
250
+ });
251
+
252
+ // Helper events
253
+ helper.on(_click + ' mousedown mouseup mouseover mouseout ' + _touch, function(event) {
254
+ var type = event[_type],
255
+
256
+ // mousedown|mouseup
257
+ toggle = /wn|up/.test(type) ? activeClass : hoverClass;
258
+
259
+ // Do nothing if input is disabled
260
+ if (!node[_disabled]) {
261
+
262
+ // Click
263
+ if (type == _click) {
264
+ operate(self, false, true);
265
+
266
+ // Active and hover states
267
+ } else {
268
+
269
+ // State is on
270
+ if (/wn|er|in/.test(type)) {
271
+
272
+ // mousedown|mouseover|touchbegin
273
+ parent[_add](toggle);
274
+
275
+ // State is off
276
+ } else {
277
+ parent[_remove](toggle + ' ' + activeClass);
278
+ }
279
+ // Label hover
280
+ if (label.length && labelHover && toggle == hoverClass) {
281
+
282
+ // mouseout|touchend
283
+ label[/ut|nd/.test(type) ? _remove : _add](labelHoverClass);
284
+ }
285
+ }
286
+ if (_mobile) {
287
+ event.stopPropagation();
288
+ } else {
289
+ return false;
290
+ }
291
+ }
292
+ });
293
+ });
294
+ } else {
295
+ return this;
296
+ }
297
+ };
298
+
299
+ // Do something with inputs
300
+ function operate(input, direct, method) {
301
+ var node = input[0],
302
+ state = /er/.test(method) ? _indeterminate : /bl/.test(method) ? _disabled : _checked,
303
+ active = method == _update ? {
304
+ checked: node[_checked],
305
+ disabled: node[_disabled],
306
+ indeterminate: input.attr(_indeterminate) == 'true' || input.attr(_determinate) == 'false'
307
+ } : node[state];
308
+
309
+ // Check, disable or indeterminate
310
+ if (/^(ch|di|in)/.test(method) && !active) {
311
+ on(input, state);
312
+
313
+ // Uncheck, enable or determinate
314
+ } else if (/^(un|en|de)/.test(method) && active) {
315
+ off(input, state);
316
+
317
+ // Update
318
+ } else if (method == _update) {
319
+
320
+ // Handle states
321
+ for (var state in active) {
322
+ if (active[state]) {
323
+ on(input, state, true);
324
+ } else {
325
+ off(input, state, true);
326
+ }
327
+ }
328
+ } else if (!direct || method == 'toggle') {
329
+
330
+ // Helper or label was clicked
331
+ if (!direct) {
332
+ input[_callback]('ifClicked');
333
+ }
334
+ // Toggle checked state
335
+ if (active) {
336
+ if (node[_type] !== _radio) {
337
+ off(input, state);
338
+ }
339
+ } else {
340
+ on(input, state);
341
+ }
342
+ }
343
+ }
344
+ // Add checked, disabled or indeterminate state
345
+ function on(input, state, keep) {
346
+ var node = input[0],
347
+ parent = input.parent(),
348
+ checked = state == _checked,
349
+ indeterminate = state == _indeterminate,
350
+ disabled = state == _disabled,
351
+ callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled',
352
+ regular = option(input, callback + capitalize(node[_type])),
353
+ specific = option(input, state + capitalize(node[_type]));
354
+
355
+ // Prevent unnecessary actions
356
+ if (node[state] !== true) {
357
+
358
+ // Toggle assigned radio buttons
359
+ if (!keep && state == _checked && node[_type] == _radio && node.name) {
360
+ var form = input.closest('form'),
361
+ inputs = 'input[name="' + node.name + '"]';
362
+
363
+ inputs = form.length ? form.find(inputs) : $(inputs);
364
+
365
+ inputs.each(function() {
366
+ if (this !== node && $(this).data(_iCheck)) {
367
+ off($(this), state);
368
+ }
369
+ });
370
+ }
371
+ // Indeterminate state
372
+ if (indeterminate) {
373
+
374
+ // Add indeterminate state
375
+ node[state] = true;
376
+
377
+ // Remove checked state
378
+ if (node[_checked]) {
379
+ off(input, _checked, 'force');
380
+ }
381
+ // Checked or disabled state
382
+ } else {
383
+
384
+ // Add checked or disabled state
385
+ if (!keep) {
386
+ node[state] = true;
387
+ }
388
+ // Remove indeterminate state
389
+ if (checked && node[_indeterminate]) {
390
+ off(input, _indeterminate, false);
391
+ }
392
+ }
393
+ // Trigger callbacks
394
+ callbacks(input, checked, state, keep);
395
+ }
396
+ // Add proper cursor
397
+ if (node[_disabled] && !!option(input, _cursor, true)) {
398
+ parent.find('.' + _iCheckHelper).css(_cursor, 'default');
399
+ }
400
+ // Add state class
401
+ parent[_add](specific || option(input, state) || '');
402
+
403
+ // Set ARIA attribute
404
+ disabled ? parent.attr('aria-disabled', 'true') : parent.attr('aria-checked', indeterminate ? 'mixed' : 'true');
405
+
406
+ // Remove regular state class
407
+ parent[_remove](regular || option(input, callback) || '');
408
+ }
409
+ // Remove checked, disabled or indeterminate state
410
+ function off(input, state, keep) {
411
+ var node = input[0],
412
+ parent = input.parent(),
413
+ checked = state == _checked,
414
+ indeterminate = state == _indeterminate,
415
+ disabled = state == _disabled,
416
+ callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled',
417
+ regular = option(input, callback + capitalize(node[_type])),
418
+ specific = option(input, state + capitalize(node[_type]));
419
+
420
+ // Prevent unnecessary actions
421
+ if (node[state] !== false) {
422
+
423
+ // Toggle state
424
+ if (indeterminate || !keep || keep == 'force') {
425
+ node[state] = false;
426
+ }
427
+ // Trigger callbacks
428
+ callbacks(input, checked, callback, keep);
429
+ }
430
+ // Add proper cursor
431
+ if (!node[_disabled] && !!option(input, _cursor, true)) {
432
+ parent.find('.' + _iCheckHelper).css(_cursor, 'pointer');
433
+ }
434
+ // Remove state class
435
+ parent[_remove](specific || option(input, state) || '');
436
+
437
+ // Set ARIA attribute
438
+ disabled ? parent.attr('aria-disabled', 'false') : parent.attr('aria-checked', 'false');
439
+
440
+ // Add regular state class
441
+ parent[_add](regular || option(input, callback) || '');
442
+ }
443
+ // Remove all traces
444
+ function tidy(input, callback) {
445
+ if (input.data(_iCheck)) {
446
+
447
+ // Remove everything except input
448
+ input.parent().html(input.attr('style', input.data(_iCheck).s || ''));
449
+
450
+ // Callback
451
+ if (callback) {
452
+ input[_callback](callback);
453
+ }
454
+ // Unbind events
455
+ input.off('.i').unwrap();
456
+ $(_label + '[for="' + input[0].id + '"]').add(input.closest(_label)).off('.i');
457
+ }
458
+ }
459
+ // Get some option
460
+ function option(input, state, regular) {
461
+ if (input.data(_iCheck)) {
462
+ return input.data(_iCheck).o[state + (regular ? '' : 'Class')];
463
+ }
464
+ }
465
+ // Capitalize some string
466
+ function capitalize(string) {
467
+ return string.charAt(0).toUpperCase() + string.slice(1);
468
+ }
469
+ // Executable handlers
470
+ function callbacks(input, checked, callback, keep) {
471
+ if (!keep) {
472
+ if (checked) {
473
+ input[_callback]('ifToggled');
474
+ }
475
+ input[_callback]('ifChanged')[_callback]('if' + capitalize(callback));
476
+ }
477
+ }
478
+ })(window.jQuery || window.Zepto);