aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-03 08:45:48 +0200
committerGitHub <noreply@github.com>2020-09-03 08:45:48 +0200
commit0a286f6946f6e13c865cd80b2c347725b88821d0 (patch)
tree4820c77e27123dae676a6df72b5f3547cc012448 /tpl
parent2835ac7cbe65fd2b602cadad5e9d6b09eb670d59 (diff)
parent4479aff18f4ff80e274b52548c08e9ed9379bd51 (diff)
downloadShaarli-0a286f6946f6e13c865cd80b2c347725b88821d0.tar.gz
Shaarli-0a286f6946f6e13c865cd80b2c347725b88821d0.tar.zst
Shaarli-0a286f6946f6e13c865cd80b2c347725b88821d0.zip
Merge pull request #1526 from kcaran/links_per_page
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/linklist.paging.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html
index 20853330..aa637868 100644
--- a/tpl/default/linklist.paging.html
+++ b/tpl/default/linklist.paging.html
@@ -55,11 +55,16 @@
55 55
56 <div class="linksperpage pure-u-1-3"> 56 <div class="linksperpage pure-u-1-3">
57 <div class="pure-u-0 pure-u-lg-visible">{'Links per page'|t}</div> 57 <div class="pure-u-0 pure-u-lg-visible">{'Links per page'|t}</div>
58 <a href="{$base_path}/links-per-page?nb=20">20</a> 58 <a href="{$base_path}/links-per-page?nb=20"
59 <a href="{$base_path}/links-per-page?nb=50">50</a> 59 {if="$links_per_page == 20"}class="selected"{/if}>20</a>
60 <a href="{$base_path}/links-per-page?nb=100">100</a> 60 <a href="{$base_path}/links-per-page?nb=50"
61 {if="$links_per_page == 50"}class="selected"{/if}>50</a>
62 <a href="{$base_path}/links-per-page?nb=100"
63 {if="$links_per_page == 100"}class="selected"{/if}>100</a>
61 <form method="GET" class="pure-u-0 pure-u-lg-visible" action="{$base_path}/links-per-page"> 64 <form method="GET" class="pure-u-0 pure-u-lg-visible" action="{$base_path}/links-per-page">
62 <input type="text" name="nb" placeholder="133"> 65 <input type="text" name="nb" placeholder="133"
66 {if="$links_per_page != 20 && $links_per_page != 50 && $links_per_page != 100"}
67 value="{$links_per_page}"{/if}>
63 </form> 68 </form>
64 <a href="#" class="filter-off fold-all pure-u-0 pure-u-lg-visible" aria-label="{'Fold all'|t}" title="{'Fold all'|t}"> 69 <a href="#" class="filter-off fold-all pure-u-0 pure-u-lg-visible" aria-label="{'Fold all'|t}" title="{'Fold all'|t}">
65 <i class="fa fa-chevron-up" aria-hidden="true"></i> 70 <i class="fa fa-chevron-up" aria-hidden="true"></i>