foo_table-rails 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +19 -0
- data/LICENSE.FooTable +4 -0
- data/README.md +58 -0
- data/lib/foo_table-rails/engine.rb +6 -0
- data/lib/foo_table-rails/railtie.rb +5 -0
- data/lib/foo_table-rails/version.rb +5 -0
- data/lib/foo_table-rails.rb +12 -0
- data/vendor/assets/images/foo_table/down.png +0 -0
- data/vendor/assets/images/foo_table/minus.png +0 -0
- data/vendor/assets/images/foo_table/plus.png +0 -0
- data/vendor/assets/images/foo_table/sorting_sprite.png +0 -0
- data/vendor/assets/images/foo_table/up.png +0 -0
- data/vendor/assets/javascripts/footable.core.js +546 -0
- data/vendor/assets/javascripts/footable.filter.js +104 -0
- data/vendor/assets/javascripts/footable.paginate.js +128 -0
- data/vendor/assets/javascripts/footable.sort.js +160 -0
- data/vendor/assets/javascripts/footable.template.js +44 -0
- data/vendor/assets/stylesheets/footable.core.css +116 -0
- data/vendor/assets/stylesheets/footable.paginate.css +31 -0
- data/vendor/assets/stylesheets/footable.sort.css +24 -0
- data/vendor/assets/stylesheets/footable.theme.bootstrap-responsive.css +1109 -0
- data/vendor/assets/stylesheets/footable.theme.bootstrap-tab.js +144 -0
- data/vendor/assets/stylesheets/footable.theme.bootstrap.css +6158 -0
- metadata +108 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cdb579310e83536779f0fefdae0ea152bac2c435
|
4
|
+
data.tar.gz: be7ce15bb4d8e8536b7bdfdafa6d21faeda4f26a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 402e161bba46f156a29ded246b678a8a7b1f464dfa68201deb3ed8866bf467feb6bf061985106291177d5e3cf07e1b200da03a85d6ae5c66cc7949fd281a5fd8
|
7
|
+
data.tar.gz: 56930736cf71e255f1950a89877325cc9206781f3a8fb277ec9992988c8f8028a20d26ec56d59975df683be83db172c17776d02c115bac0cdc296d63acb58714
|
data/LICENSE
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (C) 2014 by Dale Stevens
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/LICENSE.FooTable
ADDED
data/README.md
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# 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)
|
2
|
+
|
3
|
+
Wire up the [FooTable](http://fooplugins.com/plugins/footable-jquery/) [assets](https://github.com/bradvin/FooTable) for your Rails
|
4
|
+
applications.
|
5
|
+
|
6
|
+
## Getting Started
|
7
|
+
|
8
|
+
If you're using Bundler, you can add foo_table-rails to your Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'foo_table-rails'
|
12
|
+
```
|
13
|
+
|
14
|
+
Or manually install the foo_table-rails gem:
|
15
|
+
|
16
|
+
```shell
|
17
|
+
gem install foo_table-rails
|
18
|
+
```
|
19
|
+
|
20
|
+
## FooTable::Rails for Rails >= 3.1
|
21
|
+
|
22
|
+
All of the assets from the most latest stable FooTable::Rails release are vendored
|
23
|
+
so that you can use them with the asset pipeline. At a minimum, you will
|
24
|
+
probably want the following in your application.js and application.css:
|
25
|
+
|
26
|
+
```js
|
27
|
+
//= require footable.core
|
28
|
+
```
|
29
|
+
|
30
|
+
```css
|
31
|
+
//= require footable.core
|
32
|
+
```
|
33
|
+
|
34
|
+
### Adding a plugin
|
35
|
+
|
36
|
+
Additional syntax modes can be added to your application.js:
|
37
|
+
|
38
|
+
```js
|
39
|
+
//= require footable.paginate
|
40
|
+
//= require footable.sort
|
41
|
+
// ...
|
42
|
+
```
|
43
|
+
|
44
|
+
### Adding a theme
|
45
|
+
|
46
|
+
Additional CSS themes can be added to your application.css
|
47
|
+
|
48
|
+
```css
|
49
|
+
//= require footable.bootstrap
|
50
|
+
```
|
51
|
+
|
52
|
+
### Contributing
|
53
|
+
|
54
|
+
Find a mistake? New version of FooTable::Rails? Submit a pull request!
|
55
|
+
|
56
|
+
---
|
57
|
+
|
58
|
+
Copyright (c) 2014 Dale Stevens, released under the MIT license
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|