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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/README.md +30 -13
- data/lib/adminlte2/rails/version.rb +1 -1
- data/lib/generators/{admin_lte → admin_lte2}/USAGE +0 -0
- data/lib/generators/{admin_lte/admin_lte_generator.rb → admin_lte2/admin_lte2_generator.rb} +27 -10
- data/lib/generators/{admin_lte → admin_lte2}/templates/_admin_lte_2_header.html.erb +0 -0
- data/lib/generators/{admin_lte → admin_lte2}/templates/_admin_lte_2_sidebar.html.erb +0 -0
- data/lib/generators/{admin_lte → admin_lte2}/templates/admin_lte_2.html.erb +0 -0
- data/lib/generators/{admin_lte → admin_lte2}/templates/admin_lte_2_login.html.erb +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/USAGE +3 -1
- data/lib/generators/{admin_lte_plugins/admin_lte_plugins_generator.rb → admin_lte2_plugins/admin_lte2_plugins_generator.rb} +30 -3
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/ChartJS/Chart.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/Sparkline/jquery.sparkline.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-slider/bootstrap-slider.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-slider/slider.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-wysihtml5/bootstrap3-wysihtml5.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-wysihtml5/bootstrap3-wysihtml5.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/bootstrap-colorpicker.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/bootstrap-colorpicker.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/alpha-horizontal.png +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/alpha.png +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/hue-horizontal.png +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/hue.png +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/saturation.png +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/bootstrap-datepicker.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/datepicker3.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ar.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.az.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.bg.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ca.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.cs.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.cy.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.da.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.de.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.el.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.es.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.et.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.fa.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.fi.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.fr.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.gl.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.he.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.hr.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.hu.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.id.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.is.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.it.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ja.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ka.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.kk.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.kr.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.lt.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.lv.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.mk.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ms.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.nb.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.nl-BE.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.nl.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.no.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.pl.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.pt-BR.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.pt.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ro.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.rs-latin.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.rs.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ru.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sk.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sl.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sq.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sv.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.sw.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.th.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.tr.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.ua.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.vi.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.zh-CN.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/locales/bootstrap-datepicker.zh-TW.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/daterangepicker/daterangepicker-bs3.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/daterangepicker/daterangepicker.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.print.css +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/all.css +61 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/_all.css +560 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/aero.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/aero.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/aero@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/blue.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/blue.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/blue@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/flat.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/flat.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/flat@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/green.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/green.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/green@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/grey.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/grey.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/grey@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/orange.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/orange.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/orange@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/pink.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/pink.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/pink@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/purple.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/purple.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/purple@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/red.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/red.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/red@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/yellow.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/yellow.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/flat/yellow@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/futurico/futurico.css +56 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/futurico/futurico.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/futurico/futurico@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/icheck.js +478 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/_all.css +740 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/aero.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/blue.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/green.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/grey.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/line.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/line.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/line@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/orange.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/pink.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/purple.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/red.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/line/yellow.css +74 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/_all.css +557 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/aero.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/aero.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/aero@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/blue.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/blue.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/blue@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/green.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/green.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/green@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/grey.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/grey.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/grey@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/minimal.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/minimal.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/minimal@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/orange.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/orange.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/orange@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/pink.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/pink.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/pink@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/purple.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/purple.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/purple@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/red.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/red.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/red@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/yellow.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/yellow.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/minimal/yellow@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/polaris/polaris.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/polaris/polaris.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/polaris/polaris@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/_all.css +620 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/aero.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/aero.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/aero@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/blue.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/blue.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/blue@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/green.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/green.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/green@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/grey.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/grey.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/grey@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/orange.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/orange.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/orange@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/pink.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/pink.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/pink@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/purple.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/purple.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/purple@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/red.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/red.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/red@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/square.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/square.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/square@2x.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/yellow.css +62 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/yellow.png +0 -0
- data/lib/generators/admin_lte2_plugins/templates/iCheck/square/yellow@2x.png +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/jVectorMap/jquery-jvectormap-1.2.2.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/jVectorMap/jquery-jvectormap-1.2.2.min.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/jVectorMap/jquery-jvectormap-world-mill-en.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/knob/jquery.knob.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/morris/morris.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/morris/morris.js +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/pace/pace.js +0 -0
- data/lib/generators/admin_lte2_plugins/templates/slimScroll/jquery.slimscroll.js +490 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/timepicker/bootstrap-timepicker.css +0 -0
- data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/timepicker/bootstrap-timepicker.js +0 -0
- data/vendor/assets/javascripts/app.js +70 -70
- data/vendor/assets/stylesheets/{AdminLTE.css → AdminLTE/AdminLTE.css} +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/_all-skins.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/_all-skins.min.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-black.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-black.min.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-blue.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-blue.min.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-green.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-green.min.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-purple.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-purple.min.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-red.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-red.min.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-yellow.css +0 -0
- data/vendor/assets/stylesheets/{skins → AdminLTE/skins}/skin-yellow.min.css +0 -0
- metadata +221 -105
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e09cf5a98af9b497f3287ab8ef935cbdcfda56db
|
4
|
+
data.tar.gz: ca13a357e5dd50646e88db6d608e1d4a7b551574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bb5dff0f75e190e563a1c848c38d1c5885e686864a4f6b14c7e81deb12822ba4f0350a6963ad99e349eb8ea15de2673583cdec4c91b2b8396648aff25f12538
|
7
|
+
data.tar.gz: bc0abaa444314cb71f25962fc260a3536bb1f63f3b6ac053480e7b858357a942330a04a7c0d5c9ba9ff88530a6e1c148161be2ec7d9824fc26b32a7655a1c5f7
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
## 0.0.3 (In Progress)
|
2
|
+
|
3
|
+
- Install Generator:
|
4
|
+
- Create Login view without including Devise
|
5
|
+
- New plugins:
|
6
|
+
- [slimScroll](https://github.com/rochal/jQuery-slimScroll)
|
7
|
+
- [iCheck](https://github.com/fronteed/iCheck)
|
8
|
+
- FIX:
|
9
|
+
- Install Generator: Use stylesheet_engine when injecting data in file
|
10
|
+
- Plugin Generator: Use stylesheet_engine when injecting data in file
|
11
|
+
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# AdminLTE 2 Rails Gem
|
2
2
|
|
3
|
-
|
3
|
+
[AdminLTE](https://github.com/almasaeed2010/AdminLTE) is a premium Bootstrap theme for backend.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,32 +18,49 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
$ gem install adminlte2-rails
|
20
20
|
|
21
|
-
## Plugins
|
22
21
|
|
23
|
-
|
22
|
+
Then, generate the default template:
|
23
|
+
|
24
|
+
$ bin/rails generate admin_lte2
|
25
|
+
|
26
|
+
# Plugins
|
27
|
+
|
28
|
+
## Add a new plugins
|
24
29
|
|
25
30
|
By default, there's no plugin installed. However, I've created a generator to help you install them
|
26
31
|
|
27
|
-
|
32
|
+
$ rails g admin_lte2_plugins PLUGIN_NAME
|
33
|
+
|
34
|
+
# Plugins available
|
28
35
|
|
29
|
-
|
36
|
+
- [jVectorMap](https://github.com/bjornd/jvectormap) (j_vector_map)
|
37
|
+
- [ChartJS](https://github.com/nnnick/Chart.js/) (chart_js)
|
38
|
+
- [Sparkline](https://github.com/gwatts/jquery.sparkline) (sparkline)
|
39
|
+
- [Bootstrap Slider](https://github.com/seiyria/bootstrap-slider) (bootstrap_slider)
|
40
|
+
- [Bootstrap WYSIHTML5](https://github.com/jhollingworth/bootstrap-wysihtml5/) (bootstrap_wysihtml5)
|
41
|
+
- [Full Calendar](https://github.com/arshaw/fullcalendar) (fullcalendar)
|
42
|
+
- [Knob](https://github.com/aterrien/jQuery-Knob) (knob)
|
43
|
+
- [TimePicker](https://github.com/jdewit/bootstrap-timepicker) (timepicker)
|
44
|
+
- [Pace](https://github.com/HubSpot/pace) (pace)
|
45
|
+
- [MorrisJS](https://github.com/morrisjs/morris.js/) (morris)
|
46
|
+
- [Date Range Picker](https://github.com/dangrossman/bootstrap-daterangepicker) (daterangepicker)
|
47
|
+
- [Color Picker](https://github.com/mjolnic/bootstrap-colorpicker/) (colorpicker)
|
48
|
+
- [Date Picker](https://github.com/eternicode/bootstrap-datepicker) (datepicker)
|
49
|
+
- [slimScroll](https://github.com/rochal/jQuery-slimScroll) (slimScroll)
|
50
|
+
- [iCheck](https://github.com/fronteed/iCheck) (icheck)
|
51
|
+
|
52
|
+
# Plugins missing
|
30
53
|
|
31
54
|
* [ ] ckeditor
|
32
55
|
* [ ] datatables
|
33
56
|
* [ ] fastclick
|
34
57
|
* [ ] flot
|
35
|
-
* [ ] iCheck
|
36
58
|
* [ ] input-mask
|
37
59
|
* [ ] ionslider
|
38
|
-
* [ ] slimScroll
|
39
|
-
|
40
|
-
## Usage
|
41
|
-
|
42
|
-
TODO: Write usage instructions here
|
43
60
|
|
44
61
|
## Contributing
|
45
62
|
|
46
|
-
1. Fork it ( https://github.com/
|
63
|
+
1. Fork it ( https://github.com/nicolas-besnard/adminlte2-rails/fork )
|
47
64
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
48
65
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
49
66
|
4. Push to the branch (`git push origin my-new-feature`)
|
File without changes
|
@@ -1,13 +1,16 @@
|
|
1
|
-
class
|
1
|
+
class AdminLte2Generator < Rails::Generators::Base
|
2
2
|
source_root File.expand_path('../templates', __FILE__)
|
3
|
+
class_option :stylesheet_engine
|
3
4
|
|
4
5
|
def main
|
5
|
-
|
6
|
-
inject_into_file 'app/assets/javascripts/application.js', "//= require app\n", before: '//= require_tree .'
|
6
|
+
stylesheet_extension = options[:stylesheet_engine] || 'css'
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
inject_into_application_javascript('bootstrap', before: '//= require_tree')
|
9
|
+
inject_into_application_javascript('app', before: '//= require_tree')
|
10
|
+
|
11
|
+
inject_into_application_stylesheet('bootstrap')
|
12
|
+
inject_into_application_stylesheet('AdminLTE/AdminLTE')
|
13
|
+
inject_into_application_stylesheet('AdminLTE/skins/skin-blue')
|
11
14
|
|
12
15
|
copy_file '_admin_lte_2_header.html.erb', 'app/views/layouts/_admin_lte_2_header.html.erb'
|
13
16
|
copy_file '_admin_lte_2_sidebar.html.erb', 'app/views/layouts/_admin_lte_2_sidebar.html.erb'
|
@@ -17,21 +20,35 @@ class AdminLteGenerator < Rails::Generators::Base
|
|
17
20
|
inject_into_file 'app/controllers/application_controller.rb', "\n layout 'admin_lte_2'\n", after: 'class ApplicationController < ActionController::Base'
|
18
21
|
end
|
19
22
|
|
23
|
+
if yes?('Login Page ? (y/n)')
|
24
|
+
copy_file 'admin_lte_2_login.html.erb', 'app/views/layouts/admin_lte_2_login.html.erb'
|
25
|
+
end
|
26
|
+
|
20
27
|
if yes?('Devise ? (y/n) ')
|
21
28
|
gem 'devise'
|
22
29
|
|
23
30
|
run 'bundle install'
|
24
31
|
generate 'devise:install'
|
25
32
|
|
33
|
+
inject_into_file 'app/controllers/application_controller.rb', "\n before_action :authenticate_user!\n", after: 'class ApplicationController < ActionController::Base'
|
34
|
+
|
26
35
|
environment "
|
27
36
|
config.to_prepare do
|
28
37
|
Devise::SessionsController.layout 'admin_lte_2_login'
|
29
38
|
end
|
30
39
|
"
|
40
|
+
end
|
41
|
+
end
|
31
42
|
|
32
|
-
|
43
|
+
private
|
33
44
|
|
34
|
-
|
35
|
-
|
45
|
+
def inject_into_application_stylesheet(file)
|
46
|
+
stylesheet_extension = options[:stylesheet_engine] || 'css'
|
47
|
+
inject_into_file "app/assets/stylesheets/application.#{stylesheet_extension}", " *= require #{file}\n", before: ' *= require_self'
|
36
48
|
end
|
37
|
-
|
49
|
+
|
50
|
+
def inject_into_application_javascript(file, before: '//= require app')
|
51
|
+
inject_into_file 'app/assets/javascripts/application.js', "//= require #{file}\n", before: before
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -15,9 +15,11 @@ Plugins Available:
|
|
15
15
|
- Date Range Picker (daterangepicker)
|
16
16
|
- Color Picker (colorpicker)
|
17
17
|
- Date Picker (datepicker)
|
18
|
+
- slimScroll (slimScroll)
|
19
|
+
- iCheck (icheck)
|
18
20
|
|
19
21
|
Example:
|
20
|
-
rails generate
|
22
|
+
rails generate admin_lte2_plugins colorpicker
|
21
23
|
|
22
24
|
This will create:
|
23
25
|
create vendor/assets/stylesheets/img
|
@@ -1,6 +1,7 @@
|
|
1
|
-
class
|
1
|
+
class AdminLte2PluginsGenerator < Rails::Generators::Base
|
2
2
|
source_root File.expand_path('../templates', __FILE__)
|
3
3
|
argument :plugin_name, type: :string
|
4
|
+
class_option :stylesheet_engine
|
4
5
|
|
5
6
|
#
|
6
7
|
def main
|
@@ -83,17 +84,43 @@ class AdminLtePluginsGenerator < Rails::Generators::Base
|
|
83
84
|
directory "#{plugin_directory}/locales", 'vendor/assets/javascripts/locales'
|
84
85
|
end
|
85
86
|
|
87
|
+
def install_slimscroll
|
88
|
+
add_plugin('slimScroll', 'js', 'jquery.slimscroll')
|
89
|
+
end
|
90
|
+
|
91
|
+
def install_icheck
|
92
|
+
add_plugin('iCheck', 'js')
|
93
|
+
|
94
|
+
inject_into_application_stylesheet('iCheck/square/blue')
|
95
|
+
|
96
|
+
plugin_directory = File.expand_path('../templates', __FILE__) + '/iCheck'
|
97
|
+
%w{flat futurico line minimal polaris square}.each do |dir|
|
98
|
+
directory "#{plugin_directory}/#{dir}", "vendor/assets/stylesheets/iCheck/#{dir}"
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
86
102
|
# ------------------------------ #
|
87
103
|
|
104
|
+
def inject_into_application_stylesheet(plugin)
|
105
|
+
stylesheet_extension = options[:stylesheet_engine] || 'css'
|
106
|
+
inject_into_file "app/assets/stylesheets/application.#{stylesheet_extension}", " *= require #{plugin}\n", before: ' *= require_self'
|
107
|
+
end
|
108
|
+
|
109
|
+
def inject_into_application_javascript(plugin, before: '//= require app')
|
110
|
+
inject_into_file 'app/assets/javascripts/application.js', "//= require #{plugin}\n", before: before
|
111
|
+
end
|
112
|
+
|
88
113
|
def add_plugin(plugin_directory, type, plugin_file = nil)
|
89
114
|
plugin_file ||= plugin_directory
|
90
115
|
plugin_file_with_extension = "#{plugin_file}.#{type}"
|
91
116
|
|
117
|
+
stylesheet_extension = options[:stylesheet_engine] || 'css'
|
118
|
+
|
92
119
|
if type == 'css'
|
93
|
-
|
120
|
+
inject_into_application_stylesheet(plugin_file)
|
94
121
|
copy_file "#{plugin_directory}/#{plugin_file_with_extension}", "vendor/assets/stylesheets/#{plugin_file_with_extension}"
|
95
122
|
else
|
96
|
-
|
123
|
+
inject_into_application_javascript(plugin_file)
|
97
124
|
copy_file "#{plugin_directory}/#{plugin_file_with_extension}", "vendor/assets/javascripts/#{plugin_file_with_extension}"
|
98
125
|
end
|
99
126
|
end
|
File without changes
|
data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/Sparkline/jquery.sparkline.js
RENAMED
File without changes
|
File without changes
|
data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/bootstrap-slider/slider.css
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/alpha.png
RENAMED
File without changes
|
File without changes
|
data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/colorpicker/img/hue.png
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/datepicker/datepicker3.css
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.css
RENAMED
File without changes
|
data/lib/generators/{admin_lte_plugins → admin_lte2_plugins}/templates/fullcalendar/fullcalendar.js
RENAMED
File without changes
|
File without changes
|
@@ -0,0 +1,61 @@
|
|
1
|
+
/* iCheck plugin skins
|
2
|
+
----------------------------------- */
|
3
|
+
@import url("minimal/_all.css");
|
4
|
+
/*
|
5
|
+
@import url("minimal/minimal.css");
|
6
|
+
@import url("minimal/red.css");
|
7
|
+
@import url("minimal/green.css");
|
8
|
+
@import url("minimal/blue.css");
|
9
|
+
@import url("minimal/aero.css");
|
10
|
+
@import url("minimal/grey.css");
|
11
|
+
@import url("minimal/orange.css");
|
12
|
+
@import url("minimal/yellow.css");
|
13
|
+
@import url("minimal/pink.css");
|
14
|
+
@import url("minimal/purple.css");
|
15
|
+
*/
|
16
|
+
|
17
|
+
@import url("square/_all.css");
|
18
|
+
/*
|
19
|
+
@import url("square/square.css");
|
20
|
+
@import url("square/red.css");
|
21
|
+
@import url("square/green.css");
|
22
|
+
@import url("square/blue.css");
|
23
|
+
@import url("square/aero.css");
|
24
|
+
@import url("square/grey.css");
|
25
|
+
@import url("square/orange.css");
|
26
|
+
@import url("square/yellow.css");
|
27
|
+
@import url("square/pink.css");
|
28
|
+
@import url("square/purple.css");
|
29
|
+
*/
|
30
|
+
|
31
|
+
@import url("flat/_all.css");
|
32
|
+
/*
|
33
|
+
@import url("flat/flat.css");
|
34
|
+
@import url("flat/red.css");
|
35
|
+
@import url("flat/green.css");
|
36
|
+
@import url("flat/blue.css");
|
37
|
+
@import url("flat/aero.css");
|
38
|
+
@import url("flat/grey.css");
|
39
|
+
@import url("flat/orange.css");
|
40
|
+
@import url("flat/yellow.css");
|
41
|
+
@import url("flat/pink.css");
|
42
|
+
@import url("flat/purple.css");
|
43
|
+
*/
|
44
|
+
|
45
|
+
@import url("line/_all.css");
|
46
|
+
/*
|
47
|
+
@import url("line/line.css");
|
48
|
+
@import url("line/red.css");
|
49
|
+
@import url("line/green.css");
|
50
|
+
@import url("line/blue.css");
|
51
|
+
@import url("line/aero.css");
|
52
|
+
@import url("line/grey.css");
|
53
|
+
@import url("line/orange.css");
|
54
|
+
@import url("line/yellow.css");
|
55
|
+
@import url("line/pink.css");
|
56
|
+
@import url("line/purple.css");
|
57
|
+
*/
|
58
|
+
|
59
|
+
@import url("polaris/polaris.css");
|
60
|
+
|
61
|
+
@import url("futurico/futurico.css");
|