X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FSubmit.pm;h=7e4d1634d27ca6ef328cc530b4e095db02c4a976;hb=2b0036ac8e077cc20cf9db6ff8dad4091ab50cb3;hp=e6f44deebfcee2e889a78cd2f5d613b5ffec5da8;hpb=42546e6c1b709dc4c8d8e7048becc14278b6cdf0;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Submit.pm b/lib/Gruntmaster/Page/Submit.pm index e6f44de..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 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',