diff options
author | Simon Rettberg | 2014-01-09 20:23:58 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-01-09 20:23:58 +0100 |
commit | a12c5db601ad2c3cee2507099b692d491782d614 (patch) | |
tree | 6c648f861e09ca6dc9bab68dc5e398d6f7309ce4 /templates/pagenav.html | |
parent | Categories for config vars (diff) | |
download | slx-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.html | 15 |
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="#">…</a></li> + {{/text}} + {{/current}} + {{/pages}} +</ul> |