wip: apparently torrentio doesn't need configuration

This commit is contained in:
2025-08-31 09:06:29 -05:00
parent 33bfe40b11
commit f9ddd70668
18 changed files with 505 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
<button class="submit-button flex flex-row gap-2 items-center">
<button class="submit-button {{ class|default('flex flex-row gap-2 items-center') }}">
{% if show_icon|default %}
<twig:ux:icon name="zondicons:checkmark" width=".8rem" class="text-green-500" />
{% endif %}

View File

@@ -57,4 +57,30 @@
</form>
</twig:Card>
</div>
<div class="p-4 flex flex-col md:flex-row gap-2">
<twig:Card title="Torrentio Preferences" class="w-full">
<p class="text-gray-50 mb-4">Configure your Torrentio client.</p>
{{ form_start(torrentio_form, {
action: path('app.torrentio-preferences.save')
}) }}
<div class="flex flex-col md:flex-row gap-2">
<div class="self-end mb-4">
{{ form_row(torrentio_form.providers) }}
{{ form_row(torrentio_form.sorting) }}
{{ form_row(torrentio_form.language) }}
{{ form_row(torrentio_form.qualityfilter) }}
{{ form_row(torrentio_form.limit) }}
{{ form_row(torrentio_form.sizefilter) }}
{{ form_row(torrentio_form.debridProvider) }}
{{ form_row(torrentio_form.debridToken) }}
{{ form_widget(torrentio_form._token) }}
<div class="w-[5rem]">
<twig:SubmitButton show_icon text="Save"/>
</div>
</div>
</div>
{{ form_end(preferences_form) }}
</twig:Card>
</div>
{% endblock %}