feat: media result page
This commit is contained in:
14
templates/search/result.html.twig
Normal file
14
templates/search/result.html.twig
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Search Results &mdash - Torsearch{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="p-4 flex flex-col grow gap-4">
|
||||
<h2 class="mb-2 text-3xl font-bold text-gray-50">Search Results</h2>
|
||||
<div class="flex flex-row w-full gap-2">
|
||||
<twig:Card title="{{ result.media.title }}" contentClass="flex flex-col gap-4 justify-between w-full">
|
||||
|
||||
</twig:Card>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -17,6 +17,7 @@
|
||||
description="{{ result.description }}"
|
||||
poster="{{ result.poster }}"
|
||||
imdbId="{{ result.imdbId }}"
|
||||
tmdbId="{{ result.tmdbId }}"
|
||||
/>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user