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>
|
2021-04-12 18:15:51 -04:00
|
|
|
<title>{% if title %}{{ title }}{% else %}OnionShare{% endif %}</title>
|
2020-07-05 15:24:29 -04:00
|
|
|
<meta charset="utf-8" />
|
2021-04-12 18:15:51 -04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
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">
|
2021-04-12 18:15:51 -04:00
|
|
|
<h1>{% if title %}{{ title }}{% else %}OnionShare{% endif %}</h1>
|
2020-07-05 11:29:25 -04:00
|
|
|
</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 %}
|
2021-04-12 18:15:51 -04:00
|
|
|
<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 %}
|
2019-09-15 19:46:28 -04:00
|
|
|
|
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" />
|
2021-08-28 05:46:50 -04:00
|
|
|
<a href="{{ info.link }}">
|
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 %}
|
2021-08-28 05:46:50 -04:00
|
|
|
<a href="{{ info.link }}">
|
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
|
|
|
|
2021-04-12 18:15:51 -04:00
|
|
|
</html>
|