diff options
Diffstat (limited to 'linklist.paging.html')
-rw-r--r-- | linklist.paging.html | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/linklist.paging.html b/linklist.paging.html index d8c1e76..68947f9 100644 --- a/linklist.paging.html +++ b/linklist.paging.html @@ -1,17 +1,26 @@ <div class="linklist-paging"> <div class="paging pure-g"> <div class="linklist-filters pure-u-1-3"> - {if="isLoggedIn() or !empty($action_plugin)"} + {if="$is_logged_in or !empty($action_plugin)"} <span class="linklist-filters-text pure-u-0 pure-u-lg-visible"> {'Filters'|t} </span> - {if="isLoggedIn()"} - <a href="?privateonly" title="{'Filter private links'|t}" - class={if="$privateonly"}"filter-on"{else}"filter-off"{/if} - ><i class="fa fa-key"></i></a> + {if="$is_logged_in"} + <a href="?visibility=private" aria-label="{'Only display private links'|t}" title="{'Only display private links'|t}" + class="{if="$visibility==='private'"}filter-on{else}filter-off{/if}" + ><i class="fa fa-user-secret" aria-hidden="true"></i></a> + <a href="?visibility=public" aria-label="{'Only display public links'|t}" title="{'Only display public links'|t}" + class="{if="$visibility==='public'"}filter-on{else}filter-off{/if}" + ><i class="fa fa-globe" aria-hidden="true"></i></a> {/if} - <a href="#" class="filter-off fold-all pure-u-lg-0" title="Fold all"> - <i class="fa fa-chevron-up"></i> + <a href="?untaggedonly" aria-label="{'Filter untagged links'|t}" title="{'Filter untagged links'|t}" + class={if="$untaggedonly"}"filter-on"{else}"filter-off"{/if} + ><i class="fa fa-tag" aria-hidden="true"></i></a> + <a href="#" aria-label="{'Select all'|t}" title="{'Select all'|t}" + class="filter-off select-all-button pure-u-0 pure-u-lg-visible" + ><i class="fa fa-check-square-o" aria-hidden="true"></i></a> + <a href="#" class="filter-off fold-all pure-u-lg-0" aria-label="{'Fold all'|t}" title="{'Fold all'|t}"> + <i class="fa fa-chevron-up" aria-hidden="true"></i> </a> {loop="$action_plugin"} {$value.attr.class=isset($value.attr.class) ? $value.attr.class : ''} @@ -50,9 +59,9 @@ <form method="GET" class="pure-u-0 pure-u-lg-visible"> <input type="text" name="linksperpage" placeholder="133"> </form> - <a href="#" class="filter-off fold-all pure-u-0 pure-u-lg-visible" title="Fold all"> - <i class="fa fa-chevron-up"></i> + <a href="#" class="filter-off fold-all pure-u-0 pure-u-lg-visible" aria-label="{'Fold all'|t}" title="{'Fold all'|t}"> + <i class="fa fa-chevron-up" aria-hidden="true"></i> </a> </div> </div> -</div>
\ No newline at end of file +</div> |