Files
TorrentParts/index.html
2020-08-19 22:16:24 -04:00

120 lines
3.6 KiB
HTML

<!DOCTYPE html lang="en">
<head>
<title>Torrent Parts | Inspect and edit what's in your Torrent file or Magnet link</title>
<script async src="https://kit.fontawesome.com/9ca49f101f.js"></script>
</head>
<body>
<h1><span class="fad fa-file-search"></span> Torrent Parts</h1>
<div class="form-group">
<label for="magnet">URL</label>
<input id="magnet" type="text" placeholder="magnet:?xt=urn:btih…" />
<div>or</div>
<label for="torrent">Upload Torrent</label>
<input id="torrent" type="file" />
</div>
<div id="properties" style="display:none">
<div class="form-group">
<label for="name"><span id="originalSourceIcon"></span>Torrent Name</label>
<input id="name" type="text" placeholder="Unspecified" />
<button id="reset">
<span class="fas fa-minus-circle"></span> Reset
</button>
</div>
<div class="form-group">
<label for="created">Created</label>
<input id="created" type="datetime-local" disabled />
<label for="createdBy">UTC with</label>
<input id="createdBy" type="text" placeholder="Unspecified" disabled />
</div>
<div class="form-group">
<label for="comment">Comment</label>
<input id="comment" type="text" placeholder="Unspecified" />
</div>
<div class="form-group">
<label for="hash">Unique Hash</label>
<input id="hash" type="text" placeholder="" disabled/>
</div>
<div class="form-group">
<label for="announce">Tracker URLs</label>
<button id="addTrackers">
<span class="fa-stack fa-2x">
<span class="fas fa-cloud fa-stack-2x"></span>
<span class="fas fa-plus fa-stack-1x fa-inverse" data-fa-transform="down-2"></span>
</span>
</button>
<button id="addTracker" data-type="announce">
<span class="fas fa-plus"></span>
</button>
<button id="removeTrackers">
<span class="fas fa-eraser"></span>
</button>
<div id="announce"></div>
</div>
<div class="form-group">
<label for="urlList">Webseed URLs</label>
<button id="addWebseed" data-type="urlList">
<span class="fas fa-plus"></span>
</button>
<button id="removeWebseeds">
<span class="fas fa-eraser"></span>
</button>
<div id="urlList"></div>
</div>
<div class="form-group">
<label for="files">Files</label>
<button id="getFiles">
<span class="fad fa-chart-network"></span>
</button>
<table id="files">
<tbody id="filesBody"></tbody>
</table>
</div>
<div>
<div id="copyURL">
<span class="fa-stack fa-2x">
<span class="fas fa-circle fa-stack-2x"></span>
<span class="fas fa-share-alt fa-stack-1x fa-inverse" data-fa-transform="left-1"></span>
</span>
</div>
<div id="copyMagnet">
<span class="fa-stack fa-2x">
<span class="fas fa-circle fa-stack-2x"></span>
<span class="fas fa-magnet fa-stack-1x fa-inverse" data-fa-transform="down-1"></span>
</span>
</div>
<div id="downloadTorrent">
<span class="fa-stack fa-2x">
<span class="fas fa-circle fa-stack-2x"></span>
<span class="fas fa-file-download fa-stack-1x fa-inverse"></span>
</span>
</div>
</div>
</div>
<script src="bundle.min.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-172544485-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-172544485-1');
</script>
</body>
</html>