aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.paging.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-02-27 20:24:28 +0100
committerGitHub <noreply@github.com>2017-02-27 20:24:28 +0100
commit5978588578ca103152598ccfbe41019b12e00a4f (patch)
treeeedbb83c420f6af103440bcafbe6b79738ce7521 /tpl/default/linklist.paging.html
parent9e5a37cc7f4eb1c83222a94eb83d4e99ce4460a4 (diff)
parent7dcbfde5ffbc057a44f710e3be7e4856d235e90b (diff)
downloadShaarli-5978588578ca103152598ccfbe41019b12e00a4f.tar.gz
Shaarli-5978588578ca103152598ccfbe41019b12e00a4f.tar.zst
Shaarli-5978588578ca103152598ccfbe41019b12e00a4f.zip
Merge pull request #754 from ArthurHoaro/webdesign2
New default template
Diffstat (limited to 'tpl/default/linklist.paging.html')
-rw-r--r--tpl/default/linklist.paging.html82
1 files changed, 54 insertions, 28 deletions
diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html
index 86019c01..d8c1e76e 100644
--- a/tpl/default/linklist.paging.html
+++ b/tpl/default/linklist.paging.html
@@ -1,32 +1,58 @@
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 pure-u-0 pure-u-lg-visible">
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'|t}
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="{'Filter private links'|t}"
10 </a> 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 pure-u-lg-0" 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>
11 28
12 29
13 </div> 30 <div class="linklist-pages pure-u-1-3">
14{/if} 31 {if="$next_page_url"}
15 {loop="$action_plugin"} 32 <a href="{$next_page_url}" class="paging_newer">
16 <div class="paging_privatelinks"> 33 <i class="fa fa-arrow-circle-left"></i>
17 <a 34 </a>
18 {loop="$value.attr"} 35 {/if}
19 {$key}="{$value}" 36 {if="$page_max>1"}<span class="strong">{$page_current} / {$page_max}</span>{/if}
20 {/loop}> 37 {if="$previous_page_url"}
21 {$value.html} 38 <a href="{$previous_page_url}" class="paging_older">
39 <i class="fa fa-arrow-circle-right"></i>
22 </a> 40 </a>
23 </div> 41 {/if}
24 {/loop} 42
25 <div class="paging_linksperpage"> 43 </div>
26 Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a> 44
27 <form method="GET" class="linksperpage"><input type="text" name="linksperpage" size="2"></form> 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 <a href="#" class="filter-off fold-all pure-u-0 pure-u-lg-visible" title="Fold all">
54 <i class="fa fa-chevron-up"></i>
55 </a>
28 </div> 56 </div>
29 {if="$previous_page_url"} <a href="{$previous_page_url}" class="paging_older">&#x25C4;Older</a> {/if} 57 </div>
30 <div class="paging_current">page {$page_current} / {$page_max} </div> 58</div> \ No newline at end of file
31 {if="$next_page_url"} <a href="{$next_page_url}" class="paging_newer">Newer&#x25BA;</a> {/if}
32</div>