summaryrefslogtreecommitdiff
path: root/share/templates/receive.html
diff options
context:
space:
mode:
Diffstat (limited to 'share/templates/receive.html')
-rw-r--r--share/templates/receive.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/templates/receive.html b/share/templates/receive.html
index e85b6ff9..5d2741ed 100644
--- a/share/templates/receive.html
+++ b/share/templates/receive.html
@@ -17,9 +17,9 @@
<p><img class="logo" src="/static/img/logo_large.png" title="OnionShare"></p>
<p class="upload-header">Send Files</p>
<p class="upload-description">Select the files you want to send, then click "Send Files"...</p>
- <form method="post" enctype="multipart/form-data" action="{{ upload_action }}">
- <p><input type="file" name="file[]" multiple /></p>
- <p><input type="submit" class="button" value="Send Files" /></p>
+ <form id="send" method="post" enctype="multipart/form-data" action="{{ upload_action }}">
+ <p><input type="file" id="file-select" name="file[]" multiple /></p>
+ <p><button type="submit" id="send-button" class="button">Send Files</button></p>
<div>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
@@ -34,5 +34,6 @@
</form>
</div>
</div>
+ <script src="/static/js/receive.js"></script>
</body>
</html>