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 [% IF statrows.0.sys_notes %]
22 <th class="head" rowspan="2">System Notes</th>
27 <td>[% statrows.0.sys_notes_date %]</td>
28 <td>[% statrows.0.sys_notes %]</td>
32 <h3>Branch: [% branch %][% IF statrows.size >= hm %] (last [% hm %] entries shown)[% END %]</h3>
34 <tr [% PROCESS cl bgfor=row.stage %]>
35 <td>[%- row.when_ago | replace('\s',' ') %] ago </td>
36 <td class="status">[% row.stage -%]</td>
37 <td class="status"><a href="show_log.pl?nm=
38 [%- row.sysname %]&dt=
39 [%- row.snapshot | uri %]">
40 [%- IF row.stage != 'OK' %]Details[% ELSE %]Config[% END -%]</a></td>
44 <table border="0"> <tr>
45 [% FOREACH offset IN [0,1,2] %][% low = offset * statrows.size / 3 ; high = -1 + (offset + 1) * statrows.size / 3 %]
48 $stash->set(low => floor($stash->get('low')));
49 $stash->set(high => floor($stash->get('high')));
50 [% END %][% CATCH %]<!-- [% error.info %] --> [% END %]
51 <td><table cellspacing="0">
52 [% FOREACH xrow IN statrows.slice(low,high) %][% PROCESS stdet row=xrow %][% END %]