]>
iEval git - plack-app-gruntmaster.git/blob - 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
=> {
14 <tr><th>Test number<th>Result<th>Time
16 <tmpl_loop tests><tr><td><tmpl_var id><td class="r<tmpl_var result>"><tmpl_var result_text><td><tmpl_var time>
23 my ($self, $htc, $path, $lang) = @_;
25 $path =~ m
,^(?
:ct
/([^/]+)/)?log/job
/([^/]+)\
.html
$,;
26 local $Gruntmaster::Data
::contest
= $1;
30 $_->{time} = sprintf "%.4fs", $_->{time};
34 $htc->param(id
=> $id);
35 $htc->param(tests
=> \
@tests);
This page took 0.044717 seconds and 4 git commands to generate.