]> git.ipfire.org Git - ipfire.org.git/commitdiff
download: Redesign list of checksums
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Oct 2018 11:04:06 +0000 (12:04 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Oct 2018 11:04:06 +0000 (12:04 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/download/release.html

index b45302a6a54ea46b34b4090fe33e3d79bbfe7b64..7f2bff3c3037c019ecdddfbe8d5951badf723b3b 100644 (file)
 
        <div class="collapse" id="checksums">
                <div class="card card-body">
-                       <h5 class="card-title text-center">{{ _("Checksums") }}</h5>
-
-                       <table class="table table-sm">
-                               <thead>
-                                       <tr>
-                                               <th scope="col"></th>
-                                               <th scope="col">{{ _("SHA 1") }}</th>
-                                       </tr>
-                               </thead>
-
-                               <tbody>
-                                       {% for f in release.files %}
-                                               <tr>
-                                                       <td>{{ f.basename }}</td>
-                                                       <td>
-                                                               <pre>{{ f.sha1 }}</pre>
-                                                       </td>
-                                               </tr>
-                                       {% end %}
-                               </tbody>
-                       </table>
+                       <pre class="mb-0">{% for f in release.files %}{{ "%-50s SHA1: %s\n" % (f.basename, f.sha1) }}{% end %}</pre>
                </div>
        </div>
 {% end block %}