2019-04-19 08:25:42 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2020-11-23 17:52:52 -05:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>OnionShare</title>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="{{ static_url_path }}/img/favicon.ico" rel="icon" type="image/x-icon" />
|
|
|
|
<link href="{{ static_url_path }}/css/style.css" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2021-03-08 12:56:26 -05: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>
|
2020-11-23 17:52:52 -05:00
|
|
|
</header>
|
|
|
|
|
|
|
|
{% 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 %}
|
|
|
|
|
2021-03-08 12:56:26 -05: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>
|
2020-11-23 17:52:52 -05:00
|
|
|
|
|
|
|
{% for info in dirs %}
|
2021-03-08 12:56:26 -05:00
|
|
|
<div class="d-flex">
|
|
|
|
<div>
|
2020-11-23 17:52:52 -05:00
|
|
|
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_folder.png" />
|
|
|
|
<a href="{{ info.link }}">
|
2021-03-08 12:56:26 -05:00
|
|
|
<span>{{ info.basename }}</span>
|
2020-11-23 17:52:52 -05:00
|
|
|
</a>
|
2021-03-08 12:56:26 -05:00
|
|
|
</div>
|
|
|
|
<div>—</div>
|
|
|
|
</div>
|
2020-11-23 17:52:52 -05:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for info in files %}
|
2021-03-08 12:56:26 -05:00
|
|
|
<div class="d-flex">
|
|
|
|
<div>
|
2020-11-23 17:52:52 -05:00
|
|
|
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_file.png" />
|
|
|
|
<a href="{{ info.link }}">
|
2021-03-08 12:56:26 -05:00
|
|
|
<span>{{ info.basename }}</span>
|
2020-11-23 17:52:52 -05:00
|
|
|
</a>
|
2021-03-08 12:56:26 -05:00
|
|
|
</div>
|
|
|
|
<div>{{ info.size_human }}</div>
|
|
|
|
</div>
|
2020-11-23 17:52:52 -05:00
|
|
|
{% endfor %}
|
2021-03-08 12:56:26 -05:00
|
|
|
</div>
|
2020-11-23 17:52:52 -05:00
|
|
|
</body>
|
|
|
|
|
2021-03-08 11:29:45 -05:00
|
|
|
</html>
|