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

50 lines
1.6 KiB
HTML
Raw Normal View History

2019-12-03 21:43:53 +00:00
{% extends "layout.html" %}
{% block title %} - My seeded torrents{% endblock %}
{% 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-05 17:53:23 +00:00
{% for title in titles %}
{% for link in title.links %}
<tr>
{% if not loop.index0 %}
<td rowspan="{{ title.links|length }}">
{{ title.name }}
</td>
{% endif %}
{% set instance = connector.get_instance(link.link, '') %}
<td class="{{ instance.color }}">
{{ flags.FR.value if link.vf else flags.JP.value }}
<a href="{{ link.link }}" target="_blank">
{{ link.link|shorten }}
</a>
</td>
<td>
{{ link.season }}
</td>
{% if not loop.index0 %}
<td rowspan="{{ title.links|length }}">
<a href="{{ url_for('search', q=title.keyword) }}" target="_blank">
<i class="fa fa-search"></i>
</a>
</td>
{% endif %}
</tr>
{% endfor %}
{% endfor %}
2019-12-03 21:43:53 +00:00
</tbody>
</table>
{% endblock %}