viddl/templates/download-result.html

11 lines
282 B
HTML
Raw Normal View History

2023-09-11 22:27:18 +02:00
<div id="get-btn">
{{ if eq .StatusCode 200 }}
<a href="{{ . }}" rel="" download target="_blank">Download</a>
2023-09-11 22:27:18 +02:00
{{ else }}
<button>Try Again
<!-- <a class="htmx-indicator" href="#" aria-busy="true"></a> -->
</button>
<mark>Internal Error. Try Again later</mark>
{{ end }}
</div>