2018-03-06 05:06:44 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>OnionShare</title>
|
2018-03-06 06:03:24 -05:00
|
|
|
<link href="/static/img/favicon.ico" rel="icon" type="image/x-icon" />
|
|
|
|
<link href="/static/css/style.css" rel="stylesheet" type="text/css" />
|
2018-03-06 05:06:44 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<header class="clearfix">
|
2018-03-06 06:03:24 -05:00
|
|
|
<img class="logo" src="/static/img/logo.png" title="OnionShare">
|
2018-03-06 05:06:44 -05:00
|
|
|
<h1>OnionShare</h1>
|
|
|
|
</header>
|
|
|
|
|
2018-03-07 13:12:10 -05:00
|
|
|
<div class="upload-wrapper">
|
|
|
|
<div class="upload">
|
|
|
|
<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>
|
2019-02-12 20:49:42 -05:00
|
|
|
<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>
|
2018-03-14 11:16:09 -04:00
|
|
|
<div>
|
2018-07-16 21:45:14 -04:00
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
2018-03-14 11:16:09 -04:00
|
|
|
{% if messages %}
|
|
|
|
<ul class=flashes>
|
2018-07-16 21:45:14 -04:00
|
|
|
{% for category, message in messages %}
|
|
|
|
<li class="{{ category }}">{{ message }}</li>
|
2018-03-14 11:16:09 -04:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
2018-03-07 13:12:10 -05:00
|
|
|
</form>
|
2019-02-13 12:19:04 -05:00
|
|
|
|
|
|
|
<noscript>
|
|
|
|
<div class="noscript">
|
|
|
|
<strong>Warning:</strong> Due to a bug in Tor Browser and Firefox, if you want to upload
|
|
|
|
a file bigger than 50mb, you must set the Tor Browser security slider to
|
|
|
|
Standard. Otherwise your upload will never finish. If you plan on
|
|
|
|
only uploading small files, your current settings are fine.
|
|
|
|
</div>
|
|
|
|
</noscript>
|
2018-03-07 13:12:10 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-12 20:49:42 -05:00
|
|
|
<script src="/static/js/receive.js"></script>
|
2018-03-06 05:06:44 -05:00
|
|
|
</body>
|
|
|
|
</html>
|