40 lines
752 B
HTML
40 lines
752 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Uploaded</title>
|
|
</head>
|
|
<body>
|
|
|
|
<h2>File uploaded</h2>
|
|
|
|
<p>
|
|
Download page:<br>
|
|
<input id="pageLink" readonly size="60">
|
|
</p>
|
|
|
|
<p>
|
|
Direct download:<br>
|
|
<input id="directLink" readonly size="60">
|
|
</p>
|
|
|
|
<p>
|
|
Delete link:<br>
|
|
<input id="deleteLink" readonly size="60">
|
|
</p>
|
|
|
|
<script>
|
|
const params = new URLSearchParams(location.search)
|
|
const id = params.get("id")
|
|
|
|
const page = `${location.origin}/d/${id}`
|
|
const direct = `${location.origin}/f/${id}`
|
|
|
|
document.getElementById("pageLink").value = page
|
|
document.getElementById("directLink").value = direct
|
|
|
|
// deletionID requires backend change to return it
|
|
</script>
|
|
|
|
</body>
|
|
</html> |