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>
|
2018-05-20 14:16:09 -04:00
|
|
|
<form method="post" enctype="multipart/form-data" action="{{ upload_action }}">
|
2018-03-14 07:03:50 -04:00
|
|
|
<p><input type="file" name="file[]" multiple /></p>
|
2018-03-14 11:30:14 -04:00
|
|
|
<p><input type="submit" class="button" value="Send Files" /></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>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-29 18:34:11 -04:00
|
|
|
{% if receive_allow_receiver_shutdown %}
|
2018-05-20 14:16:09 -04:00
|
|
|
<form method="post" action="{{ close_action }}">
|
2018-07-16 21:45:14 -04:00
|
|
|
<input type="submit" class="close-button" value="I'm Finished Sending" />
|
2018-03-14 11:16:09 -04:00
|
|
|
</form>
|
2018-04-29 18:34:11 -04:00
|
|
|
{% endif %}
|
2018-03-06 05:06:44 -05:00
|
|
|
</body>
|
|
|
|
</html>
|