2014-05-22 19:49:19 -04:00
|
|
|
<!DOCTYPE html>
|
2014-05-22 19:38:14 -04:00
|
|
|
<html>
|
2018-02-10 19:19:23 -05:00
|
|
|
|
2019-02-23 13:37:56 -05:00
|
|
|
<head>
|
|
|
|
<title>OnionShare</title>
|
2019-05-22 23:07:35 -04:00
|
|
|
<link href="{{ static_url_path }}/img/favicon.ico" rel="icon" type="image/x-icon">
|
|
|
|
<link rel="stylesheet" rel="subresource" type="text/css" href="{{ static_url_path }}/css/style.css" media="all">
|
2019-02-23 13:37:56 -05:00
|
|
|
<meta name="onionshare-filename" content="{{ filename }}">
|
|
|
|
<meta name="onionshare-filesize" content="{{ filesize }}">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2020-07-05 11:29:25 -04:00
|
|
|
<header class="d-flex">
|
|
|
|
<div class="logo-container">
|
|
|
|
<img class="logo" src="{{ static_url_path }}/img/logo.png" title="OnionShare">
|
|
|
|
<h1>OnionShare</h1>
|
|
|
|
</div>
|
|
|
|
<div class="information d-flex">
|
|
|
|
<div>Total size: <strong>{{ filesize_human }}</strong> {% if is_zipped %} (compressed){% endif %}</div>
|
|
|
|
<a class="button" href='/download'>Download Files</a>
|
2019-02-23 13:37:56 -05:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2019-09-15 19:46:28 -04:00
|
|
|
{% if breadcrumbs %}
|
|
|
|
<ul class="breadcrumbs">
|
|
|
|
{% for breadcrumb in breadcrumbs %}<li><a href="{{ breadcrumb[1] }}">{{ breadcrumb[0] }}</a> <span class="sep">‣</span></li>{% endfor %}<li>{{ breadcrumbs_leaf }}</li>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
2020-07-05 11:29:25 -04:00
|
|
|
<div class="file-list" id="file-list">
|
|
|
|
<div class="d-flex">
|
|
|
|
<div id="filename-header" class="heading">Filename</div>
|
|
|
|
<div id="size-header" class="heading">Size</div>
|
|
|
|
</div>
|
2019-06-14 12:21:12 -04:00
|
|
|
{% for info in dirs %}
|
2020-07-05 11:29:25 -04:00
|
|
|
<div class="d-flex">
|
|
|
|
<div>
|
2019-05-22 23:07:35 -04:00
|
|
|
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_folder.png" />
|
2019-06-14 12:21:12 -04:00
|
|
|
<a href="{{ info.basename }}">
|
2020-07-05 11:29:25 -04:00
|
|
|
<span>{{ info.basename }}</span>
|
2019-06-14 12:21:12 -04:00
|
|
|
</a>
|
2020-07-05 11:29:25 -04:00
|
|
|
</div>
|
|
|
|
<div>—</div>
|
|
|
|
</div>
|
2019-02-23 13:37:56 -05:00
|
|
|
{% endfor %}
|
2019-06-14 12:21:12 -04:00
|
|
|
|
|
|
|
{% for info in files %}
|
2020-07-05 11:29:25 -04:00
|
|
|
<div class="d-flex">
|
|
|
|
<div>
|
2019-05-22 23:07:35 -04:00
|
|
|
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_file.png" />
|
2019-09-01 23:36:30 -04:00
|
|
|
{% if download_individual_files %}
|
2019-06-14 12:21:12 -04:00
|
|
|
<a href="{{ info.basename }}">
|
2020-07-05 11:29:25 -04:00
|
|
|
<span>{{ info.basename }}</span>
|
2019-06-14 12:21:12 -04:00
|
|
|
</a>
|
2019-09-01 23:36:30 -04:00
|
|
|
{% else %}
|
2020-07-05 11:29:25 -04:00
|
|
|
<span>{{ info.basename }}</span>
|
2019-09-01 23:36:30 -04:00
|
|
|
{% endif %}
|
2020-07-05 11:29:25 -04:00
|
|
|
</div>
|
|
|
|
<div>{{ info.size_human }}</div>
|
|
|
|
</div>
|
2019-02-23 13:37:56 -05:00
|
|
|
{% endfor %}
|
2020-07-05 11:29:25 -04:00
|
|
|
</div>
|
2019-05-22 23:07:35 -04:00
|
|
|
<script async src="{{ static_url_path }}/js/send.js" charset="utf-8"></script>
|
2019-02-23 13:37:56 -05:00
|
|
|
</body>
|
2018-02-10 19:19:23 -05:00
|
|
|
|
2014-05-22 19:38:14 -04:00
|
|
|
</html>
|