aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.paging.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/linklist.paging.html')
-rw-r--r--tpl/default/linklist.paging.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html
new file mode 100644
index 00000000..bc1591e4
--- /dev/null
+++ b/tpl/default/linklist.paging.html
@@ -0,0 +1,55 @@
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="#" class="filter-off fold-all" title="Fold all">
14 <i class="fa fa-chevron-up"></i>
15 </a>
16 {loop="$action_plugin"}
17 {$value.attr.class=isset($value.attr.class) ? $value.attr.class : ''}
18 {$value.attr.class=!empty($value.on) ? $value.attr.class .' filter-on' : $value.attr.class .' filter-off'}
19 <a
20 {loop="$value.attr"}
21 {$key}="{$value}"
22 {/loop}>
23 {$value.html}
24 </a>
25 {/loop}
26 {/if}
27 </div>
28
29
30 <div class="linklist-pages pure-u-1-3">
31 {if="$next_page_url"}
32 <a href="{$next_page_url}" class="paging_newer">
33 <i class="fa fa-arrow-circle-left"></i>
34 </a>
35 {/if}
36 {if="$page_max>1"}<span class="strong">{$page_current} / {$page_max}</span>{/if}
37 {if="$previous_page_url"}
38 <a href="{$previous_page_url}" class="paging_older">
39 <i class="fa fa-arrow-circle-right"></i>
40 </a>
41 {/if}
42
43 </div>
44
45 <div class="linksperpage pure-u-1-3">
46 <div class="pure-u-0 pure-u-lg-visible">{'Links per page'|t}</div>
47 <a href="?linksperpage=20">20</a>
48 <a href="?linksperpage=50">50</a>
49 <a href="?linksperpage=100">100</a>
50 <form method="GET" class="pure-u-0 pure-u-lg-visible">
51 <input type="text" name="linksperpage" placeholder="133">
52 </form>
53 </div>
54 </div>
55</div> \ No newline at end of file