forked from rDrama/rDrama
fix
parent
7289a72923
commit
834e78a5b2
|
@ -14,11 +14,30 @@
|
||||||
<h1 class="font-bold text-xl font-heading leading-normal">
|
<h1 class="font-bold text-xl font-heading leading-normal">
|
||||||
Search Results: "{{query}}"
|
Search Results: "{{query}}"
|
||||||
</h1>
|
</h1>
|
||||||
<small class="block mt-1 text-gray-700">
|
<div class="flex space-x-2 divide-x divide-gray-400">
|
||||||
<strong>{{ total }}</strong>
|
<ul class="text-gray-700 text-sm flex items-center space-x-3 leading-normal">
|
||||||
{{ sort }} posts matching <strong>"{{query}}"</strong> {{ 'from all time' if t=='all' else 'in the last' }}
|
<li>
|
||||||
{% if t != 'all' %}<span class="font-bold">{{ t }}</span>{% endif %}
|
<a class="{% if '/posts/' in request.path %}font-bold text-red-600{% endif %}" href="/search/posts/?sort={{sort}}&q={{query | urlencode}}&t={{t}}">
|
||||||
</small>
|
Posts
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="{% if '/comments/' in request.path %}font-bold text-red-600{% endif %}" href="/search/comments/?sort={{sort}}&q={{query | urlencode}}&t={{t}}">
|
||||||
|
Comments
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="{% if '/users/' in request.path %}font-bold text-red-600{% endif %}" href="/search/users/?sort={{sort}}&q={{query | urlencode}}&t={{t}}">
|
||||||
|
Users
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<small class="block mt-1 text-gray-700">
|
||||||
|
<strong>{{ total }}</strong>
|
||||||
|
{{ sort }} posts matching <strong>"{{query}}"</strong> {{ 'from all time' if t=='all' else 'in the last' }}
|
||||||
|
{% if t != 'all' %}<span class="font-bold">{{ t }}</span>{% endif %}
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if not '/users/' in request.path %}
|
{% if not '/users/' in request.path %}
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
|
|
Loading…
Reference in New Issue