X-Git-Url: https://git.exim.org/buildfarm-server.git/blobdiff_plain/c3ad6df34e5ec30c6be887033dad6d834ddf8fb1..4566996102964b1dcd4141669fa9954296fa7f0c:/templates/history.tt diff --git a/templates/history.tt b/templates/history.tt index 27a5be1..a54bce4 100644 --- a/templates/history.tt +++ b/templates/history.tt @@ -1,78 +1,63 @@ +[%# + +Copyright (c) 2003-2010, Andrew Dunstan + +See accompanying License file for license details + +-%] [%- BLOCK cl %] class="[% SWITCH bgfor -%] [%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]" [%- END -%] - - - - - PostgreSQL BuildFarm History - - - - - -
- -
-

PostgreSQL BuildFarm Status History

- +[% WRAPPER 'page.tt' + title = 'Exim BuildFarm History' + bodyclass = 'history' + pagebutton = 'none' +%] +

Exim BuildFarm Status History

+
- - -
System Detail
Farm member[% member %]
OS[% statrows.0.operating_system %] [% statrows.0.os_version %]
Compiler[% statrows.0.compiler %] [% statrows.0.compiler_version %]
Architecture[% statrows.0.architecture %]
Owner[% statrows.0.owner_email %]
-

Branch: [% branch %][% IF statrows.size >= hm %] (last [% hm %] entries shown)[% END %]

+ +[% IF statrows.0.sys_notes %] +
+ + + + + + + + + + +
System NotesDateNotes
[% statrows.0.sys_notes_date %][% statrows.0.sys_notes %]
+[% END %] +

Branch: [% branch %][% IF statrows.size >= hm %] (last [% hm %] entries shown)[% END %]

[% BLOCK stdet %] - - [%- row.when_ago | replace('\s',' ') %] ago  - [% row.stage -%] - [% row.stage -%] + [%- IF row.stage != 'OK' %]Details[% ELSE %]Config[% END -%] - + [% END %] -[% FOREACH offset IN [0,1,2] %][% low = offset * statrows.size / 3 ; high = -1 + (offset + 1) * statrows.size / 3 %] -[% TRY %][% PERL %] - use POSIX qw(floor); - $stash->set(low => floor($stash->get('low'))); - $stash->set(high => floor($stash->get('high'))); -[% END %][% CATCH %] [% END %] + [% FOREACH offset IN [0,1,2] %][% low = offset * statrows.size / 3 ; high = -1 + (offset + 1) * statrows.size / 3 %] + [% TRY %][% PERL %] + use POSIX qw(floor); + $stash->set(low => floor($stash->get('low'))); + $stash->set(high => floor($stash->get('high'))); + [% END %][% CATCH %] [% END %] -[% END %] + [% END %]
- [% FOREACH xrow IN statrows.slice(low,high) %][% PROCESS stdet row=xrow %][% END %]
-
-
-

-Hosting for the PostgreSQL Buildfarm is generously -provided by: -CommandPrompt, -The PostgreSQL Company -

-
- - +[% END %]