diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-16 18:01:06 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-16 18:01:06 +0100 |
commit | 41a0a69ba25b46797b8fbc93a2035ed257b72999 (patch) | |
tree | 6aefa4c49a6f29dd55cb1bed82c60bbc5b96804d /templates/displayheaders/_pagination1.html.ep | |
parent | 0203fba6502916e4a6f63433fb7a26e8eff42c85 (diff) |
changed pagination appearance
Diffstat (limited to 'templates/displayheaders/_pagination1.html.ep')
-rw-r--r-- | templates/displayheaders/_pagination1.html.ep | 21 |
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> |