summaryrefslogtreecommitdiff
path: root/templates/_pagination1.html.ep
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2020-10-29 12:13:04 +0100
commitee43823179ee627ac16ea9da8168e5f1bf9619c0 (patch)
tree5e6c36d5629d2ce79f3cb1310998dc715a6f19c7 /templates/_pagination1.html.ep
Initial commit; Stable version
Diffstat (limited to 'templates/_pagination1.html.ep')
-rw-r--r--templates/_pagination1.html.ep5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/_pagination1.html.ep b/templates/_pagination1.html.ep
new file mode 100644
index 0000000..14354c0
--- /dev/null
+++ b/templates/_pagination1.html.ep
@@ -0,0 +1,5 @@
+<a href="<%= url_with->query({start => $prev_page->[0]-1}) %>"><img src="/left.gif" alt="←"></a>
+<a href="<%= url_with->query({start => $first_page->[0]-1}) %>"><img src="/first.gif" alt="↞"></a>
+[<%= join(' ', ucfirst l('page'), $current_page, l('of'), $total_pages) %>]
+<a href="<%= url_with->query({start => $last_page->[0]-1}) %>"><img src="/last.gif" alt="↠"></a>
+<a href="<%= url_with->query({start => $next_page->[0]-1}) %>"><img src="/right.gif" alt="→"></a>