viddl/templates/download-result.html

14 lines
359 B
HTML

<div id="get-btn">
{{ if eq .StatusCode 200 }}
<a href="{{ .DownloadURL }}" rel="noopener" download target="_blank">
Download
</a>
<small>Right click and Click "Save link as"</small>
{{ else }}
<button>Try Again
<!-- <a class="htmx-indicator" href="#" aria-busy="true"></a> -->
</button>
<mark>Internal Error. Try Again later</mark>
{{ end }}
</div>