2019-01-16 09:33:36 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Aberrant</title>
|
2019-02-14 15:00:21 -05:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='aberrant.css') }}">
|
2019-02-15 10:01:33 -05:00
|
|
|
<script type="text/javascript" src="{{ url_for('static', filename='aberrant.js') }}"></script>
|
|
|
|
<script>
|
|
|
|
const get_torrents_uri = "{{ url_for('get_active_torrents') }}";
|
|
|
|
</script>
|
|
|
|
<script>window.onload = load;</script>
|
2019-01-16 09:33:36 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
2019-02-14 15:00:21 -05:00
|
|
|
<table id="torrents">
|
2019-02-13 10:20:55 -05:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2019-02-15 07:33:55 -05:00
|
|
|
<th class="name">Name</th>
|
2019-02-18 15:54:49 -05:00
|
|
|
<th class="sizeTotal">Size</th>
|
2019-02-15 07:33:55 -05:00
|
|
|
<th class="state">State</th>
|
|
|
|
<th class="downrate">DL</th>
|
2019-02-18 15:54:49 -05:00
|
|
|
<th class="downPercent">%</th>
|
2019-02-19 13:18:05 -05:00
|
|
|
<th class="eta">ETA</th>
|
2019-02-15 07:33:55 -05:00
|
|
|
<th class="uprate">UL</th>
|
|
|
|
<th class="tracker">Tracker</th>
|
2019-02-13 10:20:55 -05:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for torrent in torrents %}
|
|
|
|
<tr>
|
2019-02-14 15:00:21 -05:00
|
|
|
<td class="name">{{ torrent.name }}</td>
|
2019-02-18 15:54:49 -05:00
|
|
|
<td class="totalSize">{{ torrent.total_size_str }}</td>
|
2019-02-14 15:00:21 -05:00
|
|
|
<td class="state">{{ torrent.state }}</td>
|
|
|
|
<td class="downrate">{{ torrent.downrate_str }}</td>
|
2019-02-18 15:54:49 -05:00
|
|
|
<td class="downPercent">{{ torrent.down_percent }}</td>
|
2019-02-19 13:18:05 -05:00
|
|
|
<td class="eta">{{ torrent.eta_str }}</td>
|
2019-02-14 15:00:21 -05:00
|
|
|
<td class="uprate">{{ torrent.uprate_str }}</td>
|
2019-02-15 07:33:55 -05:00
|
|
|
<td class="tracker">{{ torrent.tracker }}</td>
|
2019-02-13 10:20:55 -05:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2019-02-19 13:18:05 -05:00
|
|
|
<br>
|
2019-02-18 10:32:19 -05:00
|
|
|
<table id="tracker_stats">
|
|
|
|
{% for tracker, count in tracker_stats.items() %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ tracker }}</td>
|
|
|
|
<td>{{ count }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2019-01-16 09:33:36 -05:00
|
|
|
</body>
|
|
|
|
</html>
|