TorrentIndexer/templates/result.html
2017-12-28 08:36:44 +01:00

29 lines
681 B
HTML

<!--
vim: ts=2 noexpandtab
-->
{% extends "index.html" %}
{% block title %}{{ super() }} - Results{% endblock%}
{% set active_page = "search" %}
{% block content %}
<link href="{{ url_for("static", filename="css/result.css") }}" rel="stylesheet">
<script src="{{ url_for("static", filename="js/main.js") }}"></script>
<table>
<tr>
<th>Name</th>
<th>Size</th>
<th>Snatches</th>
<th>UL</th>
<th>DL</th>
</tr>
{% for result in results %}
<tr>
<td><a href="/download/{{ result[0] }}">{{ result[1] }}</a></td>
<td>{{ result[2]|int / 1000 / 1000 }}</td>
<td>N/A</td>
<td>N/A</td>
<td>N/A</td>
</tr>
{% endfor %}
</table>
{% endblock content%}