]> git.ipfire.org Git - pbs.git/blob - src/templates/modules/packages-table.html
bootstrap4: port job details pages
[pbs.git] / src / templates / modules / packages-table.html
1 <div class="table-responsive mb-2">
2 <table class="table table-striped table-hover">
3 <thead>
4 <tr>
5 <th>{{ _("Name") }}</th>
6 <th>{{ _("Summary") }}</th>
7 <th>{{ _("Size") }}</th>
8 <th>&nbsp;</th>
9 </tr>
10 </thead>
11 <tbody>
12 {% for package in packages %}
13 <tr>
14 <td>
15 <a href="/package/{{ package.uuid }}">{{ package.friendly_name }}</a>
16 </td>
17 <td>{{ package.summary }}</td>
18 <td>{{ format_size(package.filesize) }}</td>
19 <td>
20 <a class="btn btn-light" href="{{ job.build.download_prefix }}/{{ package.path }}">
21 <i class="icon-download"></i>{{ _("Download") }}
22 </a>
23 </td>
24 </tr>
25 {% end %}
26 </tbody>
27 </table>
28 </div>