Git Product home page Git Product logo

coreui-rails's Introduction

CoreUI::Rails

A simple gem for adding the CoreUI-Free admin template (by Łukasz Holeczek's) to a Rails project's asset pipeline.

For convenience this gem depends on the following gems:

  • bootstrap
  • jquery-rails
  • font-awesome-rails

The following resources are requirements of CoreUI and are therefore included:

  • Chart.js
  • moment.js
  • pace.js
  • Flag Icons
  • Simple Line Icons

This is currently being used in an admin engine as part of a larger modular Rails application.

Installation

Add this line to your application's Gemfile:

gem 'coreui-rails'

And then execute:

$ bundle install

Usage

Add the following lines to your rails project

Stylesheets

// app/assets/stylesheets/application.scss

@import "custom-variables";
@import "coreui-free";
// app/assets/stylesheets/_custom-variables.scss

$navbar-bg: rgb(201, 201, 201);
$navbar-brand-bg: transparent;
$navbar-brand-logo: url(asset-path("my_logo.png"));

Javascripts

// app/assets/javascripts/application.js

//= require coreui-free

Includes

Include Version
Bootstrap 4.0.0
CoreUI-Free 1.0.10

License

  • CoreUI is Copyright creativeLabs Łukasz Holeczek. The code is released under the MIT License.
  • Bootstrap code released under the MIT License.
  • Jquery code released under the MIT License.
  • The Font Awesome font is licensed under the SIL OFL 1.1
  • Font Awesome CSS, LESS, and Sass files are licensed under the MIT License.
  • The gem is available as open source under the terms of the MIT License.

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.