From c4c36107146ac11931d5cc0d8f4a6031d7af95c2 Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Mon, 21 Apr 2025 23:39:30 -0500 Subject: [PATCH] feat(EpisodeOptions): number of results in pill --- templates/search/result.html.twig | 5 +- templates/torrentio/tvshows.html.twig | 137 ++++++++++++++------------ 2 files changed, 75 insertions(+), 67 deletions(-) diff --git a/templates/search/result.html.twig b/templates/search/result.html.twig index 1304b5b..d251858 100644 --- a/templates/search/result.html.twig +++ b/templates/search/result.html.twig @@ -8,7 +8,7 @@
- +

{{ results.media.title }} - {{ results.media.year }} @@ -32,8 +32,7 @@ season: season, episode: episode['episode_number'], active: active, - }) }}> -

+ }) }}>
{% endfor %} {% endfor %} {% endif %} diff --git a/templates/torrentio/tvshows.html.twig b/templates/torrentio/tvshows.html.twig index 7e93eca..dfef708 100644 --- a/templates/torrentio/tvshows.html.twig +++ b/templates/torrentio/tvshows.html.twig @@ -4,6 +4,11 @@

{{ results.episode }}. {{ results.media.title }}

{{ results.media.description }}

+ + {{ results.results|length }} results +
@@ -12,69 +17,73 @@
- - - - - - - - - - - - - - {% for result in results.results %} - - - - - - - - +
+
+ + + + + + + + + - {% endfor %} - - + + + {% for result in results.results %} + + + {{ result.size }} + + + {{ result.resolution }} + + + {{ result.codec }} + + + {{ result.seeders }} + + + {{ result.provider }} + + + {{ result.languageFlags }} + + + + Download + + + + + {% endfor %} + + +