|
|
@ -1,7 +1,7 @@
|
|
|
|
{% extends 'layout/base_sidebar.html' %}
|
|
|
|
{% extends 'layout/base_sidebar.html' %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block sidebar %}
|
|
|
|
{% block sidebar %}
|
|
|
|
<article class="rating">
|
|
|
|
<!-- <article class="rating">
|
|
|
|
<h3>Rating</h3>
|
|
|
|
<h3>Rating</h3>
|
|
|
|
<form action="{{ self.search_endpoint() }}" method="get">
|
|
|
|
<form action="{{ self.search_endpoint() }}" method="get">
|
|
|
|
<ul class="rating-input">
|
|
|
|
<ul class="rating-input">
|
|
|
@ -12,13 +12,13 @@
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</article>
|
|
|
|
</article> -->
|
|
|
|
<article class="tags tag_input">
|
|
|
|
<article class="tags">
|
|
|
|
<h3>Search</h3>
|
|
|
|
<h3>Search</h3>
|
|
|
|
<div class="tag-input">
|
|
|
|
<div class="tag-input">
|
|
|
|
<form action="{% block search_endpoint %}{{ url_for('post.posts') }}{% endblock %}" method="get">
|
|
|
|
<form action="{% block search_endpoint %}{{ url_for('post.posts') }}{% endblock %}" method="get">
|
|
|
|
<div class="tag-suggester" data-inputname="tags">
|
|
|
|
<div class="tag-suggester" data-inputname="tags">
|
|
|
|
<input type="text" name="tags" autocomplete="off" value="{{ request.args.get('tags', '') }}">
|
|
|
|
<input type="text" name="tags" autocomplete="off" placeholder="Search for tags" value="{{ request.args.get('tags', '') }}">
|
|
|
|
<div class="tag-container suggest-dropdown"></div>
|
|
|
|
<div class="tag-container suggest-dropdown"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- <input type="submit" value="Search"> -->
|
|
|
|
<!-- <input type="submit" value="Search"> -->
|
|
|
@ -28,11 +28,16 @@
|
|
|
|
<div class="tag-container tags-inpage">
|
|
|
|
<div class="tag-container tags-inpage">
|
|
|
|
{% for tag in tags %}
|
|
|
|
{% for tag in tags %}
|
|
|
|
<a class="taginpage" data-tagname="{{ tag.content }}" href="{{ tag.endpoint }}">
|
|
|
|
<a class="taginpage" data-tagname="{{ tag.content }}" href="{{ tag.endpoint }}">
|
|
|
|
<span class="fa fa-tag"></span>
|
|
|
|
<span class="tag-icon">
|
|
|
|
<span class="name">{{ tag.content_deser }}</span>
|
|
|
|
<span class="fa fa-tag"></span>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class="content">{{ tag.content_deser }}</span>
|
|
|
|
<span class="count">{{ tag.count }}</span>
|
|
|
|
<span class="count">{{ tag.count }}</span>
|
|
|
|
<span class="fa fa-plus plus"></span>
|
|
|
|
<span class="tag-right">
|
|
|
|
<!-- <span class="post_ids">{{ tag.post_ids }}</span> -->
|
|
|
|
<span class="fa fa-plus plus"></span>
|
|
|
|
|
|
|
|
{#<span class="fa fa-close close"></span>#}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
{#<span class="post_ids">{{ tag.post_ids }}</span>#}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|