diff --git a/contrib/webconsole/torrent-rpc.js b/contrib/webconsole/torrent-rpc.js index 23bb109d..c6424089 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"] } + 'arguments': { "fields": ["id", "name", "status", "rateDownload", "rateUpload", "totalSize", "percentDone", "files", "peers"] } }), headers: { 'Content-Type': 'application/json' } }); diff --git a/contrib/webconsole/torrent_client.html b/contrib/webconsole/torrent_client.html index 94e0e097..07c18991 100644 --- a/contrib/webconsole/torrent_client.html +++ b/contrib/webconsole/torrent_client.html @@ -1,49 +1,83 @@
-

TORRENT_DAEMON_INTERFACE

+
+ + + + +

TORRENT_DAEMON_INTERFACE

+
CONNECTING...
- Drop torrent payload here or browse file + [+] DROP_TORRENT_PAYLOAD_OR_BROWSE_FILE
@@ -172,7 +297,7 @@ - No active transfers + NO_ACTIVE_TRANSFERS_DETECTED @@ -180,7 +305,54 @@
+ +
+ +
+