stil
This commit is contained in:
parent
3e76a70369
commit
7273e90066
5 changed files with 39 additions and 16 deletions
|
@ -1,13 +1,21 @@
|
|||
{% block content %}
|
||||
<ul class="torrents">
|
||||
{% 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 %}
|
||||
<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 %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue