Compare commits
No commits in common. "561ab77f65300de68cabf847fd00335d551d0053" and "08504cf64efd35bae5f552d23a944d47f3c6c53d" have entirely different histories.
561ab77f65
...
08504cf64e
3 changed files with 7 additions and 8 deletions
|
@ -1,4 +1,3 @@
|
|||
{# Comment For Prettier <3 #}
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
@ -7,13 +6,13 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link href="/css/main.css" rel="stylesheet" />
|
||||
<link href="/css/link.css" rel="stylesheet" />
|
||||
<script src="/scripts/file_label.js"></script>
|
||||
<script src="/scripts/link.js"></script>
|
||||
<script
|
||||
src="https://unpkg.com/htmx.org@2.0.2"
|
||||
integrity="sha384-Y7hw+L/jvKeWIRRkqWYfPcvVxHzVzn5REgzbawhxAuQGwX1XWe70vji+VSeHOThJ"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script src="/scripts/file_label.js"></script>
|
||||
<script src="/scripts/link.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>NyaZoom<sup>2</sup></h1>
|
||||
|
|
|
@ -4,21 +4,21 @@
|
|||
<div class="form-wrapper">
|
||||
<div class="column-container">
|
||||
<div class="link-wrapper">
|
||||
<a id="link" href="/download/{{ id }}">Download Now!</a>
|
||||
<a id="link" href="/download/{{id}}"> "Download Now!" </a>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="link-wrapper"
|
||||
hx-get="/link/{{ id }}/remaining"
|
||||
hx-get="/link/{{id}}/remaining"
|
||||
hx-trigger="click from:#link delay:0.2s, every 10s"
|
||||
>
|
||||
{{ Self::get_downloads_remaining_text(record) }}
|
||||
{{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>
|
||||
<a href="/" class="return-button"> "Return to home" </a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
hx-swap="outerHTML"
|
||||
hx-delete="/link/{{ key }}"
|
||||
>
|
||||
X
|
||||
"X"
|
||||
</button>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue