summaryrefslogtreecommitdiff
path: root/share/templates/send.html
diff options
context:
space:
mode:
Diffstat (limited to 'share/templates/send.html')
-rw-r--r--share/templates/send.html25
1 files changed, 19 insertions, 6 deletions
diff --git a/share/templates/send.html b/share/templates/send.html
index e0076c0f..941c4130 100644
--- a/share/templates/send.html
+++ b/share/templates/send.html
@@ -22,30 +22,43 @@
<h1>OnionShare</h1>
</header>
+ {% if breadcrumbs %}
+ <ul class="breadcrumbs">
+ {% for breadcrumb in breadcrumbs %}<li><a href="{{ breadcrumb[1] }}">{{ breadcrumb[0] }}</a> <span class="sep">&#8227;</span></li>{% endfor %}<li>{{ breadcrumbs_leaf }}</li>
+ </ul>
+ {% endif %}
+
<table class="file-list" id="file-list">
<tr>
<th id="filename-header">Filename</th>
<th id="size-header">Size</th>
<th></th>
</tr>
- {% for info in file_info.dirs %}
+ {% for info in dirs %}
<tr>
<td>
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_folder.png" />
- {{ info.basename }}
+ <a href="{{ info.basename }}">
+ {{ info.basename }}
+ </a>
</td>
- <td>{{ info.size_human }}</td>
- <td></td>
+ <td>&mdash;</td>
</tr>
{% endfor %}
- {% for info in file_info.files %}
+
+ {% for info in files %}
<tr>
<td>
<img width="30" height="30" title="" alt="" src="{{ static_url_path }}/img/web_file.png" />
+ {% if download_individual_files %}
+ <a href="{{ info.basename }}">
+ {{ info.basename }}
+ </a>
+ {% else %}
{{ info.basename }}
+ {% endif %}
</td>
<td>{{ info.size_human }}</td>
- <td></td>
</tr>
{% endfor %}
</table>