redo html hierarchy and add basic css
This commit is contained in:
parent
fcab3fb6c3
commit
2c19c2fd31
5 changed files with 86 additions and 12 deletions
|
@ -1,9 +1,7 @@
|
|||
{% extends 'index.html' %}
|
||||
|
||||
{% block content %}
|
||||
<ul>
|
||||
<ul class="torrents">
|
||||
{% for torrent in torrents %}
|
||||
<li hx-get="/download?{{ torrent.magnetlink | safe }}" hx-target="#content" hx-replace-url="/active">
|
||||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue