1 [%- BLOCK cl %] class="[% SWITCH bgfor -%]
2 [%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]"
5 title = 'PostgreSQL BuildFarm History'
9 <h1>PostgreSQL BuildFarm Status History</h1>
10 <table cellspacing="0">
11 <tr><th class="head" colspan="3">System Detail</th></tr>
12 <tr class="member"><th>Farm member</th><td>[% member %]</td></tr>
13 <tr><th>OS</th><td>[% statrows.0.operating_system %] [% statrows.0.os_version %]</td></tr>
14 <tr><th>Compiler</th><td>[% statrows.0.compiler %] [% statrows.0.compiler_version %]</td></tr>
15 <tr><th>Architecture</th><td>[% statrows.0.architecture %]</td></tr>
16 <tr><th>Owner</th><td>[% statrows.0.owner_email %]</td></tr>
18 <h3>Branch: [% branch %][% IF statrows.size >= hm %] (last [% hm %] entries shown)[% END %]</h3>
20 <tr [% PROCESS cl bgfor=row.stage %]>
21 <td>[%- row.when_ago | replace('\s',' ') %] ago </td>
22 <td class="status">[% row.stage -%]</td>
23 <td class="status"><a href="show_log.pl?nm=
24 [%- row.sysname %]&dt=
25 [%- row.snapshot | uri %]">
26 [%- IF row.stage != 'OK' %]Details[% ELSE %]Config[% END -%]</a></td>
30 <table border="0"> <tr>
31 [% FOREACH offset IN [0,1,2] %][% low = offset * statrows.size / 3 ; high = -1 + (offset + 1) * statrows.size / 3 %]
34 $stash->set(low => floor($stash->get('low')));
35 $stash->set(high => floor($stash->get('high')));
36 [% END %][% CATCH %]<!-- [% error.info %] --> [% END %]
37 <td><table cellspacing="0">
38 [% FOREACH xrow IN statrows.slice(low,high) %][% PROCESS stdet row=xrow %][% END %]