Skip to content

Commit

Permalink
Updated license & readme & demo gif
Browse files Browse the repository at this point in the history
  • Loading branch information
José Antonio Yáñez Jiménez committed Mar 4, 2015
1 parent 4284eae commit 6fb5315
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 0 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ visit http://creativecommons.org/licenses/by/4.0/.
The original software (the jQuery OnOff plugin) is licensed under
the MIT License (MIT)

The MIT License (MIT)

Copyright (c) 2014 Timmy Willison

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# jQuery OnOff Rails [![Gem Version](https://badge.fury.io/gh/berikin%2Fjquery-onoff-rails.svg)](https://badge.fury.io/gh/berikin%2Fjquery-onoff-rails.svg)[![Build Status](https://travis-ci.org/berikin/jquery-onoff-rails.svg?branch=v0.4.0)](https://travis-ci.org/berikin/jquery-onoff-rails)
Rails wrapper for the jQuery OnOff plugin
Rails wrapper for the jQuery OnOff plugin, transform checkboxes into toggle switches.

![demo](demo/onoff.gif)


[From original jQuery OnOff repository:](https://github.com/timmywil/jquery.onoff)

Toggle switches made for the web are often solely constructed
to change when clicked or tapped,
animating side-to-side as they toggle.
That's a good start, but some people like to *slide* toggle
switches.
Javascript is used for creation and for adding the sliding functionality, but
the toggle is purely CSS.

Customize the look of your toggle switch using [proto.io's generator](http://proto.io/freebies/onoff/).

## Installation

Add this line to your application's Gemfile:
Expand Down
Binary file added demo/onoff.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6fb5315

Please sign in to comment.