kuvia2/templates/file_gallery.tmpl
2022-01-15 00:09:03 +01:00

24 lines
No EOL
851 B
Cheetah

{{template "top" .}}
<div class="container" style="margin-top: 100px;">
<div class="col-12">
<h1>Select Gallery</h1>
{{ range .list }}
<div class="row">
{{ range . }}
<div class="col-md-2">
<div class="card border-secondary mb-3" style="max-width: 20rem;">
<div class="card-header">{{ .Name }}</div>
<div class="card-body">
<p class="card-text"> <a href="/file/upload?id={{ .Id }}"><img src="/image?path={{ .MainImage }}&width=170" style="max-width: 100%"></img></a></p>
</div>
</div>
</div>
{{ end }}
</div>
{{ end }}
</div>
</div>
{{template "bottom" .}}