Adminlte2 assets Rails gem
This gem integrates AdminLTE theme with Rails assets pipeline
AdminLTE version: v2.3.6
Installation
Add this line to your application's Gemfile:
gem 'adminlte2assets-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install adminlte2assets-rails
Usage
This gem uses the "bootstrap-sass' and 'jquery-rails'. They are automatically added so there is no need to add them to 'Gemfile'
JavaScript
//= require AdminLTE
Stylesheet
@import "AdminLTE";
@import "AdminLTE/skins/all-skins.min";
Plugins
-
Bootstrap Slider
JavaScript
//= require AdminLTE/plugins/bootstrap-slider/bootstrap-slider
Stylesheet
@import AdminLTE/plugins/bootstrap-slider/slider
-
Bootstrap WYSIHTML5
JavaScript
//= require AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all
Stylesheet
@import AdminLTE/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5
-
ChartJS
JavaScript
//= require AdminLTE/plugins/chartjs/chart
-
Color picker
Not implemented yet
-
Date picker
JavaScript
//= require AdminLTE/plugins/datepicker/bootstrap-datepicker //= require AdminLTE/plugins/datepicker/locales/bootstrap-datepicker.pl
Stylesheet
@import AdminLTE/plugins/datepicker/datepicker3
-
Date range picker
JavaScript
//= require AdminLTE/plugins/daterangepicker/moment //= require AdminLTE/plugins/daterangepicker/daterangepicker
Stylesheet
@import AdminLTE/plugins/daterangepicker/daterangepicker
-
Fastclick
JavaScript
//= require AdminLTE/plugins/fastclick/fastclick
-
flot
JavaScript
//= require AdminLTE/plugins/flot/jquery.flot
-
FullCalendar
JavaScript
//= require AdminLTE/plugins/fullcalendar/fullcalendar
Stylesheet
@import AdminLTE/plugins/fullcalendar/fullcalendar @import AdminLTE/plugins/fullcalendar/fullcalendar.print
-
Jquery.inputmask
JavaScript
//= require AdminLTE/plugins/input-mask/jquery.inputmask
-
ion.rangeSlider
JavaScript
//= require AdminLTE/plugins/ionslider/ion.rangeSlider.min
Stylesheet
@import AdminLTE/plugins/ionslider/ion.rangeSlider @import AdminLTE/plugins/ionslider/ion.rangeSlider.skinFlat
-
jVectorMap
JavaScript
//= require AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2.min //= require AdminLTE/plugins/jvectormap/jquery-jvectormap-world-mill-en
Stylesheet
@import AdminLTE/plugins/jvectormap/jquery-jvectormap-1.2.2
-
Knob
JavaScript
//= require AdminLTE/plugins/knob/jquery.knob
-
morris.js
JavaScript
//= require AdminLTE/plugins/morris/morris
Stylesheet
@import AdminLTE/plugins/morris/morris
-
Pace
JavaScript
//= require AdminLTE/plugins/pace/pace
Stylesheet
@import AdminLTE/plugins/pace/pace
-
select2
JavaScript
//= require AdminLTE/plugins/select2/select2.full //= require AdminLTE/plugins/select2/i18n/en
Stylesheet
@import AdminLTE/plugins/chartjs/select2
-
jQuery-slimScroll
JavaScript
//= require AdminLTE/plugins/slimScroll/jquery.slimscroll
-
jQuery Sparklines
JavaScript
//= require AdminLTE/plugins/sparkline/jquery.sparkline
-
Bootstrap Timepicker
JavaScript
//= require AdminLTE/plugins/timepicker/bootstrap-timepicker
Stylesheet
@import AdminLTE/plugins/timepicker/bootstrap-timepicker
-
Ckeditor
We use the gem 'ckeditor', which is installed automatically and there is no need to add it to 'Gemfile'
-
iCheck
We use the gem 'icheck-rails', which is installed automatically and there is no need to add it to 'Gemfile'
-
DataTables
We use the gem 'datatablesassets-rails', which is installed automatically and there is no need to add it to 'Gemfile'
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
The gem is available as open source under the terms of the MIT License.