aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.paging.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-07-28 11:07:55 +0200
committerArthurHoaro <arthur@hoa.ro>2018-07-28 11:07:55 +0200
commit83faedadff76c5bdca036f39f13943f63b27e164 (patch)
tree6f44cede16ec6a60f10b9699e211e0818f06d2c8 /tpl/default/linklist.paging.html
parent1d9eb22a3df85b67fe6652c0876cd7382c2fb525 (diff)
parent658988f3aeba7a5a938783249ccf2765251e5597 (diff)
downloadShaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.gz
Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.zst
Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.zip
Merge tag 'v0.9.7' into stable
Release v0.9.7
Diffstat (limited to 'tpl/default/linklist.paging.html')
-rw-r--r--tpl/default/linklist.paging.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html
new file mode 100644
index 00000000..347b3d13
--- /dev/null
+++ b/tpl/default/linklist.paging.html
@@ -0,0 +1,61 @@
1<div class="linklist-paging">
2 <div class="paging pure-g">
3 <div class="linklist-filters pure-u-1-3">
4 {if="isLoggedIn() or !empty($action_plugin)"}
5 <span class="linklist-filters-text pure-u-0 pure-u-lg-visible">
6 {'Filters'|t}
7 </span>
8 {if="isLoggedIn()"}
9 <a href="?privateonly" title="{'Filter private links'|t}"
10 class={if="$privateonly"}"filter-on"{else}"filter-off"{/if}
11 ><i class="fa fa-key"></i></a>
12 {/if}
13 <a href="?untaggedonly" title="{'Filter untagged links'|t}"
14 class={if="$untaggedonly"}"filter-on"{else}"filter-off"{/if}
15 ><i class="fa fa-tag"></i></a>
16 <a href="#" class="filter-off fold-all pure-u-lg-0" title="{'Fold all'|t}">
17 <i class="fa fa-chevron-up"></i>
18 </a>
19 {loop="$action_plugin"}
20 {$value.attr.class=isset($value.attr.class) ? $value.attr.class : ''}
21 {$value.attr.class=!empty($value.on) ? $value.attr.class .' filter-on' : $value.attr.class .' filter-off'}
22 <a
23 {loop="$value.attr"}
24 {$key}="{$value}"
25 {/loop}>
26 {$value.html}
27 </a>
28 {/loop}
29 {/if}
30 </div>
31
32
33 <div class="linklist-pages pure-u-1-3">
34 {if="$next_page_url"}
35 <a href="{$next_page_url}" class="paging_newer">
36 <i class="fa fa-arrow-circle-left"></i>
37 </a>
38 {/if}
39 {if="$page_max>1"}<span class="strong">{$page_current} / {$page_max}</span>{/if}
40 {if="$previous_page_url"}
41 <a href="{$previous_page_url}" class="paging_older">
42 <i class="fa fa-arrow-circle-right"></i>
43 </a>
44 {/if}
45
46 </div>
47
48 <div class="linksperpage pure-u-1-3">
49 <div class="pure-u-0 pure-u-lg-visible">{'Links per page'|t}</div>
50 <a href="?linksperpage=20">20</a>
51 <a href="?linksperpage=50">50</a>
52 <a href="?linksperpage=100">100</a>
53 <form method="GET" class="pure-u-0 pure-u-lg-visible">
54 <input type="text" name="linksperpage" placeholder="133">
55 </form>
56 <a href="#" class="filter-off fold-all pure-u-0 pure-u-lg-visible" title="{'Fold all'|t}">
57 <i class="fa fa-chevron-up"></i>
58 </a>
59 </div>
60 </div>
61</div>