{% 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>
{% for title in titles %}
{% for link in title.links %}
{% 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>
{{ link.season }}
<a href="{{ url_for('search', q=title.keyword) }}" target="_blank">
<i class="fa fa-search"></i>
{% endfor %}
</tbody>
</table>
{% endblock %}