summaryrefslogtreecommitdiffstats
path: root/templates/pagenav.html
diff options
context:
space:
mode:
authorSimon Rettberg2014-01-09 20:23:58 +0100
committerSimon Rettberg2014-01-09 20:23:58 +0100
commita12c5db601ad2c3cee2507099b692d491782d614 (patch)
tree6c648f861e09ca6dc9bab68dc5e398d6f7309ce4 /templates/pagenav.html
parentCategories for config vars (diff)
downloadslx-admin-a12c5db601ad2c3cee2507099b692d491782d614.tar.gz
slx-admin-a12c5db601ad2c3cee2507099b692d491782d614.tar.xz
slx-admin-a12c5db601ad2c3cee2507099b692d491782d614.zip
Add pagination to syslog, change filter inputbox to use tagsinput
Diffstat (limited to 'templates/pagenav.html')
-rw-r--r--templates/pagenav.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/pagenav.html b/templates/pagenav.html
new file mode 100644
index 00000000..5cab6a46
--- /dev/null
+++ b/templates/pagenav.html
@@ -0,0 +1,15 @@
+<ul class="pagination pagination-sm pull-right">
+ {{#pages}}
+ {{#current}}
+ <li class="active"><a href="{{url}}page={{page}}">{{text}} <span class="sr-only">(current)</span></a></li>
+ {{/current}}
+ {{^current}}
+ {{#text}}
+ <li><a href="{{url}}page={{page}}">{{text}}</a></li>
+ {{/text}}
+ {{^text}}
+ <li class="disabled"><a href="#">&hellip;</a></li>
+ {{/text}}
+ {{/current}}
+ {{/pages}}
+</ul>