]>
iEval git - gruntmaster-page.git/blob - lib/Gruntmaster/Page/Log/Entry.pm
1 package Gruntmaster
::Page
::Log
::Entry
;
6 use Gruntmaster
::Page
::Base log_entry
=> 'Job <tmpl_var id>';
7 our @ISA = qw
/Gruntmaster::Page::Base/;
8 our $VERSION = '0.001';
10 use constant TEMPLATES
=> {
13 <pre><tmpl_var errors></pre>
18 <tr><th>Test number<th>Result<th>Time
20 <tmpl_loop tests><tr><td><tmpl_var id><td class="r<tmpl_var result>"><tmpl_var result_text><td><tmpl_var time>
27 my ($self, $htc, $lang, $env, $ct, $id) = @_;
28 debug
$env => "language is '$lang', contest is '$ct' and id is '$id'";
29 local $Gruntmaster::Data
::contest
= $ct;
35 $_->{time} = sprintf "%.4fs", $_->{time};
40 $htc->param(id
=> $id);
41 $htc->param(tests
=> \
@tests);
42 $htc->param(errors
=> job_errors
$id)
This page took 0.045891 seconds and 4 git commands to generate.