blob: ad23b577bcde151602f62e42ea616a5a25a27d40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{define "head"}}
<title>Wormhole</title>
{{end}}
<form
method="post"
enctype="multipart/form-data">
<ol>
<li>
<label for="file-input">Choose file</label>
<input id="file-input" type="file" name="file">
</li>
<li>
<p>Visit this URL <a href="/wormhole/{{.Hole}}">{{.Self}}/wormhole/{{.Hole}}</a> or scan QR code:</p>
<img src="/wormhole/{{.Hole}}/qr.png" alt="QR code for {{.Self}}/wormhole/{{.Hole}}">
</li>
<li>
<label for="submit">Click here:</label>
<input id="submit" type="submit" value="Upload">
</li>
</ol>
</form>
|