2023-04-26 19:28:20 -04:00
|
|
|
{{ define "admin-upload-html" }}
|
2023-08-15 14:30:10 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>AGECEM</title>
|
|
|
|
{{ template "general-html" }}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{ template "header-html" }}
|
|
|
|
<h1 class="heading1">Upload</h1>
|
|
|
|
<form class="form adminUploadForm" action="/admin/documents/upload" method="post" enctype="multipart/form-data">
|
2023-07-25 13:27:03 -04:00
|
|
|
<label class="formLabel" for="bucket">Type de document:</label>
|
2023-07-25 13:08:10 -04:00
|
|
|
<select class="formSelect" name="bucket" id="bucket">
|
2023-08-15 16:19:37 -04:00
|
|
|
{{ range .Buckets }}
|
|
|
|
<option class="formOption" value="{{ .Name }}">{{ .DisplayName }}</option>
|
|
|
|
{{ end }}
|
2023-04-28 15:57:09 -04:00
|
|
|
</select>
|
|
|
|
<br>
|
2023-07-25 13:08:10 -04:00
|
|
|
Document: <input class="formDocUpload" type="file" name="document">
|
2023-04-28 15:57:09 -04:00
|
|
|
<br>
|
|
|
|
<br>
|
2023-07-25 13:08:10 -04:00
|
|
|
<input class="formSubmit" type="submit" value="Submit">
|
2023-08-15 14:30:10 -04:00
|
|
|
</form>
|
|
|
|
<p>{{ .Message }}</p>
|
|
|
|
</body>
|
|
|
|
</html>
|
2023-04-26 19:28:20 -04:00
|
|
|
{{ end }}
|