TorrentIndexer/templates/result.html

29 lines
762 B
HTML
Raw Normal View History

2015-02-06 22:03:42 +01:00
<!--
vim: ts=2 noexpandtab
-->
{% extends "index.html" %}
2017-12-29 08:03:17 +01:00
{% block title %}{{ super() }} - {{ _("Results") }}{% endblock%}
2015-02-06 22:03:42 +01:00
{% set active_page = "search" %}
{% block content %}
2017-12-28 04:19:04 +01:00
<link href="{{ url_for("static", filename="css/result.css") }}" rel="stylesheet">
2017-12-28 08:36:44 +01:00
<script src="{{ url_for("static", filename="js/main.js") }}"></script>
2017-12-28 04:19:04 +01:00
<table>
<tr>
2017-12-29 08:03:17 +01:00
<th>{{ _("Name") }}</th>
<th>{{ _("Size") }}</th>
<th>{{ _("Snatches") }}</th>
<th>{{ _("UL") }}</th>
<th>{{ _("DL") }}</th>
2017-12-28 04:19:04 +01:00
</tr>
2017-12-28 05:07:42 +01:00
{% for result in results %}
2017-12-28 04:19:04 +01:00
<tr>
2017-12-28 08:36:44 +01:00
<td><a href="/download/{{ result[0] }}">{{ result[1] }}</a></td>
2017-12-29 02:56:15 +01:00
<td>{{ result[2] }}</td>
2017-12-29 08:03:17 +01:00
<td>{{ _("N/A") }}</td>
<td>{{ _("N/A") }}</td>
<td>{{ _("N/A") }}</td>
2017-12-28 04:19:04 +01:00
</tr>
2017-12-28 05:07:42 +01:00
{% endfor %}
2017-12-28 04:19:04 +01:00
</table>
2015-02-06 22:03:42 +01:00
{% endblock content%}