Giter Club home page Giter Club logo

bootstrap-colorpicker-rails's Introduction

bootstrap-colorpicker-rails

A Colorpicker for Twitter Bootstrap, integrated with Rails assets pipeline

Bootstrap colorpicker for Rails Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.

http://twitter.github.com/bootstrap/

Bootstrap colorpicker is a plugin for Bootstrap designed by Stefan Petre. It provides a stylish color picker for Bootstrap.

http://www.eyecon.ro/bootstrap-colorpicker/

bootstrap-colorpicker-rails project integrates colorpicker with Rails 3 assets pipeline.

http://github.com/alessani/bootstrap-colorpicker-rails

Rails > 3.1 Include bootstrap-colorpicker-rails in Gemfile;

group :assets do
  gem 'bootstrap-colorpicker-rails'
end

or you can install from latest build;

group :assets do
  gem 'bootstrap-colorpicker-rails', :require => 'bootstrap-colorpicker-rails',
                          :git => 'git://github.com/alessani/bootstrap-colorpicker-rails.git'
end

and run bundle install.

Stylesheets Add necessary stylesheet file to app/assets/stylesheets/application.css

*= require bootstrap-colorpicker

Javascripts Add necessary javascript(s) files to app/assets/javascripts/application.js

//= require bootstrap-colorpicker

Using bootstrap-colorpicker-rails Just call colorpicker() with any selector.

$('.colorpicker').colorpicker()

There are some options you can pass to colorpicker(). They are documented at http://www.eyecon.ro/bootstrap-colorpicker/

bootstrap-colorpicker-rails's People

Contributors

alessani avatar brchristian avatar zoharsacks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bootstrap-colorpicker-rails's Issues

Join the Bootstrap-Ruby organisation!

Hi @alessani,

I have set up the Bootstrap-Ruby organisation a while ago to foster a curated collection of tools for using Bootstrap in Ruby projects: https://github.com/bootstrap-ruby/

I think this project would be a great candidate to join our organisation!

The advantages are:

  • encourage contributions from other developers when this project is in a non-personal account
  • easier to find this project for Rubyists looking to use Bootstrap in their projects

Let me know what you think, it would be great to have bootstrap-colorpicker-rails onboard! ๐Ÿ˜„

group assets

i remember rails4 remove group assets from gemfile.

Error When Compiling Assets

I get the following error in version 0.2 when running "rake assets:precompile"

Invalid CSS after " .border-radius": expected "{", was "();"

Downgrading to 0.1 resolves the issue.

Plugin update

Hi,
I think we should update Js version for plugin for the newest one.

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.