Giter VIP home page Giter VIP logo

bootstrap_sb_admin_base_v1's Introduction

Gem Version

About

bootstrap_sb_admin_base_v1 is a Rails gem of the Bootstrap based admin theme SB Admin. 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.

If you want the second version of this theme as a Rails gem, check this repository.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap_sb_admin_base_v1'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap_sb_admin_base_v1

Usage

This gem has three dependencies: jquery-rails, font-awesome-sass and bootstrap in order to keep updated the versions of jQuery, Font Awesome and Bootstrap, so be sure to require these on your application.js before requiring the bootstrap_sb_admin_base_v1 file like so:

  //= require jquery3
  //= require popper
  //= require bootstrap
  //= require bootstrap_sb_admin_base_v1

and on the application.scss file, be sure to require the font-awesome-sass and bootstrap file:

    @import 'bootstrap';
    @import 'font-awesome-sprockets';
    @import 'font-awesome';
    @import 'bootstrap_sb_admin_base_v1';

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


This project was developed by dreamingechoes. It adheres to its code of conduct and contributing guidelines, and uses an equivalent license.

bootstrap_sb_admin_base_v1's People

Contributors

dreamingechoes avatar neemiasvf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bootstrap_sb_admin_base_v1's Issues

Minor display issue: font too small

Hi @dreamingechoes ,

Many thanks for your work and quick response to my previous issue under bootstrap_sb_admin_base_v2 project.

I tried to check twice and still find the font display is too small, currently I am not sure whether my coding has style issue or there is minor issue within the gem, so I just post the issue here for help.

image

It's a very simple toy project, like sensor admin but easier and simpler.

In application.js file I add these lines accordingly:

//= require jquery
//= require bootstrap_sb_admin_base_v1
//= require turbolinks
//= require_tree .

In my application.css.scss I add these lines:

@import "bootstrap-sprockets";
@import "bootstrap";
@import "font-awesome";
@import "bootstrap_sb_admin_base_v1";

for the layouts, I copied them from the sb admin theme index page and made adjustments accordingly.

Currently I cannot figure out what the cause is and please kindly have a look. If your sample project has no such kind of font display issue I will try to make a more clear project rather than transfer from previous v2 to v1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.