fixed buttons

This commit is contained in:
visionmercer 2026-04-15 12:22:43 +02:00
commit db499d84a9
4 changed files with 72 additions and 67 deletions

View file

@ -63,29 +63,25 @@
{{if .Description}}{{.Description}}{{else}}ISO Disk
Image{{end}}
</p>
<div
style="margin-top: 1rem; display: flex; gap: 0.5rem"
>
<div style="margin-top: 1rem; display: flex; gap: 0.5rem">
<button
class="info-btn dl-btn"
class="btn info-trigger"
data-iso-name="{{.Name}}"
data-description="{{if .Description}}{{.Description}}{{else}}No description available{{end}}"
{{if
.HasImage}}data-image-src="/raw/{{urlenc (trimExt .RelativePath)}}{{.ImageExt}}"
{{end}}
{{if .HasImage}}data-image-src="/raw/{{urlenc (trimExt .RelativePath)}}{{.ImageExt}}"{{end}}
>
Info
</button>
<a
href="/browse/{{urlenc .RelativePath}}"
class="dl-btn"
class="btn"
>Browse</a
>
<a
href="/raw/{{urlenc .RelativePath}}"
class="dl-btn"
class="btn"
download
>ISO</a
>Download ISO</a
>
</div>
</div>