28 lines
933 B
Text
28 lines
933 B
Text
{{ define "admin-upload-html" }}
|
|
<!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">
|
|
<label class="formLabel" for="bucket">Type de document:</label>
|
|
<select class="formSelect" name="bucket" id="bucket">
|
|
{{ range .Buckets }}
|
|
<option class="formOption" value="{{ .Name }}">{{ .DisplayName }}</option>
|
|
{{ end }}
|
|
</select>
|
|
<br>
|
|
Document: <input class="formDocUpload" type="file" name="document">
|
|
<br>
|
|
<br>
|
|
<input class="formSubmit" type="submit" value="Submit">
|
|
</form>
|
|
<p>{{ .Message }}</p>
|
|
</body>
|
|
</html>
|
|
{{ end }}
|