mirror of
https://github.com/alvierahman90/uploadr.git
synced 2025-12-08 15:53:58 +00:00
Working.
This commit is contained in:
17
templates/upload_success.html
Normal file
17
templates/upload_success.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!doctype html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Upload success!</h1>
|
||||
<div class="indent">
|
||||
<p>File located at <a id="file_link" href=""><a>
|
||||
<script>
|
||||
|
||||
file = document.getElementById('file_link');
|
||||
file.setAttribute('href','http://{{ ip }}:{{ port }}/download/{{ filename }}');
|
||||
file.innerHTML = 'http://{{ ip }}:{{ port }}/download/{{ filename }}';
|
||||
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
Reference in New Issue
Block a user