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/latest.html

77 lines
2.5 KiB
HTML
Raw Normal View History

2019-12-01 17:30:24 +00:00
{% 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>
<th>
<i class="fa fa-arrow-down"></i>
</th>
<th>
<i class="fa fa fa-check"></i>
</th>
</tr>
</thead>
<tbody>
2019-12-02 20:50:00 +00:00
{% 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>&nbsp;</i>
{{ torrent.lang.value }}
<a href="{{ torrent.href }}" target="_blank">
{{ torrent.name }}
</a>
</td>
<td>
{{ torrent.date }}
</td>
<td colspan="3">
{{ torrent.type }}
</td>
{% else %}
{# <td>#}
{# <img class="favicon" src="{{ url_for('static', filename='favicons/%s' % torrent.self.favicon) }}" alt="">#}
{# <i>&nbsp;</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>#}
{# <td>#}
{# <?php e($this->raw($tr['link'])); ?>#}
{# </td>#}
{# <td>#}
{# <?php e($tr['size']); ?>#}
{# </td>#}
{# <td>#}
{# <?php e($tr['date']); ?>#}
{# </td>#}
{# <td>#}
{# <?php e($tr['seeds']); ?>#}
{# </td>#}
{# <td>#}
{# <?php e($tr['leechs']); ?>#}
{# </td>#}
{# <td>#}
{# <?php e($tr['check']); ?>#}
{# </td>#}
{% endif %}
</tr>
{% endfor %}
2019-12-01 17:30:24 +00:00
</tbody>
</table>
{% endblock %}