aboutsummaryrefslogtreecommitdiff
path: root/tag.list.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
committerneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
commite1e025823c6e868e59cde9ecc8fa495ee45de7bc (patch)
treeae3450c92daec3b99059a569510a24d6ab6753a6 /tag.list.html
parent03588331342e2a401ae4a8617f6225325d099fa7 (diff)
downloadshaarli_ascii-master.tar.xz
shaarli_ascii-master.zip
Update theme to current shaarli versionHEAD0.11master0.11
Diffstat (limited to 'tag.list.html')
-rw-r--r--tag.list.html91
1 files changed, 91 insertions, 0 deletions
diff --git a/tag.list.html b/tag.list.html
new file mode 100644
index 0000000..41eab24
--- /dev/null
+++ b/tag.list.html
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
+<head>
+ {include="includes"}
+</head>
+<body>
+{include="page.header"}
+
+{include="tag.sort"}
+
+<div class="pure-g">
+ <div class="pure-u-lg-1-6 pure-u-1-24"></div>
+ <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
+ {$countTags=count($tags)}
+ <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2>
+ {if="!empty($search_tags)"}
+ <p class="center">
+ <a href="?searchtags={$search_tags|urlencode}" class="pure-button pure-button-shaarli">
+ {'List all links with those tags'|t}
+ </a>
+ </p>
+ {/if}
+
+ <div id="search-tagcloud" class="pure-g searchform-block search-tagcloud">
+ <div class="pure-u-lg-1-4"></div>
+ <div class="pure-u-1 pure-u-lg-1-2">
+ <form method="GET">
+ <input type="hidden" name="do" value="taglist">
+ <input type="text" name="searchtags" placeholder="{'Filter by tag'|t}"
+ {if="!empty($search_tags)"}
+ value="{$search_tags}"
+ {/if}
+ autocomplete="off" data-multiple data-autofirst data-minChars="1"
+ data-list="{loop="$tags"}{$key}, {/loop}"
+ >
+ <button type="submit" class="search-button"><i class="fa fa-search"></i></button>
+ </form>
+ </div>
+ <div class="pure-u-lg-1-4"></div>
+ </div>
+
+ <div id="plugin_zone_start_tagcloud" class="plugin_zone">
+ {loop="$plugin_start_zone"}
+ {$value}
+ {/loop}
+ </div>
+
+ <div id="taglist" class="taglist-container">
+ {loop="tags"}
+ <div class="tag-list-item pure-g" data-tag="{$key}">
+ <div class="pure-u-1">
+ {if="$is_logged_in===true"}
+ <a href="#" class="delete-tag"><i class="fa fa-trash"></i></a>&nbsp;&nbsp;
+ <a href="?do=changetag&fromtag={$key|urlencode}" class="rename-tag">
+ <i class="fa fa-pencil-square-o {$key}"></i>
+ </a>
+ {/if}
+
+ <a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value}</a>
+ <a href="?searchtags={$key|urlencode} {$search_tags|urlencode}" class="tag-link">{$key}</a>
+
+ {loop="$value.tag_plugin"}
+ {$value}
+ {/loop}
+ </div>
+ {if="$is_logged_in===true"}
+ <div class="rename-tag-form pure-u-1">
+ <input type="text" name="{$key}" value="{$key}" class="rename-tag-input" />
+ <a href="#" class="validate-rename-tag"><i class="fa fa-check"></i></a>
+ </div>
+ {/if}
+ </div>
+ {/loop}
+ </div>
+
+ <div id="plugin_zone_end_tagcloud" class="plugin_zone">
+ {loop="$plugin_end_zone"}
+ {$value}
+ {/loop}
+ </div>
+ </div>
+</div>
+
+{if="$is_logged_in===true"}
+ <input type="hidden" name="taglist" value="{loop="$tags"}{$key} {/loop}"
+{/if}
+
+{include="page.footer"}
+</body>
+</html>
+