1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00

* Make build steps clickable as well.

This commit is contained in:
Eelco Dolstra 2008-11-27 10:04:54 +00:00
parent d9507c304a
commit 24923ed09a
3 changed files with 5 additions and 3 deletions

View file

@ -170,7 +170,8 @@
</thead>
<tbody>
[% FOREACH step IN build.buildsteps -%]
<tr>
<tr class="[% IF step.logfile %]clickable[% END %]"
[% IF step.logfile %] onclick="window.location = '[% c.uri_for('/nixlog' build.id step.stepnr) %]'" [% END %]>
<td>[% step.stepnr %]</td>
<td>
[% IF step.type == 0 %]

View file

@ -38,7 +38,7 @@
</thead>
<tbody>
[% FOREACH build IN builds -%]
<tr [% IF build.schedulingInfo.busy %]class="runningJob"[% END %]
<tr class="clickable [% IF build.schedulingInfo.busy %]runningJob[% END %]"
onclick="window.location = '[% c.uri_for('/build' build.id) %]'">
[% IF !hideResultInfo %]
<td>

View file

@ -29,8 +29,9 @@ table {
margin-bottom: 1em;
}
table.buildList tr:hover {
tr.clickable:hover {
background-color: #a0a0f0;
cursor: pointer;
}
.layoutTable td, .layoutTable th {