Add a page to show the latest evaluations for the entire server
This commit is contained in:
@ -384,10 +384,13 @@ BLOCK renderEvals %]
|
||||
<table class="tablesorter table table-condensed table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
[% IF !jobset %]
|
||||
<th>Jobset</th>
|
||||
[% END %]
|
||||
<th>#</th>
|
||||
<th>Date</th>
|
||||
<th style="width: 10em">Date</th>
|
||||
<th>Input changes</th>
|
||||
<th colspan='2'>Success</th>
|
||||
<th colspan='2' style="width: 25em">Success</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -395,6 +398,9 @@ BLOCK renderEvals %]
|
||||
eval = e.eval;
|
||||
link = c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) %]
|
||||
<tr class="clickable" onclick="window.location = '[% link %]'">
|
||||
[% IF !jobset %]
|
||||
<td>[% INCLUDE renderFullJobsetName project=eval.get_column('project') jobset=eval.get_column('jobset') %]</td>
|
||||
[% END %]
|
||||
<td><a href="[% link %]">[% eval.id %]</a></td>
|
||||
<td>[% INCLUDE renderDateTime timestamp = eval.timestamp %]</td>
|
||||
<td>
|
||||
@ -402,7 +408,7 @@ BLOCK renderEvals %]
|
||||
sep='';
|
||||
FOREACH input IN e.changedInputs;
|
||||
sep; %] [% input.name %] → [% INCLUDE renderShortEvalInput input=input;
|
||||
sep=',';
|
||||
sep=', ';
|
||||
END;
|
||||
ELSE %]
|
||||
-
|
||||
|
@ -1,12 +1,8 @@
|
||||
[% WRAPPER layout.tt title=(httpStatus ? httpStatus : "Error") %]
|
||||
[% USE HTML %]
|
||||
|
||||
<p>I'm very sorry, but the following error(s) occurred:</p>
|
||||
|
||||
<ul>
|
||||
[% FOREACH error IN errors %]
|
||||
<li><div class="error-msg">[% HTML.escape(error) %]</div></li>
|
||||
<div class="alert alert-error">[% HTML.escape(error) %]</div>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
||||
[% END %]
|
||||
|
@ -1,4 +1,4 @@
|
||||
[% WRAPPER layout.tt title="Evaluations of jobset $project.name:$jobset.name" %]
|
||||
[% WRAPPER layout.tt title=(jobset ? "Evaluations of jobset $project.name:$jobset.name" : "Latest evaluations") %]
|
||||
[% PROCESS common.tt %]
|
||||
|
||||
<p>Showing evaluations [% (page - 1) * resultsPerPage + 1 %] - [%
|
@ -36,6 +36,9 @@
|
||||
[% INCLUDE makeLink
|
||||
uri = c.uri_for(c.controller('Root').action_for('machines'))
|
||||
title = "Machine status" %]
|
||||
[% INCLUDE makeLink
|
||||
uri = c.uri_for(c.controller('Root').action_for('evals'))
|
||||
title = "Latest evaluations" %]
|
||||
[% INCLUDE makeLink
|
||||
uri = c.uri_for(c.controller('Root').action_for('all'))
|
||||
title = "Latest builds" %]
|
||||
|
Reference in New Issue
Block a user