X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FSubmit.pm;h=7e4d1634d27ca6ef328cc530b4e095db02c4a976;hb=2b0036ac8e077cc20cf9db6ff8dad4091ab50cb3;hp=a57b7b177b05d52f27e77eb0aa219f254f77a320;hpb=832cb45e325364ca1de645a2256efa69284fcf06;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Submit.pm b/lib/Gruntmaster/Page/Submit.pm index a57b7b1..7e4d163 100644 --- a/lib/Gruntmaster/Page/Submit.pm +++ b/lib/Gruntmaster/Page/Submit.pm @@ -8,16 +8,13 @@ our @EXPORT_OK = qw/generate/; our $VERSION = '0.001'; use constant FORMATS => [qw/CPP/]; -use constant TITLE => 'Submit job'; -use Fcntl qw/:flock/; use HTML::Template::Compiled; -use IO::File; -use YAML::Any qw/LoadFile/; -use Gruntmaster::Page::Common qw/header footer/; +use Gruntmaster::Page::Common qw/cook_templates reload_templates/; +use Gruntmaster::Data qw/problem_name problems/; -my %templates = ( - en => <<'HTML', +my %orig_templates = ( + en => <<'HTML',