This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/templates/list.html

47 lines
1.4 KiB
HTML
Raw Normal View History

2019-12-03 21:43:53 +00:00
{% extends "layout.html" %}
2019-12-12 13:37:56 +00:00
{% block title %}My seeded torrents{% endblock %}
2019-12-03 21:43:53 +00:00
{% block body %}
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable is-size-7">
<thead>
<tr>
<th>Name</th>
<th>Link</th>
<th>Season</th>
<th>Tools</th>
</tr>
</thead>
<tbody>
2019-12-07 09:17:29 +00:00
{% for title in titles.values() %}
{% for link in title %}
2019-12-05 17:53:23 +00:00
<tr>
{% if not loop.index0 %}
2019-12-07 09:17:29 +00:00
<td rowspan="{{ title|length }}">
{{ link.title.name }}
2019-12-05 17:53:23 +00:00
</td>
{% endif %}
2019-12-07 22:11:14 +00:00
<td class="{{ link|colorify }}">
{{ link.vf|flagify }}
{{ link.link|urlize(30, target='_blank') }}
2019-12-05 17:53:23 +00:00
</td>
<td>
{{ link.season }}
</td>
{% if not loop.index0 %}
2019-12-07 09:17:29 +00:00
<td rowspan="{{ title|length }}">
<a href="{{ url_for('search', q=link.title.keyword) }}" target="_blank">
2019-12-05 17:53:23 +00:00
<i class="fa fa-search"></i>
</a>
</td>
{% endif %}
</tr>
{% endfor %}
{% endfor %}
2019-12-03 21:43:53 +00:00
</tbody>
</table>
{% endblock %}