chore: cleanup
This commit is contained in:
@@ -40,13 +40,8 @@
|
|||||||
{{ form_end(preferences_form) }}
|
{{ form_end(preferences_form) }}
|
||||||
|
|
||||||
<div class="flex flex-col md:flex-row justify-between">
|
<div class="flex flex-col md:flex-row justify-between">
|
||||||
<span
|
|
||||||
{{ stimulus_target('result-filter', 'loadingIcon') }}
|
|
||||||
{{ stimulus_controller('loading_icon', {total: (results.media.mediaType == "tvshows") ? results.media.episodes[1]|length : 1, count: 0}) }}
|
|
||||||
class="loading-icon">
|
|
||||||
</span>
|
|
||||||
|
|
||||||
{% if results.media.mediaType == "tvshows" %}
|
{% if results.media.mediaType == "tvshows" %}
|
||||||
|
<p>Season {{ results.season }}</p>
|
||||||
<div class="flex flex-row gap-2 justify-end px-8">
|
<div class="flex flex-row gap-2 justify-end px-8">
|
||||||
<twig:Modal heading="Back up a sec!" button_text="Download Season" submit_action="{{ stimulus_action('result_filter', 'downloadSeason', 'click')|stimulus_action('dialog', 'close') }}" button_class="px-1.5 py-1 border border-green-500 bg-green-800/60 rounded-ms text-sm font-semibold" show_cancel show_submit>
|
<twig:Modal heading="Back up a sec!" button_text="Download Season" submit_action="{{ stimulus_action('result_filter', 'downloadSeason', 'click')|stimulus_action('dialog', 'close') }}" button_class="px-1.5 py-1 border border-green-500 bg-green-800/60 rounded-ms text-sm font-semibold" show_cancel show_submit>
|
||||||
Downloading an entire season this way will use the filter from your
|
Downloading an entire season this way will use the filter from your
|
||||||
|
|||||||
@@ -152,8 +152,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<twig:Card title="Related Media" contentClass="flex flex-col gap-4 text-white">
|
<twig:Card title="Related Media" contentClass="flex flex-col gap-4 text-white">
|
||||||
<p>Results similar to "{{ results.media.title }}" that you may be interested in.</p>
|
|
||||||
|
|
||||||
<div class="grid grid-cols-2 gap-4 md:flex flex-col md:flex-row justify-between w-full">
|
<div class="grid grid-cols-2 gap-4 md:flex flex-col md:flex-row justify-between w-full">
|
||||||
{% for media in results.relatedMedia %}
|
{% for media in results.relatedMedia %}
|
||||||
<twig:Poster imdbId="{{ media.imdbId }}"
|
<twig:Poster imdbId="{{ media.imdbId }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user