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> </thead>
<tbody> <tbody>
[% FOREACH step IN build.buildsteps -%] [% 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>[% step.stepnr %]</td>
<td> <td>
[% IF step.type == 0 %] [% IF step.type == 0 %]

View file

@ -38,7 +38,7 @@
</thead> </thead>
<tbody> <tbody>
[% FOREACH build IN builds -%] [% 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) %]'"> onclick="window.location = '[% c.uri_for('/build' build.id) %]'">
[% IF !hideResultInfo %] [% IF !hideResultInfo %]
<td> <td>

View file

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