This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
binaryattraction/app/views/home/_pagination_navigation.html...

11 lines
663 B
Plaintext

#pagination_navigation
%p
%a{ :href => '#', :onclick => "scroll_box(0); return false;", :title => 'First page' }
%img{ :src => '/images/go-first.png' }
%a{ :href => '#', :onclick => "scroll_box(page - 1); return false;", :title => 'Previous page' }
%img{ :src => '/images/go-previous.png' }
== <span id="pagenum">#{@page + 1}</span> / #{@page_count}
%a{ :href => '#', :onclick => "scroll_box(page + 1); return false;", :title => 'Next page' }
%img{ :src => '/images/go-next.png' }
%a{ :href => '#', :onclick => "scroll_box(page_count - 1); return false;", :title => 'Next page' }
%img{ :src => '/images/go-last.png' }