Add templating system for pages

git-svn-id: file:///srv/svn/repo/marisa/trunk@11 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
dev
2021-10-13 14:57:27 +00:00
parent 2ff3ff31f9
commit cdc6f2e416
3 changed files with 52 additions and 4 deletions

21
templates/index.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">
<link rel="icon" type="image/png" href="/favicon.png" />
<title>Partage</title>
</head>
<body>
<h1>Partage</h1>
<p>
Use the box below to upload and share files. File size is
limited to {{.Maxsize}}.
</p>
<form>
<label for="uck">Select file(s) to share</label>
<input id="uck" type="file" multiple=true/>
<input type="submit" value="Upload!"/>
</form>
</body>