Change search result appearance

This commit is contained in:
marc
2025-04-27 22:47:52 +02:00
parent bc3d98aba2
commit 4911935cdf
3 changed files with 30 additions and 44 deletions

View File

@@ -12,32 +12,9 @@
<i>{{ query }}</i>
</button>
{% endif %}
<ul class="text-left min-w-full w-full">
<ul class="min-w-full w-full">
{% for tema in temes %}
<li class="flex flex-col
m-4 rounded-lg
bg-white">
<div class="py-2 px-4 text-brown font-bold">
<a href="/tema/{{ tema.id }}">
{{ tema.title }}
</a>
</div>
{% if tema.main_score() and tema.main_score().preview_url %}
<img class="p-2 max-w"
src="{{ tema.main_score().preview_url }}" />
{% endif %}
{% if tema.properties %}
<ul class="flex flex-wrap text-sm
py-2 px-4">
{% for property in tema.properties %}
<div class="bg-beige text-white rounded
m-1 px-2">
{{ property.value }}
</div>
{% endfor %}
</ul>
{% endif %}
</li>
{% include "fragments/temes/result.html" %}
{% endfor %}
</ul>
{% if prev_offset is not none or next_offset is not none %}