forked from lix-project/hydra
Don't break certain table columns
For instance, if the "timestamp" column becomes too small, then every timestamp is spread out across two lines, doubling the size of the table.
This commit is contained in:
parent
47c49cf3d4
commit
1277a8fc1c
|
@ -98,8 +98,8 @@ BLOCK renderBuildListBody;
|
||||||
<td>[% INCLUDE renderFullJobNameOfBuild %]</td>
|
<td>[% INCLUDE renderFullJobNameOfBuild %]</td>
|
||||||
[% END %]
|
[% END %]
|
||||||
<td>[% !showSchedulingInfo and build.get_column('releasename') ? build.get_column('releasename') : build.nixname %]</td>
|
<td>[% !showSchedulingInfo and build.get_column('releasename') ? build.get_column('releasename') : build.nixname %]</td>
|
||||||
<td><tt>[% build.system %]</tt></td>
|
<td class="nowrap"><tt>[% build.system %]</tt></td>
|
||||||
<td>[% date.format(showSchedulingInfo ? build.timestamp : build.stoptime, '%Y-%m-%d %H:%M:%S') %]</td>
|
<td class="nowrap">[% date.format(showSchedulingInfo ? build.timestamp : build.stoptime, '%Y-%m-%d %H:%M:%S') %]</td>
|
||||||
[% IF showStatusChange %]
|
[% IF showStatusChange %]
|
||||||
<td>
|
<td>
|
||||||
[% IF build.get_column('statusChangeTime') %]
|
[% IF build.get_column('statusChangeTime') %]
|
||||||
|
@ -415,7 +415,7 @@ BLOCK renderEvals %]
|
||||||
<td>[% INCLUDE renderFullJobsetName project=eval.get_column('project') jobset=eval.get_column('jobset') %]</td>
|
<td>[% INCLUDE renderFullJobsetName project=eval.get_column('project') jobset=eval.get_column('jobset') %]</td>
|
||||||
[% END %]
|
[% END %]
|
||||||
<td><a class="row-link" href="[% link %]">[% eval.id %]</a></td>
|
<td><a class="row-link" href="[% link %]">[% eval.id %]</a></td>
|
||||||
<td>[% INCLUDE renderDateTime timestamp = eval.timestamp %]</td>
|
<td class="nowrap">[% INCLUDE renderDateTime timestamp = eval.timestamp %]</td>
|
||||||
<td>
|
<td>
|
||||||
[% IF e.changedInputs.size > 0;
|
[% IF e.changedInputs.size > 0;
|
||||||
sep='';
|
sep='';
|
||||||
|
@ -427,14 +427,14 @@ BLOCK renderEvals %]
|
||||||
-
|
-
|
||||||
[% END %]
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
<td align='right'>
|
<td align='right' class="nowrap">
|
||||||
<span class="label label-success">[% e.nrSucceeded %]</span>
|
<span class="label label-success">[% e.nrSucceeded %]</span>
|
||||||
<span class="label label-important">[% e.nrFailed %]</span>
|
<span class="label label-important">[% e.nrFailed %]</span>
|
||||||
[% IF e.nrScheduled > 0 %]
|
[% IF e.nrScheduled > 0 %]
|
||||||
<span class="label">[% e.nrScheduled %]</span>
|
<span class="label">[% e.nrScheduled %]</span>
|
||||||
[% END %]
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
<td align='right'>
|
<td align='right' class="nowrap">
|
||||||
[% IF e.diff > 0 %]
|
[% IF e.diff > 0 %]
|
||||||
<span class='label label-success'><strong>+[% e.diff %]</strong></span>
|
<span class='label label-success'><strong>+[% e.diff %]</strong></span>
|
||||||
[% ELSIF e.diff < 0 && e.nrScheduled == 0 %]
|
[% ELSIF e.diff < 0 && e.nrScheduled == 0 %]
|
||||||
|
|
|
@ -87,3 +87,7 @@ div.page-header h1 small {
|
||||||
div.news-item:not(:first-child) {
|
div.news-item:not(:first-child) {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.nowrap {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue