X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FPb.pm;h=ffdde60697862c0b2db66533649082bb0d20ea7d;hb=191f4979def520b8be01554eb954c80ee42df38b;hp=da518de3f35582021d41f792169c046b20b4ea92;hpb=7dc3247307f2e86af154dc449224f22ba8923c79;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Pb.pm b/lib/Gruntmaster/Page/Pb.pm index da518de..ffdde60 100644 --- a/lib/Gruntmaster/Page/Pb.pm +++ b/lib/Gruntmaster/Page/Pb.pm @@ -11,36 +11,36 @@ use constant TEMPLATES => { en => <<'HTML',

Beginner

- +
+ +

Easy

- +
+ +

Medium

- +
+ +

Hard

- +
+ +
- +
+ +
HTML }; sub _generate{ - my ($self, $htc, $lang, $logger, $ct) = @_; - debug $logger => "language is '$lang' and contest is '$ct'"; + my ($self, $htc, $lang, $env, $ct) = @_; + debug $env => "language is '$lang' and contest is '$ct'"; local $Gruntmaster::Data::contest = $ct if $ct; my @problems = sort { $b->{name} cmp $a->{name} } map +{