* Generic declaration of build products.
This commit is contained in:
@ -103,13 +103,24 @@
|
||||
|
||||
<h2>Build products</h2>
|
||||
|
||||
<ul>
|
||||
<ul class="productList">
|
||||
|
||||
[% FOREACH product IN build.buildproducts -%]
|
||||
<li>
|
||||
[% SWITCH product.type %]
|
||||
[% CASE "nix-build" %]
|
||||
Nix build of path <tt>[% product.path %]</tt>
|
||||
[% CASE "file" %]
|
||||
[% SWITCH product.subtype %]
|
||||
[% CASE "source-dist" %]
|
||||
<img src="/static/images/source-dist.png" alt="Source" /> Source distribution <tt>[% product.path %]</tt>
|
||||
[% CASE "rpm" %]
|
||||
<img src="/static/images/rpm-fedora.png" alt="RPM" /> RPM package <tt>[% product.path %]</tt>
|
||||
[% CASE DEFAULT %]
|
||||
File <tt>[% product.path %]</tt> of type <tt>[% product.subtype %]</tt>
|
||||
[% END %]
|
||||
[% CASE DEFAULT %]
|
||||
Something of type <tt>[% product.type %]</tt>
|
||||
[% END %]
|
||||
</li>
|
||||
[% END -%]
|
||||
|
@ -152,6 +152,11 @@ pre.buildlog {
|
||||
padding: 0.3em;
|
||||
}
|
||||
|
||||
ul.productList {
|
||||
list-style: none;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
|
||||
/* Sortable tables */
|
||||
|
||||
@ -180,4 +185,4 @@ table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSo
|
||||
|
||||
table.tablesorter thead tr th {
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
}
|
||||
|
BIN
src/HydraFrontend/root/static/images/rpm-fedora.png
Normal file
BIN
src/HydraFrontend/root/static/images/rpm-fedora.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
src/HydraFrontend/root/static/images/source-dist.png
Normal file
BIN
src/HydraFrontend/root/static/images/source-dist.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 534 B |
Reference in New Issue
Block a user