mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Be explicit that the the first filesize is that of the compressed zip file and that it contains the files beneath. Use the headers in the table that we've styled for
This commit is contained in:
parent
d3eeda887b
commit
ff51d2ce58
@ -57,7 +57,9 @@
|
|||||||
.download-size {
|
.download-size {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
.download-description {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
.file-list {
|
.file-list {
|
||||||
margin: 50px auto 0 auto;
|
margin: 50px auto 0 auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@ -67,6 +69,7 @@
|
|||||||
.file-list th {
|
.file-list th {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
color: #999999;
|
||||||
}
|
}
|
||||||
.file-list td {
|
.file-list td {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -77,8 +80,14 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p><a class="button" href='/{{ slug }}/download'>{{ filename }} ▼</a></p>
|
<p><a class="button" href='/{{ slug }}/download'>{{ filename }} ▼</a></p>
|
||||||
<p class="download-size"><strong title="{{ filesize }} bytes">{{ filesize_human }}</strong></p>
|
<p class="download-size"><strong title="{{ filesize }} bytes">{{ filesize_human }} (compressed)</strong></p>
|
||||||
|
<p class="download-description">This zip file contains the following contents:</p>
|
||||||
<table class="file-list">
|
<table class="file-list">
|
||||||
|
<tr>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Name</th>
|
||||||
|
<th>Size</th>
|
||||||
|
</tr>
|
||||||
{% for info in file_info.dirs %}
|
{% for info in file_info.dirs %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><img width="30" height="30" title="" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH3ggbFCQXOpwjbQAAAM5JREFUSMftlksOwyAMRDFCbNjkDL1kz9K75Cq9AZF3kYIM7oqoP/KpcFK1mRUrnsbW2Fbq0N+JiPhZRMS1OZAfzLzocwCAGmC9V2Vhjduarj8CzynGqIwxsDl4SXV267E4uFTN33X8deCxDyV1XXeRYJo1UUDEa9M0pxoRK+b4HiqRcz3nVAJKRK+TSxqaGbrkNKUkBn0oNSK2+T0MA1dau9NzO4QwuvPen1lAxQtEsq/vNpSWhvZ9v/3IRMTWOQezkyuEoKy14tfHoU11A6Mr5AxrpuMVAAAAAElFTkSuQmCC" /></td>
|
<td><img width="30" height="30" title="" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH3ggbFCQXOpwjbQAAAM5JREFUSMftlksOwyAMRDFCbNjkDL1kz9K75Cq9AZF3kYIM7oqoP/KpcFK1mRUrnsbW2Fbq0N+JiPhZRMS1OZAfzLzocwCAGmC9V2Vhjduarj8CzynGqIwxsDl4SXV267E4uFTN33X8deCxDyV1XXeRYJo1UUDEa9M0pxoRK+b4HiqRcz3nVAJKRK+TSxqaGbrkNKUkBn0oNSK2+T0MA1dau9NzO4QwuvPen1lAxQtEsq/vNpSWhvZ9v/3IRMTWOQezkyuEoKy14tfHoU11A6Mr5AxrpuMVAAAAAElFTkSuQmCC" /></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user