init
This commit is contained in:
commit
af97322b4a
14 files changed
+676
No files matched your search
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Queue Reader</title>
|
||||
</head>
|
||||
<body>
|
||||
{% if current_link %}
|
||||
<p>
|
||||
<a
|
||||
href="/r"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
onclick="setTimeout(() => window.location.reload());"
|
||||
>{{ current_link }}</a
|
||||
>
|
||||
</p>
|
||||
<button id="b">skip/fw</button>
|
||||
<script>
|
||||
document.getElementById("b").addEventListener("click", async () => {
|
||||
await fetch("/r", { method: "GET", redirect: "manual" });
|
||||
window.location.reload();
|
||||
});
|
||||
</script>
|
||||
{% else %}
|
||||
<p>no</p>
|
||||
<button onclick="location.reload();">reload</button>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user