From 487b871bceea3b31e8079526449ff778d4b3ae28 Mon Sep 17 00:00:00 2001 From: wipedlifepotato <60944239+wipedlifepotato@users.noreply.github.com> Date: Fri, 28 Aug 2026 02:21:56 +0300 Subject: [PATCH] feat: eta, total-size, fix percent for 0-1 range --- contrib/webconsole/torrent-rpc.js | 2 +- contrib/webconsole/torrent_client.html | 586 ++++--------------------- 2 files changed, 93 insertions(+), 495 deletions(-) diff --git a/contrib/webconsole/torrent-rpc.js b/contrib/webconsole/torrent-rpc.js index c6424089..0d9b5da9 100644 --- a/contrib/webconsole/torrent-rpc.js +++ b/contrib/webconsole/torrent-rpc.js @@ -56,7 +56,7 @@ class TorrentClient { method: "POST", body: JSON.stringify({ 'method': 'torrent-get', - 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone", "files", "peers"] } + 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone", "files", "peers", "trackers"] } }), headers: { 'Content-Type': 'application/json' } }); diff --git a/contrib/webconsole/torrent_client.html b/contrib/webconsole/torrent_client.html index b8da12df..97f0dc75 100644 --- a/contrib/webconsole/torrent_client.html +++ b/contrib/webconsole/torrent_client.html @@ -1,520 +1,118 @@ - - -
| ID | -Name | -Status | -Progress | -Download Rate | -Upload Rate | -Actions | -
|---|---|---|---|---|---|---|
| NO_ACTIVE_TRANSFERS_DETECTED | -||||||