https://github.com/twilightcoders/foo_table-rails
Wire up the FooTable assets for your Rails applications.
https://github.com/twilightcoders/foo_table-rails
Last synced: 5 months ago
JSON representation
Wire up the FooTable assets for your Rails applications.
- Host: GitHub
- URL: https://github.com/twilightcoders/foo_table-rails
- Owner: TwilightCoders
- License: mit
- Created: 2014-11-06T00:05:46.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-09-12T16:04:25.000Z (almost 10 years ago)
- Last Synced: 2024-03-14T22:23:01.179Z (over 2 years ago)
- Language: Ruby
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FooTable::Rails [](http://travis-ci.org/TwilightCoders/foo_table-rails) [](http://badge.fury.io/rb/foo_table-rails) [](https://codeclimate.com/github/TwilightCoders/foo_table-rails) [](https://gemnasium.com/TwilightCoders/foo_table-rails)
Wire up the [FooTable](http://fooplugins.com/plugins/footable-jquery/) [assets](https://github.com/bradvin/FooTable) for your Rails
applications.
## Getting Started
If you're using Bundler, you can add foo_table-rails to your Gemfile:
```ruby
gem 'foo_table-rails'
```
Or manually install the foo_table-rails gem:
```shell
gem install foo_table-rails
```
## FooTable::Rails for Rails >= 3.1
All of the assets from the most latest stable FooTable::Rails release are vendored
so that you can use them with the asset pipeline. At a minimum, you will
probably want the following in your application.js and application.css:
```js
//= require footable.core
// ... and plugins ...
// or...
//= require footable.all
```
```css
//= require footable.core
```
### Adding a plugin
Additional syntax modes can be added to your application.js:
```js
//= require footable.paginate
//= require footable.sort
// ...
```
### Adding a theme
Additional CSS themes can be added to your application.css
```css
//= require footable.metro
```
### Contributing
Find a mistake? New version of FooTable::Rails? Submit a pull request!
---
Copyright (c) 2015 Dale Stevens, released under the MIT license