From 9d4736a3e95332198896f97ecc8a83abb0cbe85b Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 16 Dec 2017 12:36:59 +0100 Subject: Add a filter to only display public links When the key filter is clicked once, it only displays private link. When it is clicked on again, it becomes red and only public links are displayed. Another click and all links are displayed. The current visibility status is shown in the search banner Fixes #1030 --- tpl/default/css/shaarli.css | 5 +++++ tpl/default/linklist.paging.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'tpl/default') diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 14439402..1e07a88e 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -453,6 +453,11 @@ body, .pure-g [class*="pure-u"] { background: #1b926c; } +.linklist-filters .filter-block { + color: #f5f5f5; + background: #ac2925; +} + .linklist-pages { margin: 5px 0; color: #252525; diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html index 347b3d13..e1726f87 100644 --- a/tpl/default/linklist.paging.html +++ b/tpl/default/linklist.paging.html @@ -6,8 +6,8 @@ {'Filters'|t} {if="isLoggedIn()"} - {/if} Date: Wed, 24 Jan 2018 18:46:31 +0100 Subject: Public/private filter: use two separate buttons #1038 --- tpl/default/linklist.paging.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tpl/default') diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html index e1726f87..72bdd931 100644 --- a/tpl/default/linklist.paging.html +++ b/tpl/default/linklist.paging.html @@ -6,9 +6,12 @@ {'Filters'|t} {if="isLoggedIn()"} - + + {/if}