X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;ds=inline;f=lib%2FGruntmaster%2FPage%2FLog.pm;h=19862a82b69a8840a5dd6a00c615a8a5bea30c71;hb=923655e1a9f847c21d3fdb254f58e705f4dd4da9;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..19862a8 100644 --- a/lib/Gruntmaster/Page/Log.pm +++ b/lib/Gruntmaster/Page/Log.pm @@ -3,48 +3,42 @@ 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> | |