feat: infoHash in webconsole

This commit is contained in:
wipedlifepotato
2026-09-14 05:32:37 +03:00
parent 98fc5f8b2e
commit 8aee0db80b
+4
View File
@@ -45,6 +45,7 @@
<div id="torrent_details_modal" style="display: none">
<h3 id="modal_torrent_title"></h3>
<p style="color:#303030" id="modal_torrent_hash"></p>
<h4>Files:</h4>
<ul id="modal_files_list"></ul>
<h4>Peers (<span id="peer_count">0</span>):</h4>
@@ -207,6 +208,9 @@
document.getElementById("modal_torrent_title").textContent =
`DETAILS: ${torrent.name} (#${torrent.id})`;
document.getElementById("modal_torrent_hash").textContent =
`InfoHash: ${torrent.hashString}`;
const filesList = document.getElementById("modal_files_list");
filesList.innerHTML = "";