2023-09-11 22:27:18 +02:00
|
|
|
<div id="get-btn">
|
|
|
|
{{ if eq .StatusCode 200 }}
|
2023-09-11 22:42:58 +02:00
|
|
|
<a href="{{ .DownloadURL }}" rel="noopener" download target="_blank">
|
|
|
|
Download
|
|
|
|
</a>
|
|
|
|
<small>Right click and Click "Save link as"</small>
|
2023-09-11 22:27:18 +02:00
|
|
|
{{ else }}
|
|
|
|
<button>Try Again
|
|
|
|
<!-- <a class="htmx-indicator" href="#" aria-busy="true"></a> -->
|
|
|
|
</button>
|
2023-09-13 12:43:44 +02:00
|
|
|
<strong>Internal Error. Try Again later</strong>
|
2023-09-11 22:27:18 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|