Repository navigation
Expand file tree
/
Copy pathtransfer.html
More file actions
40 lines (37 loc) · 1.48 KB
/
Copy pathtransfer.html
File metadata and controls
40 lines (37 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/src/styles.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Send to CrossPoint</title>
<script type="module" src="/src/transfer.ts" defer></script>
</head>
<body class="transfer">
<main id="tapp">
<h2 class="thead">Send to CrossPoint</h2>
<div class="card">
<label class="lbl" for="host">Device address</label>
<input id="host" type="text" placeholder="e.g. 192.168.1.50" />
<div class="status-line">
<div id="status" class="status"><span class="dot"></span><span id="status-text">Checking…</span></div>
<button id="recheck" class="mini">Check again</button>
</div>
<div id="instructions" class="note hidden">
Turn on <b>File Transfer</b> on the device: <b>Home › Join a Network</b>
— pick the same Wi-Fi this computer is on — then it'll connect here.
</div>
<a href="#" id="find-ip" class="hint">How do I find my device's IP? ›</a>
</div>
<div id="drop" class="drop-zone">
<div class="drop-big">Drag files here</div>
<div class="muted">or</div>
<button id="choose">Choose files…</button>
</div>
<div id="uploads-wrap" class="hidden">
<div class="uploads-head">Sent</div>
<div id="uploads" class="uploads"></div>
</div>
</main>
</body>
</html>