X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;ds=sidebyside;f=lib%2FGruntmaster%2FPage%2FSubmit.pm;h=0159a9d06865f7a3f1132324e171bf310a4c748a;hb=d393302889074d8c0b43609c1a801ba2989d299e;hp=5836282f38967c660139af02b8a2eddd53b78b03;hpb=464772b79e3a44caa340b81982c0da6c401bf04b;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Submit.pm b/lib/Gruntmaster/Page/Submit.pm index 5836282..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 MONO JAVA PASCAL 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', -