Use <h3> for running/failed build steps

This commit is contained in:
Eelco Dolstra 2012-04-17 09:35:37 +00:00
parent 896a47d950
commit 634d8c092f

View File

@ -9,8 +9,6 @@
[% job = build.job %] [% job = build.job %]
[% BLOCK renderBuildSteps %] [% BLOCK renderBuildSteps %]
<h2 id="buildsteps">[% type %] build steps</h2>
<table class="tablesorter table table-striped table-condensed"> <table class="tablesorter table table-striped table-condensed">
<thead> <thead>
<tr><th>Nr</th><th>What</th><th>Duration</th><th>Machine</th><th>Status</th></tr> <tr><th>Nr</th><th>What</th><th>Duration</th><th>Machine</th><th>Status</th></tr>
@ -67,7 +65,7 @@
[% IF flashMsg %] [% IF flashMsg %]
<p class="error">[% flashMsg %]</p> <p class="btn-info btn-large">[% flashMsg %]</p>
[% END %] [% END %]
<ul id="tab" class="nav nav-tabs"> <ul id="tab" class="nav nav-tabs">
@ -160,12 +158,14 @@
[% END %] [% END %]
[% IF !build.finished && build.buildsteps.size > 0 %] [% IF !build.finished %]
<h3>Running build steps</h3>
[% INCLUDE renderBuildSteps type="Running" %] [% INCLUDE renderBuildSteps type="Running" %]
[% END %] [% END %]
[% IF build.finished %] [% IF build.finished %]
[% IF build.buildsteps && build.buildstatus != 0 && build.buildstatus != 6 %] [% IF build.buildsteps && build.buildstatus != 0 && build.buildstatus != 6 %]
<h3>Failed build steps</h3>
[% INCLUDE renderBuildSteps type="Failed" %] [% INCLUDE renderBuildSteps type="Failed" %]
[% END %] [% END %]
@ -416,9 +416,10 @@
[% END %] [% END %]
[% IF build.buildsteps %] [% IF build.buildsteps %]
<div id="tabs-buildsteps" class="tab-pane"> <div id="tabs-buildsteps" class="tab-pane">
[% INCLUDE renderBuildSteps type="All" %] <h2>All build steps</h2>
</div> [% INCLUDE renderBuildSteps type="All" %]
</div>
[% END %] [% END %]