aboutsummaryrefslogtreecommitdiff
path: root/templates/user.html
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2023-01-12 15:50:01 +0100
committerJulian Hurst <ark@mansus.space>2023-01-12 15:50:01 +0100
commit4dc031b0a52ca5bfe6108327b63f3847f41dc1c1 (patch)
tree61e32c79fcc4c079e0bcebbbdd08de1ae91c5261 /templates/user.html
downloaddocspace-4dc031b0a52ca5bfe6108327b63f3847f41dc1c1.tar.gz
Initial commit
Diffstat (limited to 'templates/user.html')
-rw-r--r--templates/user.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/user.html b/templates/user.html
new file mode 100644
index 0000000..7cb0d11
--- /dev/null
+++ b/templates/user.html
@@ -0,0 +1,18 @@
+{{define "title"}}Acceuil{{end}}
+{{define "content"}}
+<h1>Espace utilisateur</h1>
+<h2>Documents</h2>
+<div>
+ <form action="/upload" method="POST" enctype="multipart/form-data">
+ <input type="file" name="files" multiple />
+ <input type="submit" value="Upload" />
+ </form>
+ <ul>
+ {{range .Docs}}
+ <li>
+ <a href="{{.Link}}">{{.Name}}</a>
+ </li>
+ {{end}}
+ </ul>
+</div>
+{{end}}