Skip to content

trentclowater/bootstrap_sb_admin_base_v2

 
 

Repository files navigation

Gem Version

About

bootstrap_sb_admin_base_v2 is a (work in progress) Rails gem of the Bootstrap based admin theme SB Admin 2. Originally created by Start Bootstrap, all the credits of the development of the Bootstrap admin theme are of them. This is just and adaptation into Rails gem in order to make it easier to integrate all the assets (fonts, images, css and js) into a Rails application.

You can check the original Bootstrap admin theme repository here.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap_sb_admin_base_v2'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap_sb_admin_base_v2

Usage

After install the gem, the only thing you should do in your Rails application is add some lines into your manifests files. Add this into your application.js file:

  //= require bootstrap_sb_admin_base_v2

and this line into you application.css file:

  *= require bootstrap_sb_admin_base_v2

If you need the RTL version of the template, add this line into you application.css instead of the previous one:

  *= require bootstrap_sb_admin_base_v2_rtl

You can check the RTL version I've used to add this adaptation here.

And you're ready to use the HTML structure of the Bootstrap based admin theme SB Admin 2 on your Rails application. All the details and documentation about this are here.

If you need an example to see how to integrate the gem into your Rails project, I've developed a simple Rails application in order to test the gem, you can check this app here: https://sensor-admin-panel-testing.herokuapp.com (test email: example@email.com, password: 123456example), and here you have the Github repo to be able to check the code: https://github.com/dreamingechoes/sensors_admin_panel.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/dreamingechoes/bootstrap_sb_admin_base_v2. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

Rails gem of the Bootstrap based admin theme SB Admin 2.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 94.4%
  • Shell 5.6%