torent-downloader/templates/torrents.html

22 lines
676 B
HTML
Raw Normal View History

2024-09-15 00:39:25 +02:00
{% block content %}
2024-09-18 01:58:35 +02:00
<ul class="torrents">
2024-09-18 02:47:31 +02:00
<li>
<span><b>Title</b></span>
<span><b>Seeds</b></span>
<span><b>Leeches</b></span>
<span><b>Filesize</b></span>
<span><b>Category</b></span>
</li>
<hr />
{% for torrent in torrents %}
<li hx-get="/download?{{ torrent.magnetlink | safe }}" hx-target="#content" hx-replace-url="/active" hx-push-url="true">
<span>{{ torrent.title }}</span>
<span>({{ torrent.seeds }})</span>
<span>({{ torrent.leeches }})</span>
<span>({{ torrent.filesize }})</span>
<span>{{ torrent.category }}</span>
</li>
{% endfor %}
2024-09-15 00:39:25 +02:00
</ul>
{% endblock %}