Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mseri/rails-purecss-will_paginate
Add support to will_paginate to purecss
https://github.com/mseri/rails-purecss-will_paginate
Last synced: 24 days ago
JSON representation
Add support to will_paginate to purecss
- Host: GitHub
- URL: https://github.com/mseri/rails-purecss-will_paginate
- Owner: mseri
- License: other
- Created: 2013-06-02T16:43:49.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-03T09:22:05.000Z (over 11 years ago)
- Last Synced: 2024-04-23T23:37:11.128Z (7 months ago)
- Language: Ruby
- Size: 145 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Purecss::WillPaginate
Rails Engine that extends [will_paginate][wp] stylings to match the pagination styling conventions
in [Pure CSS][pc] toolkit.Check the gem [purecss](https://github.com/mseri/rails-purecss) to include Pure in the Rails Asset Pipeline.
[![Build Status](https://travis-ci.org/mseri/rails-purecss-will_paginate.png?branch=master)](https://travis-ci.org/mseri/rails-purecss-will_paginate.png?branch=master)
## Installation
Add this line to your application's Gemfile:
gem 'purecss-will_paginate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install purecss-will_paginate
### Usage
Just like you would in the regular [will_paginate][wp]. If you've got a need to use the default will_paginate stylings,
pass an option like so:<%= will_paginate(@things, :renderer => WillPaginate::ActionView::LinkRenderer) %>
Based on [bootstrap-will_paginate](https://github.com/yrgoldteeth/bootstrap-will_paginate).
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request[wp]: http://github.com/mislav/will_paginate
[pc]: http://purecss.io## Changelog
- 0.0.3 Travis support, Rakefile corrected
- 0.0.2 Fixed dependencies
- 0.0.1 First version