[Pkg-privacy-commits] [onionshare] 208/256: 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

Ulrike Uhlig ulrike at moszumanska.debian.org
Fri May 26 12:53:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

ulrike pushed a commit to branch master
in repository onionshare.

commit ff51d2ce58d43b3fc8732f057f20e4845bba1382
Author: Miguel Jacq <mig at mig5.net>
Date:   Fri May 19 15:44:03 2017 +1000

    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
---
 share/html/index.html | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/share/html/index.html b/share/html/index.html
index 9b857a6..aa91174 100644
--- a/share/html/index.html
+++ b/share/html/index.html
@@ -57,7 +57,9 @@
       .download-size {
         color: #999999;
       }
-
+      .download-description {
+        padding: 10px;
+      }
       .file-list {
         margin: 50px auto 0 auto;
         padding: 10px;
@@ -67,6 +69,7 @@
       .file-list th {
         padding: 5px;
         font-weight: bold;
+        color: #999999;
       }
       .file-list td {
         padding: 5px;
@@ -77,8 +80,14 @@
   </head>
   <body>
     <p><a class="button" href='/{{ slug }}/download'>{{ filename }} &#x25BC;</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">
+      <tr>
+	<th>Type</th>
+        <th>Name</th>
+        <th>Size</th>
+      </tr>
       {% for info in file_info.dirs %}
       <tr>
         <td><img width="30" height="30" title="" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH3ggbFCQXOpwjbQAAAM5JREFUSMftlksOwyAMRDFCbNjkDL1kz9K75Cq9AZF3kYIM7oqoP/KpcFK1mRUrnsbW2Fbq0N+JiPhZRMS1OZAfzLzocwCAGmC9V2Vhjduarj8CzynGqIwxsDl4SXV267E4uFTN33X8deCxDyV1XXeRYJo1UUDEa9M0pxoRK+b4HiqRcz3nVAJKRK+TSxqaGbrkNKUkBn0oNSK2+T0MA1dau9NzO4QwuvPen1lAxQtEsq/vNpSWhvZ9v/3IRMTWOQezkyuEoKy14tfHoU11A6Mr5Axrp [...]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git



More information about the Pkg-privacy-commits mailing list