This commit is contained in:
parent
b7892f598d
commit
07e1d73602
|
@ -47,12 +47,14 @@ install the package simply by clicking on the packages below.</p>
|
|||
|
||||
<tbody>
|
||||
|
||||
[% odd = 0 %]
|
||||
|
||||
[% FOREACH pkg IN nixPkgs %]
|
||||
|
||||
[% build = pkg.build %]
|
||||
[% uri = "${curUri}/pkg/${pkg.name}.nixpkg" %]
|
||||
|
||||
<tr class="clickable" onclick="window.location = '[% uri %]'">
|
||||
<tr class="clickable [% IF odd %] odd [% END; odd = !odd %]" onclick="window.location = '[% uri %]'">
|
||||
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
|
||||
<td><a href="[% uri %]"><tt>[% build.resultInfo.releasename || build.nixname %]</tt></a></td>
|
||||
<td><tt>[% build.system %]</tt></td>
|
||||
|
|
|
@ -38,9 +38,13 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% odd = 0 %]
|
||||
[% FOREACH build IN builds -%]
|
||||
<tr class="clickable [% IF showSchedulingInfo -%]
|
||||
[% IF build.schedulingInfo.busy %]runningBuild[% END %] [% IF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END -%]
|
||||
<tr class="clickable
|
||||
[% IF showSchedulingInfo -%]
|
||||
[% IF build.schedulingInfo.busy %]runningBuild[% END %] [% IF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END -%]
|
||||
[% ELSE -%]
|
||||
[% IF odd %] odd [% END; odd = !odd -%]
|
||||
[% END %]"
|
||||
onclick="window.location = '[% c.uri_for('/build' build.id) %]'">
|
||||
[% IF !hideResultInfo %]
|
||||
|
|
|
@ -34,6 +34,10 @@ tr.clickable:hover {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
tr.odd {
|
||||
background: #f4f4f4;
|
||||
}
|
||||
|
||||
.layoutTable td, .layoutTable th {
|
||||
border-style: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue