torent-downloader/templates/torrents.html

16 lines
424 B
HTML
Raw Normal View History

2024-09-15 00:39:25 +02:00
{% extends 'index.html' %}
{% block content %}
<ul>
{% for torrent in torrents %}
<li hx-get="/download?{{ torrent.magnetlink | safe }}" hx-target="#content" hx-replace-url="/active">
<span>{{ torrent.title }}</span>
<span>({{ torrent.seeds }})</span>
<span>({{ torrent.leeches }})</span>
<span>({{ torrent.filesize }})</span>
<span>{{ torrent.category }}</span>
</li>
{% endfor %}
</ul>
{% endblock %}