Print a report page when uploading files from a form

git-svn-id: file:///srv/svn/repo/marisa/trunk@12 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
dev
2021-10-15 17:23:50 +00:00
parent cdc6f2e416
commit 494b05c703
3 changed files with 78 additions and 5 deletions

21
templates/upload.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="z3bra">
<meta name="viewport" content="width=device-width">
<title>Partage</title>
</head>
<body>
<h1>File uploaded!</h1>
<p>
Your files have been uploaded. Access and download it from the
following links:
</p>
<ul>
{{range .Links}}
<li><a href="{{.}}">{{.}}</a></li>
{{end}}
</ul>
</body>
</html>