working on the upload from

This commit is contained in:
2024-06-16 16:13:19 +03:00
parent 2946698f49
commit 2d05843c28
3 changed files with 87 additions and 19 deletions

14
html/uploadfile.html Normal file
View File

@@ -0,0 +1,14 @@
{{define "body"}}
<div class="container">
<h1>Upload a File</h1>
<form action="/upload" method="post" enctype="multipart/form-data">
<div class="upload-btn-wrapper">
<button class="btn">Upload a file</button>
<input type="file" name="myFile" />
</div>
<input type="submit" value="Upload" />
</form>
</div>
{{end}}