diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
commit | 83faedadff76c5bdca036f39f13943f63b27e164 (patch) | |
tree | 6f44cede16ec6a60f10b9699e211e0818f06d2c8 /tpl/default/tag.cloud.html | |
parent | 1d9eb22a3df85b67fe6652c0876cd7382c2fb525 (diff) | |
parent | 658988f3aeba7a5a938783249ccf2765251e5597 (diff) | |
download | Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.gz Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.zst Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.zip |
Merge tag 'v0.9.7' into stable
Release v0.9.7
Diffstat (limited to 'tpl/default/tag.cloud.html')
-rw-r--r-- | tpl/default/tag.cloud.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html new file mode 100644 index 00000000..12701465 --- /dev/null +++ b/tpl/default/tag.cloud.html | |||
@@ -0,0 +1,71 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | {include="includes"} | ||
5 | </head> | ||
6 | <body> | ||
7 | {include="page.header"} | ||
8 | |||
9 | {include="tag.sort"} | ||
10 | |||
11 | <div class="pure-g"> | ||
12 | <div class="pure-u-lg-1-6 pure-u-1-24"></div> | ||
13 | <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> | ||
14 | {$countTags=count($tags)} | ||
15 | <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2> | ||
16 | {if="!empty($search_tags)"} | ||
17 | <p class="center"> | ||
18 | <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli"> | ||
19 | {'List all links with those tags'|t} | ||
20 | </a> | ||
21 | </p> | ||
22 | {/if} | ||
23 | |||
24 | <div id="search-tagcloud" class="pure-g"> | ||
25 | <div class="pure-u-lg-1-4"></div> | ||
26 | <div class="pure-u-1 pure-u-lg-1-2"> | ||
27 | <form method="GET"> | ||
28 | <input type="hidden" name="do" value="tagcloud"> | ||
29 | <input type="text" name="searchtags" placeholder="{'Filter by tag'|t}" | ||
30 | {if="!empty($search_tags)"} | ||
31 | value="{$search_tags}" | ||
32 | {/if} | ||
33 | autocomplete="off" data-multiple data-autofirst data-minChars="1" | ||
34 | data-list="{loop="$tags"}{$key}, {/loop}" | ||
35 | > | ||
36 | <button type="submit" class="search-button"><i class="fa fa-search"></i></button> | ||
37 | </form> | ||
38 | </div> | ||
39 | <div class="pure-u-lg-1-4"></div> | ||
40 | </div> | ||
41 | |||
42 | <div id="plugin_zone_start_tagcloud" class="plugin_zone"> | ||
43 | {loop="$plugin_start_zone"} | ||
44 | {$value} | ||
45 | {/loop} | ||
46 | </div> | ||
47 | |||
48 | <div id="cloudtag"> | ||
49 | {loop="tags"} | ||
50 | <a href="?searchtags={$key|urlencode} {$search_tags|urlencode}" style="font-size:{$value.size}em;">{$key}</a | ||
51 | ><a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value.count}</a> | ||
52 | {loop="$value.tag_plugin"} | ||
53 | {$value} | ||
54 | {/loop} | ||
55 | {/loop} | ||
56 | </div> | ||
57 | |||
58 | <div id="plugin_zone_end_tagcloud" class="plugin_zone"> | ||
59 | {loop="$plugin_end_zone"} | ||
60 | {$value} | ||
61 | {/loop} | ||
62 | </div> | ||
63 | </div> | ||
64 | </div> | ||
65 | |||
66 | {include="tag.sort"} | ||
67 | |||
68 | {include="page.footer"} | ||
69 | </body> | ||
70 | </html> | ||
71 | |||