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>
|
||||
[% END %]
|
||||
<td>[% !showSchedulingInfo and build.get_column('releasename') ? build.get_column('releasename') : build.nixname %]</td>
|
||||
<td><tt>[% build.system %]</tt></td>
|
||||
<td>[% date.format(showSchedulingInfo ? build.timestamp : build.stoptime, '%Y-%m-%d %H:%M:%S') %]</td>
|
||||
<td class="nowrap"><tt>[% build.system %]</tt></td>
|
||||
<td class="nowrap">[% date.format(showSchedulingInfo ? build.timestamp : build.stoptime, '%Y-%m-%d %H:%M:%S') %]</td>
|
||||
[% IF showStatusChange %]
|
||||
<td>
|
||||
[% 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>
|
||||
[% END %]
|
||||
<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>
|
||||
[% IF e.changedInputs.size > 0;
|
||||
sep='';
|
||||
|
@ -427,14 +427,14 @@ BLOCK renderEvals %]
|
|||
-
|
||||
[% END %]
|
||||
</td>
|
||||
<td align='right'>
|
||||
<td align='right' class="nowrap">
|
||||
<span class="label label-success">[% e.nrSucceeded %]</span>
|
||||
<span class="label label-important">[% e.nrFailed %]</span>
|
||||
[% IF e.nrScheduled > 0 %]
|
||||
<span class="label">[% e.nrScheduled %]</span>
|
||||
[% END %]
|
||||
</td>
|
||||
<td align='right'>
|
||||
<td align='right' class="nowrap">
|
||||
[% IF e.diff > 0 %]
|
||||
<span class='label label-success'><strong>+[% e.diff %]</strong></span>
|
||||
[% ELSIF e.diff < 0 && e.nrScheduled == 0 %]
|
||||
|
|
|
@ -87,3 +87,7 @@ div.page-header h1 small {
|
|||
div.news-item:not(:first-child) {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
td.nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue