29 lines
883 B
HTML
29 lines
883 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="/details?h={{ result[0] }}">{{ result[1] }}</a></td>
|
|
<td>{{ result[2] }}</td>
|
|
<td>{{ stats.get(result[0], {}).get("complete", _("N/A")) }}</td>
|
|
<td>{{ stats.get(result[0], {}).get("seeds", _("N/A")) }}</td>
|
|
<td>{{ stats.get(result[0], {}).get("peers", _("N/A")) }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock content%}
|