2019-01-16 09:33:36 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Aberrant</title>
|
2019-09-01 14:44:54 -04:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/aberrant.css">
|
|
|
|
<script type="text/javascript" src="/static/aberrant.js"></script>
|
2019-02-15 10:01:33 -05:00
|
|
|
<script>
|
2019-09-01 14:44:54 -04:00
|
|
|
const get_torrents_uri = "{{ request.app.router['active-torrents'].url_for() }}";
|
2019-02-15 10:01:33 -05:00
|
|
|
</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-08-31 21:43:41 -04:00
|
|
|
<th class="rt_id">RT id</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-20 16:09:11 -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-08-31 21:43:41 -04:00
|
|
|
<td class="rt_id">{{ torrent.rtorrent_id }}</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">
|
2019-02-20 12:56:36 -05:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="tracker_stat">Tracker</th>
|
|
|
|
<th class="hashing">Hashing</th>
|
|
|
|
<th class="error">Error</th>
|
|
|
|
<th class="total">Total</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for tracker, stats in tracker_stats.items() %}
|
|
|
|
<tr>
|
|
|
|
<td class="tracker_stat">{{ tracker }}</td>
|
|
|
|
<td class="hashing">{{ stats[0] }}</td>
|
|
|
|
<td class="error">{{ stats[1] }}</td>
|
|
|
|
<td class="total">{{ stats[2] }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
2019-02-18 10:32:19 -05:00
|
|
|
</table>
|
2019-01-16 09:33:36 -05:00
|
|
|
</body>
|
|
|
|
</html>
|