Fix tabs
This commit is contained in:
parent
97c76f34df
commit
acdeaa1d80
|
@ -15,7 +15,7 @@
|
||||||
<div id="tabs-status" class="tab-pane active">
|
<div id="tabs-status" class="tab-pane active">
|
||||||
[% IF lastBuilds.size != 0 %]
|
[% IF lastBuilds.size != 0 %]
|
||||||
<h3>Lastest builds</h3>
|
<h3>Lastest builds</h3>
|
||||||
[% INCLUDE renderBuildList builds=lastBuilds
|
[% INCLUDE renderBuildList builds=lastBuilds
|
||||||
linkToAll=c.uri_for('/job' project.name jobset.name job.name 'all') %]
|
linkToAll=c.uri_for('/job' project.name jobset.name job.name 'all') %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF queuedBuilds.size != 0 %]
|
[% IF queuedBuilds.size != 0 %]
|
||||||
|
@ -34,41 +34,41 @@
|
||||||
the status of each constituent job for the [%
|
the status of each constituent job for the [%
|
||||||
aggregates.keys.size %] most recent builds of the
|
aggregates.keys.size %] most recent builds of the
|
||||||
aggregate.</div>
|
aggregate.</div>
|
||||||
|
|
||||||
[% aggs = aggregates.keys.nsort.reverse %]
|
[% aggs = aggregates.keys.nsort.reverse %]
|
||||||
<table class="table table-striped table-condensed table-header-rotated">
|
<table class="table table-striped table-condensed table-header-rotated">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Job</th>
|
<th>Job</th>
|
||||||
[% FOREACH agg IN aggs %]
|
[% FOREACH agg IN aggs %]
|
||||||
<th class="rotate-45">
|
<th class="rotate-45">
|
||||||
[% agg_ = aggregates.$agg %]
|
[% agg_ = aggregates.$agg %]
|
||||||
<div><span class="[% agg_.build.finished == 0 ? "text-info" : (agg_.build.buildstatus == 0 ? "text-success" : "text-warning") %] override-link">
|
<div><span class="[% agg_.build.finished == 0 ? "text-info" : (agg_.build.buildstatus == 0 ? "text-success" : "text-warning") %] override-link">
|
||||||
<a href="[% c.uri_for('/build' agg) %]">[% agg %]</a>
|
<a href="[% c.uri_for('/build' agg) %]">[% agg %]</a>
|
||||||
</span></div></th>
|
</span></div></th>
|
||||||
[% END %]
|
[% END %]
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
[% FOREACH j IN constituentJobs %]
|
[% FOREACH j IN constituentJobs %]
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 1em;">[% INCLUDE renderJobName project=project.name jobset=jobset.name job=j %]</th>
|
<th style="width: 1em;">[% INCLUDE renderJobName project=project.name jobset=jobset.name job=j %]</th>
|
||||||
[% FOREACH agg IN aggs %]
|
[% FOREACH agg IN aggs %]
|
||||||
<td>
|
<td>
|
||||||
[% r = aggregates.$agg.constituents.$j; IF r.id %]
|
[% r = aggregates.$agg.constituents.$j; IF r.id %]
|
||||||
<a href="[% c.uri_for('/build' r.id) %]">
|
<a href="[% c.uri_for('/build' r.id) %]">
|
||||||
[% INCLUDE renderBuildStatusIcon size=16 build=r %]
|
[% INCLUDE renderBuildStatusIcon size=16 build=r %]
|
||||||
</a>
|
</a>
|
||||||
[% END %]
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
[% END %]
|
[% END %]
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
<div id="tabs-links" class="tab-pane">
|
<div id="tabs-links" class="tab-pane">
|
||||||
|
|
Loading…
Reference in a new issue