X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;ds=sidebyside;f=lib%2FGruntmaster%2FPage%2FLog.pm;h=2379e804815c816f81cae63081b441bee514569a;hb=b83e43dc480771137fcff41589815556881b1243;hp=0c842c2d20915a1763bee1871c700f681b80981e;hpb=e5f2bda6c8984be0c49a3e058a165286791fef51;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Log.pm b/lib/Gruntmaster/Page/Log.pm index 0c842c2..2379e80 100644 --- a/lib/Gruntmaster/Page/Log.pm +++ b/lib/Gruntmaster/Page/Log.pm @@ -3,48 +3,39 @@ package Gruntmaster::Page::Log; use 5.014000; use strict; use warnings; -use parent qw/Exporter/; -our @EXPORT_OK = qw/generate/; +use Gruntmaster::Page::Base log => 'Job log'; +our @ISA = qw/Gruntmaster::Page::Base/; our $VERSION = '0.001'; -use constant TITLE => 'Job log'; use constant PAGE_SIZE => 10; -use constant FORMAT_EXTENSION => { - CPP => 'cpp', -}; - -use HTML::Template::Compiled; -use POSIX qw/strftime/; -use Gruntmaster::Page::Common qw/header footer/; -use Gruntmaster::Data qw/jobcard job_date job_extension job_filesize problem_name job_private job_problem job_result job_result_text job_user/; - -my %templates = ( +use constant TEMPLATES => { en => <<'HTML',
ID | Problem | Date | Size | User | Result | ||
---|---|---|---|---|---|---|---|
data-private> | data-private> | |