fixed buttons
This commit is contained in:
parent
ad802b2a4e
commit
db499d84a9
4 changed files with 72 additions and 67 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue