summaryrefslogtreecommitdiffstats
path: root/templates/wormhole.html.template
blob: e7361ab6f3bd4b018a3f816a05a45d0e55932b61 (plain) (blame)
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
<!-- Copyright 2026 Rose Hogenson <r@roseh.moe>
  --
  -- This file is part of roseh.moe.
  --
  -- roseh.moe is free software: you can redistribute it and/or modify
  -- it under the terms of the GNU Affero General Public License
  -- as published by the Free Software Foundation, either version 3 of
  -- the License, or (at your option) any later version.
  --
  -- roseh.moe is distributed in the hope that it will be useful,
  -- but WITHOUT ANY WARRANTY; without even the implied warranty
  -- of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  -- GNU Affero General Public License for more details.
  --
  -- You should have received a copy of the GNU Affero General Public
  -- License along with roseh.moe. If not, see
  -- <https://www.gnu.org/licenses/>.
  -->

<title>Wormhole</title>

<form
		method="post"
		enctype="multipart/form-data"
		class="wormhole">
	<ol>
		<li> <input type="file" name="file" multiple>
		<li>
			<input type="submit" value="Upload" class="wormhole-input">
		{{- if .Err}}
			<p><img class="inline" width="150" height="151" src="/static/confused.webp" alt="A logical dragon maid"><span style="color:red">{{.Err}}</span>
		{{- end}}
	</ol>
	Files will be deleted after 1 hour
</form>