diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-08-06 16:32:34 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-08-07 12:17:36 +0200 |
commit | be924797a3d9a7b6840194227c528a84a2ea90b4 (patch) | |
tree | a6621fb3403d90e96696ff0444549914e0ff029a /tpl/default/linklist.html | |
parent | 717aec2bd7a7061bab53d306c49a49459886f100 (diff) | |
download | Shaarli-be924797a3d9a7b6840194227c528a84a2ea90b4.tar.gz Shaarli-be924797a3d9a7b6840194227c528a84a2ea90b4.tar.zst Shaarli-be924797a3d9a7b6840194227c528a84a2ea90b4.zip |
Search results
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r-- | tpl/default/linklist.html | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 174ab44b..19a0c3c7 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -21,22 +21,30 @@ | |||
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | {if="count($links)==0"} | 23 | {if="count($links)==0"} |
24 | <div id="searchcriteria">Nothing found.</div> | 24 | <div class="pure-g pure-alert pure-alert-error search-result"> |
25 | <div class="pure-u-2-24"></div> | ||
26 | <div class="pure-u-20-24"> | ||
27 | <div id="searchcriteria">Nothing found.</div> | ||
28 | </div> | ||
29 | </div> | ||
25 | {elseif="!empty($search_term) or !empty($search_tags)"} | 30 | {elseif="!empty($search_term) or !empty($search_tags)"} |
26 | <div id="searchcriteria"> | 31 | <div class="pure-g pure-alert pure-alert-success search-result"> |
27 | {$result_count} results | 32 | <div class="pure-u-2-24"></div> |
28 | {if="!empty($search_term)"} | 33 | <div class="pure-u-20-24"> |
29 | for <em>{$search_term}</em> | 34 | {$result_count} results |
30 | {/if} | 35 | {if="!empty($search_term)"} |
31 | {if="!empty($search_tags)"} | 36 | for <em><strong>{$search_term}</strong></em> |
32 | {$exploded_tags=explode(' ', $search_tags)} | 37 | {/if} |
33 | tagged | 38 | {if="!empty($search_tags)"} |
34 | {loop="$exploded_tags"} | 39 | {$exploded_tags=explode(' ', $search_tags)} |
35 | <span class="linktag" title="Remove tag"> | 40 | tagged |
36 | <a href="?removetag={function="urlencode($value)"}">{$value} <span class="remove">x</span></a> | 41 | {loop="$exploded_tags"} |
37 | </span> | 42 | <span class="label label-tag" title="Remove tag"> |
38 | {/loop} | 43 | <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times"></i></span></a> |
39 | {/if} | 44 | </span> |
45 | {/loop} | ||
46 | {/if} | ||
47 | </div> | ||
40 | </div> | 48 | </div> |
41 | {/if} | 49 | {/if} |
42 | 50 | ||