summaryrefslogtreecommitdiff
path: root/templates/displayheaders/_pagination1.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/displayheaders/_pagination1.html.ep')
-rw-r--r--templates/displayheaders/_pagination1.html.ep21
1 files changed, 14 insertions, 7 deletions
diff --git a/templates/displayheaders/_pagination1.html.ep b/templates/displayheaders/_pagination1.html.ep
index 798f79f..a32afe1 100644
--- a/templates/displayheaders/_pagination1.html.ep
+++ b/templates/displayheaders/_pagination1.html.ep
@@ -1,7 +1,14 @@
-<div>
- <a href="<%= url_with->query({start => $pgn->{prev_page}[0]}) %>"> ← </a>
- <a href="<%= url_with->query({start => $pgn->{first_page}[0]}) %>"> ↞ </a>
- [<%= l('page [_1] of [_2]', $pgn->{current_page}+1, $pgn->{total_pages}) %>]
- <a href="<%= url_with->query({start => $pgn->{last_page}[0]}) %>"> ↠ </a>
- <a href="<%= url_with->query({start => $pgn->{next_page}[0]}) %>"> → </a>
-</div>
+<nav>
+ <ul class="pagination-box">
+ <li>
+ %= $c->_paginate->make_link('←', 'prev_page')
+ <li>
+ %= $c->_paginate->make_link('↞', 'first_page')
+ <li>
+ <span><%= l('page [_1] of [_2]', $pgn->{current_page}+1, $pgn->{total_pages}) %></span>
+ <li>
+ %= $c->_paginate->make_link('↠', 'last_page')
+ <li>
+ %= $c->_paginate->make_link('→', 'next_page')
+ </ul>
+</nav>