Show total builds and add two more date options

This commit is contained in:
Alex Iribarren 2022-01-12 15:57:53 +01:00 committed by Tomas Kopecek
parent 0a1554bbd5
commit 8e59e3f613

View file

@ -7,6 +7,8 @@
<option value="$value"#if $value == $days then ' selected="selected"' else ''#>$label</option>
#end def
#set $numTotal = $numSucceeded + $numFailed + $numCanceled
#include "includes/header.chtml"
<h4>Succeeded/Failed/Canceled Builds#if $days != -1 then ' in the last %i days' % $days else ''#</h4>
@ -25,6 +27,8 @@
$printOption(60)
$printOption(90)
$printOption(120)
$printOption(180)
$printOption(365)
$printOption(-1, 'all')
</select> days
</form>
@ -50,6 +54,11 @@
<td width="#echo $graphWidth + 5#"><img src="$util.themePath('images/1px.gif')" width="#echo $increment * $numCanceled#" height="15" class="graphrow" alt="graph row"/></td>
<td>$numCanceled</td>
</tr>
<tr class="row-even">
<td>Total</td>
<td></td>
<td>$numTotal</td>
</tr>
</table>
#include "includes/footer.chtml"