Created
June 17, 2015 17:29
-
-
Save camerond/2c914aff621e9e0d4673 to your computer and use it in GitHub Desktop.
Static UI for default Kaminari markup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%nav.pagination | |
%span.first= link_to "« First".html_safe, "#" | |
%span.prev= link_to "‹ Prev".html_safe, "#" | |
%span.page.gap … | |
- (5..8).each do |n| | |
%span.page= link_to n, "#" | |
%span.page.current 9 | |
- (10..13).each do |n| | |
%span.page= link_to n, "#" | |
%span.page.gap … | |
%span.next= link_to "Next ›".html_safe, "#" | |
%span.last= link_to "Last »".html_safe, "#" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment