Merge branch 'main' into feature/snackbar
This commit is contained in:
commit
ae9c45d4db
9 changed files with 437 additions and 324 deletions
|
@ -12,7 +12,7 @@
|
|||
<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 }}
|
||||
{{ range .Data.Buckets }}
|
||||
<option class="formOption" value="{{ .Name }}">{{ .DisplayName }}</option>
|
||||
{{ end }}
|
||||
</select>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<div class="wrapper documentationWrapper">
|
||||
<h1 class="heading1">Documentation</h1>
|
||||
<p>
|
||||
{{ range . }}
|
||||
{{ range .Data.Buckets }}
|
||||
{{ $bucket_name := .Name }}
|
||||
{{ $bucket_display_name := .DisplayName }}
|
||||
<details class="documentationCategorie">
|
||||
|
@ -25,6 +25,9 @@
|
|||
</details>
|
||||
{{ end }}
|
||||
</p>
|
||||
<p>
|
||||
{{ .Message }}
|
||||
</p>
|
||||
</div>
|
||||
{{ template "snackbar-html" }}
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue