* 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 {