edit display-event.html

This commit is contained in:
Nicolas CARON 2024-10-02 14:36:23 +02:00
parent 8cf9fcdb0a
commit 698ccfc9d6
2 changed files with 18 additions and 0 deletions

1
themes Symbolic link
View File

@ -0,0 +1 @@
themes

View File

@ -203,6 +203,23 @@
{{end}}
{{end}}
</div>
<div class="bg-white mt-4 px-4 py-5 shadow sm:rounded-lg sm:px-6">
<div class="flex justify-between items-center">
<h2 id="documents-title" class="text-lg font-medium text-gray-900">Documents joints</h2>
<button type="submit"
class="rounded-2xl border border-transparent bg-co-blue px-4 py-2 text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:w-auto">
{{$.IconSet.Icon "hero:outline/plus-circle" "h-5 w-5 mr-3"}} Ajouter un document
</button>
</div>
<div class="mt-2">
<ul class="p-1">
{{range .ViewState.event.Documents}}
<li class="inline-flex text-sm p-2">
<a href="/app/agenda/{{.ID}}/document">{{.Name}}</a>
</li>
{{end}}
</ul>
</div>
</section>
</div>
</main>