X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;ds=sidebyside;f=lib%2FGruntmaster%2FPage%2FSubmit.pm;h=0159a9d06865f7a3f1132324e171bf310a4c748a;hb=c8f80fd70646af47a169ed75afbfc350f81bc84e;hp=344661b142ee74f0800b1e32d3f89594c1ed01d6;hpb=379160fdecb5423e2e616ed49d644d210069f4ab;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Submit.pm b/lib/Gruntmaster/Page/Submit.pm index 344661b..0159a9d 100644 --- a/lib/Gruntmaster/Page/Submit.pm +++ b/lib/Gruntmaster/Page/Submit.pm @@ -3,38 +3,64 @@ package Gruntmaster::Page::Submit; use 5.014000; use strict; use warnings; -use Gruntmaster::Page::Base submit => 'Submit job'; +use Gruntmaster::Page::Base; our @ISA = qw/Gruntmaster::Page::Base/; our $VERSION = '0.001'; -use constant FORMATS => [qw/C CPP JAVA PERL PYTHON/]; +use Apache2::Authen::Passphrase qw/pwcheck pwset USER_REGEX/; +use File::Slurp qw/read_file/; +use Plack::Request; -use constant TEMPLATES => { - en => <<'HTML', -