in progress: move webtorrent into background BrowserWindow

This commit is contained in:
Feross Aboukhadijeh
2016-02-18 19:10:07 -08:00
parent d122ce9f36
commit bbe982d645
11 changed files with 259 additions and 257 deletions

35
main.html Normal file
View 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>