24 lines
647 B
HTML
24 lines
647 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="form-wrapper">
|
|
<div class="column-container">
|
|
<div class="link-wrapper">
|
|
<a id="link" href="/download/{{ id }}">Download Now!</a>
|
|
</div>
|
|
|
|
<div
|
|
class="link-wrapper"
|
|
hx-get="/link/{{ id }}/remaining"
|
|
hx-trigger="click from:#link delay:0.2s, every 10s"
|
|
>
|
|
{{ Self::get_downloads_remaining_text(record) }}
|
|
</div>
|
|
<button class="return-button" onclick="clipboard()">
|
|
Copy to Clipboard
|
|
</button>
|
|
|
|
<a href="/" class="return-button">Return to home</a>
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|