2019-11-30 15:52:13 +00:00
|
|
|
{% extends "layout.html" %}
|
2019-12-12 13:37:56 +00:00
|
|
|
{% block title %}Search for "{{ request.args.get('q') }}"{% endblock %}
|
2019-11-30 15:52:13 +00:00
|
|
|
{% block body %}
|
2019-12-11 17:43:14 +00:00
|
|
|
<table class="table is-bordered is-striped is-narrow is-fullwidth is-hoverable">
|
2019-11-30 15:52:13 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>
|
|
|
|
<i class="fa fa-comment"></i>
|
|
|
|
</th>
|
|
|
|
<th>Link</th>
|
|
|
|
<th>Size</th>
|
|
|
|
<th>Date</th>
|
|
|
|
<th>
|
|
|
|
<i class="fa fa-arrow-up"></i>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<i class="fa fa-arrow-down"></i>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<i class="fa fa fa-check"></i>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
|
|
|
|
{% for connector in connectors %}
|
|
|
|
{% for torrent in connector.data %}
|
2019-11-30 22:42:35 +00:00
|
|
|
{% if not loop.index0 %}
|
|
|
|
<th colspan="8">{{ connector.title }}</th>
|
|
|
|
{% endif %}
|
2019-11-30 15:52:13 +00:00
|
|
|
|
2019-11-30 22:42:35 +00:00
|
|
|
<tr class="{{ torrent.class }}">
|
|
|
|
<td>
|
|
|
|
{{ torrent.lang.value }}
|
|
|
|
<a href="{{ torrent.href }}" target="_blank">
|
2019-12-05 17:53:23 +00:00
|
|
|
{{ torrent.name|boldify|safe }}
|
2019-11-30 22:42:35 +00:00
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{% if connector.is_light %}
|
|
|
|
<td colspan="7">
|
|
|
|
{{ torrent.type }}
|
|
|
|
</td>
|
|
|
|
{% else %}
|
|
|
|
<td>
|
|
|
|
{{ torrent.comment|safe }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ torrent.link|safe }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ torrent.size }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ torrent.date }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ torrent.seeds }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ torrent.leechs }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ torrent.downloads }}
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
2019-11-30 17:09:30 +00:00
|
|
|
{% endfor %}
|
2019-11-30 22:42:35 +00:00
|
|
|
|
|
|
|
{% if connector.is_more %}
|
|
|
|
<tr>
|
|
|
|
<th colspan="8">
|
|
|
|
<a href="{{ connector.get_full_search_url() }}" target="_blank">More ...</a>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if connector.on_error %}
|
|
|
|
<tr class="is-danger">
|
|
|
|
<th colspan="8" class="error">
|
|
|
|
Error, can't grab data from {{ connector.title }}
|
|
|
|
<a href="{{ connector.get_full_search_url() }}" target="_blank">Go to the website -></a>
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
{% endif %}
|
2019-11-30 15:52:13 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|