in progress: move webtorrent into background BrowserWindow
This commit is contained in:
35
main.html
Normal file
35
main.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>WebTorrent</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="index.css" charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<!-- <main>
|
||||
<header>
|
||||
<h1>WebTorrent</h1>
|
||||
</header>
|
||||
<h2 id="logHeading" style="display: none">Log</h2>
|
||||
<div class="speed"></div>
|
||||
<div class="log"></div>
|
||||
|
||||
<h2>Start seeding</h2>
|
||||
<p>
|
||||
Drag-and-drop a file (or files) to begin sharing. Or choose a file:
|
||||
<input type="file" name="upload" multiple>
|
||||
</p>
|
||||
|
||||
<h2>Start downloading</h2>
|
||||
<form>
|
||||
<label for="torrentId">Download from a magnet link or info hash</label>
|
||||
<input name="torrentId" placeholder="magnet:" required>
|
||||
<button type="submit">Download</button>
|
||||
</form>
|
||||
</main> -->
|
||||
<script>
|
||||
require('./client')
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user