2023-09-11 22:27:18 +02:00
|
|
|
<div id="get-btn">
|
|
|
|
{{ if eq .StatusCode 200 }}
|
2023-09-11 19:54:28 +02:00
|
|
|
<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>
|