diff options
author | Alberto Bertogli <albertito@blitiri.com.ar> | 2012-09-16 12:17:56 +0200 |
---|---|---|
committer | Alberto Bertogli <albertito@blitiri.com.ar> | 2012-11-10 18:49:54 +0100 |
commit | 80ef0017d47f536bf2c8c6af4b514efa50071a23 (patch) | |
tree | db630a50bf30abca5a62cd206d8bc9abed61b4e0 /views/paginate.html | |
download | git-arr-fork-465dd3334fbe89f552554abb13f53ff61c9f75d3.zip |
Initial commit0.01
Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'views/paginate.html')
-rw-r--r-- | views/paginate.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/views/paginate.html b/views/paginate.html new file mode 100644 index 0000000..72f3156 --- /dev/null +++ b/views/paginate.html @@ -0,0 +1,15 @@ + +<div class="paginate"> +% if offset > 0: +<a href="{{offset - 1}}.html">← prev</a> +% else: +<span class="inactive">← prev</span> +% end +<span class="sep">|</span> +% if nelem >= max_per_page: +<a href="{{offset + 1}}.html">next →</a> +% else: +<span class="inactive">next →</span> +% end +</div> + |