everything works, needs makeup though
This commit is contained in:
parent
5130450355
commit
464683e9ce
14 changed files with 377 additions and 0 deletions
15
templates/torrents.html
Normal file
15
templates/torrents.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue