{% extends "layout.html" %}
{% block title %} - Latest{% 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>Size</th>
<th>Date</th>
<th>
<i class="fa fa-arrow-up"></i>
</th>
<i class="fa fa-arrow-down"></i>
<i class="fa fa fa-check"></i>
</tr>
</thead>
<tbody>
{% for torrent in torrents %}
<tr class="{{ torrent.class }}">
{% if torrent.self.is_light %}
<td colspan="3">
<img class="favicon" src="{{ url_for('static', filename='favicons/%s' % torrent.self.favicon) }}" alt="">
<i> </i>
{{ torrent.lang.value }}
<a href="{{ torrent.href }}" target="_blank">
{{ torrent.name }}
</a>
</td>
<td>
{{ torrent.date }}
{{ torrent.type }}
{% else %}
{# <td>#}
{# <img class="favicon" src="{{ url_for('static', filename='favicons/%s' % torrent.self.favicon) }}" alt="">#}
{# <i> </i>#}
{# {{ torrent.lang.value }}#}
{# <a href="<?php e($tr['href']); ?>" target="_blank">#}
{# <?php e(preg_replace('/' . implode('|', $keywords) . '/i', '<b>\0</b>', $this->raw($tr['name']))); ?>#}
{# </a>#}
{# </td>#}
{# <?php e($this->raw($tr['link'])); ?>#}
{# <?php e($tr['size']); ?>#}
{# <?php e($tr['date']); ?>#}
{# <?php e($tr['seeds']); ?>#}
{# <?php e($tr['leechs']); ?>#}
{# <?php e($tr['check']); ?>#}
{% endif %}
{% endfor %}
</tbody>
</table>
{% endblock %}