AdminLTE2 is a premium Bootstrap theme for backend.
The Rails AdminLTE2 gem integrates AdminLTE2 theme with the Rails asset pipeline.
Installation
Add this line to your application's Gemfile:
gem 'rails_adminlte2'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_adminlte2
Usage
Include rails_adminlte2 javascript assets
Add the following to your app/assets/javascripts/application.js:
//= require bootstrap.min //= require admin-lte
Include rails_adminlte2 stylesheet assets
Add the following to your app/assets/stylesheets/application.css:
*= require bootstrap *= require font-awesome *= require ionicons *= require admin-lte
If you want to use additional features, add more these lines to your app/assets/stylesheets/application.css:
*= require iCheck/all *= require datatables/dataTables.bootstrap
Version
0.0.1 (AdminLTE 2.3.6)
License
Rails_AdminLte2 is released under the MIT License.
Contributing
- Fork it ( https://github.com/[my-github-username]/rails_adminlte2/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request