aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.paging.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-02-27 23:21:11 +0100
committerArthurHoaro <arthur@hoa.ro>2016-08-07 12:17:36 +0200
commit4d7cd1b0e2ff3c4ac5df03774640164f681b5e96 (patch)
tree28f8dd493c0d338a8eb8e0446d0c83288dac50ab /tpl/default/linklist.paging.html
parentd63f7cf5b8a25bba0de8ee11202edda3ca062eb4 (diff)
downloadShaarli-4d7cd1b0e2ff3c4ac5df03774640164f681b5e96.tar.gz
Shaarli-4d7cd1b0e2ff3c4ac5df03774640164f681b5e96.tar.zst
Shaarli-4d7cd1b0e2ff3c4ac5df03774640164f681b5e96.zip
Linklist paging
Diffstat (limited to 'tpl/default/linklist.paging.html')
-rw-r--r--tpl/default/linklist.paging.html68
1 files changed, 47 insertions, 21 deletions
diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html
index e91c8f86..57ee1657 100644
--- a/tpl/default/linklist.paging.html
+++ b/tpl/default/linklist.paging.html
@@ -1,25 +1,51 @@
1<div class="paging"> 1<div class="linklist-paging">
2{if="isLoggedIn()"} 2 <div class="paging pure-g">
3 <div class="paging_privatelinks"> 3 <div class="linklist-filters pure-u-1-3">
4 <a href="?privateonly"> 4 {if="isLoggedIn() or !empty($action_plugin)"}
5 {if="$privateonly"} 5 <span class="linklist-filters-text">
6 <img src="images/private_16x16_active.png#" width="16" height="16" title="Click to see all links" alt="Click to see all links"> 6 Filters:
7 {else} 7 </span>
8 <img src="images/private_16x16.png#" width="16" height="16" title="Click to see only private links" alt="Click to see only private links"> 8 {if="isLoggedIn()"}
9 {/if} 9 <a href="?privateonly" title="Click to see all links"
10 </a> 10 class={if="$privateonly"}"filter-on"{else}"filter-off"{/if}
11 ><i class="fa fa-key"></i></a>
12 {/if}
13 {loop="$action_plugin"}
14 <!-- FIXME! Plugin update to handle that. -->
15 <a href="?privateonly" title="{$value.title}" class=
16 {if="$value.on"}
17 "filter-on"
18 {else}
19 "filter-off"
20 {/if}
21 >{$value.url}</a>
22 {/loop}
23 {/if}
24 </div>
11 25
12 26
27 <div class="linklist-pages pure-u-1-3">
28 {if="$previous_page_url"}
29 <a href="{$previous_page_url}" class="paging_older">
30 <i class="fa fa-long-arrow-left"></i> Older
31 </a>
32 {/if}
33 {if="$page_max>1"}{$page_current} / {$page_max}{/if}
34 {if="$next_page_url"}
35 <a href="{$next_page_url}" class="paging_newer">
36 Newer <i class="fa fa-long-arrow-right"></i>
37 </a>
38 {/if}
13 </div> 39 </div>
14{/if} 40
15 {loop="$action_plugin"} 41 <div class="linksperpage pure-u-1-3">
16 {$value} 42 Links per page:
17 {/loop} 43 <a href="?linksperpage=20">20</a>
18 <div class="paging_linksperpage"> 44 <a href="?linksperpage=50">50</a>
19 Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a> 45 <a href="?linksperpage=100">100</a>
20 <form method="GET" class="linksperpage"><input type="text" name="linksperpage" size="2"></form> 46 <form method="GET">
47 <input type="text" name="linksperpage" size="2">
48 </form>
21 </div> 49 </div>
22 {if="$previous_page_url"} <a href="{$previous_page_url}" class="paging_older">&#x25C4;Older</a> {/if} 50 </div>
23 <div class="paging_current">page {$page_current} / {$page_max} </div> 51</div> \ No newline at end of file
24 {if="$next_page_url"} <a href="{$next_page_url}" class="paging_newer">Newer&#x25BA;</a> {/if}
25</div>