forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-01 14:30:30 -06:00
parent 834e78a5b2
commit 1d944585ac
1 changed files with 3 additions and 3 deletions

View File

@ -14,8 +14,8 @@
<h1 class="font-bold text-xl font-heading leading-normal">
Search Results: "{{query}}"
</h1>
<div class="flex space-x-2 divide-x divide-gray-400">
<ul class="text-gray-700 text-sm flex items-center space-x-3 leading-normal">
<div class="flex space-x-3 divide-x divide-gray-400">
<ul class="text-gray-700 text-xs flex items-center space-x-3 leading-normal">
<li>
<a class="{% if '/posts/' in request.path %}font-bold text-red-600{% endif %}" href="/search/posts/?sort={{sort}}&q={{query | urlencode}}&t={{t}}">
Posts
@ -32,7 +32,7 @@
</a>
</li>
</ul>
<small class="block mt-1 text-gray-700">
<small class="pl-3 block 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 %}