All Projects → dreamingechoes → bootstrap_sb_admin_base_v2

dreamingechoes / bootstrap_sb_admin_base_v2

Licence: MIT license
Rails gem of the Bootstrap based admin theme SB Admin 2.

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to bootstrap sb admin base v2

make model searchable
Adds simlpe search functionality to models
Stars: ✭ 27 (-55%)
Mutual labels:  rails-gem
sb-admin2-rtl
sb-admin2-rtl is a RTL version of the Bootstrap based admin theme SB Admin 2.
Stars: ✭ 50 (-16.67%)
Mutual labels:  bootstrap-admin-theme
The-Ruby-Workshop
A New, Interactive Approach to Learning Ruby
Stars: ✭ 26 (-56.67%)
Mutual labels:  rails-gem
Laravel---SB-Admin-2---Fortify
Ini adalah template dasar untuk menggunakan SB Admin 2 yang dibungkus dengan Laravel 9, Laravel UI, dan Laravel Fortify.
Stars: ✭ 22 (-63.33%)
Mutual labels:  sb-admin-2
React Webpack Rails Tutorial
Example of integration of Rails, react, redux, using the react_on_rails gem, webpack, enabling the es7 and jsx transpilers, and node integration. And React Native! Live Demo:
Stars: ✭ 1,669 (+2681.67%)
Mutual labels:  rails-gem
Twitter Bootstrap Rails
Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
Stars: ✭ 4,518 (+7430%)
Mutual labels:  rails-gem
metka
Rails gem to manage tags with PostgreSQL array columns.
Stars: ✭ 45 (-25%)
Mutual labels:  rails-gem
flask-sb-admin2
SB Admin 2 template for python framework flask
Stars: ✭ 22 (-63.33%)
Mutual labels:  sb-admin-2
laravel-sb-admin-2
⚡ Laravel 5.8 - 6 - 7 - 8 + SB Admin 2
Stars: ✭ 145 (+141.67%)
Mutual labels:  sb-admin-2

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

Version 0.2.x and below

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

Version 0.3.x and above

On version 0.3.x or above has been added two dependencies: jquery-rails and font-awesome-rails in order to keep updated the versions of jQuery and font-awesome, so be sure to require jquery-rails on your application.js before require the bootstrap_sb_admin_base_v2 file like so:

  //= require jquery
  //= require jquery_ujs
  //= require bootstrap_sb_admin_base_v2

and on the application.css file, be sure to require the font-awesome-rails file:

  *= require font-awesome
  *= require bootstrap_sb_admin_base_v2

RTL Version

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: [email protected], 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].