From: Marius Gavrilescu Date: Tue, 28 Jan 2014 14:30:14 +0000 (+0200) Subject: Remove generators which are now articles X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=3dbd503c0fa0e0c213147d7384517ff748f74136;p=plack-app-gruntmaster.git Remove generators which are now articles --- diff --git a/lib/Gruntmaster/Page.pm b/lib/Gruntmaster/Page.pm index 71f5173..6b081a2 100644 --- a/lib/Gruntmaster/Page.pm +++ b/lib/Gruntmaster/Page.pm @@ -31,9 +31,6 @@ sub declaregen{ { my $component = qr'[^/]+'; my $contest = qr,(?:ct/$component/)?,; - declaregen Index => qr,^index$,; - declaregen Learn => qr,^learn$,; - declaregen Account => qr,^account$,; declaregen Us => qr,^us/index$,; declaregen 'Us::Entry' => qr,^us/$component$,; declaregen Ct => qr,^ct/index$,; diff --git a/lib/Gruntmaster/Page/Account.pm b/lib/Gruntmaster/Page/Account.pm deleted file mode 100644 index be27aff..0000000 --- a/lib/Gruntmaster/Page/Account.pm +++ /dev/null @@ -1,46 +0,0 @@ -package Gruntmaster::Page::Account; - -use 5.014000; -use strict; -use warnings; -use Gruntmaster::Page::Base account => 'Account'; -our @ISA = qw/Gruntmaster::Page::Base/; -our $VERSION = '0.001'; - -use constant TEMPLATES => { - en => <<'HTML', -
- -

Register

-
-Username:
-
-Password:
-
-Confirm password:
-
-Full name:
-
-Email:
-
-Town:
-
-University (full name):
-
- -
- -

Change password

-
-Old password:
-
-New password:
-
-Confirm new password:
-
- -
-HTML -}; - -1 diff --git a/lib/Gruntmaster/Page/Index.pm b/lib/Gruntmaster/Page/Index.pm deleted file mode 100644 index a413e6a..0000000 --- a/lib/Gruntmaster/Page/Index.pm +++ /dev/null @@ -1,15 +0,0 @@ -package Gruntmaster::Page::Index; - -use 5.014000; -use strict; -use warnings; -use Gruntmaster::Page::Base index => 'Gruntmaster 6000'; -our @ISA = qw/Gruntmaster::Page::Base/; -our $VERSION = '0.001'; - -use constant TEMPLATES => { - en => <<'HTML', -HTML -}; - -1 diff --git a/lib/Gruntmaster/Page/Learn.pm b/lib/Gruntmaster/Page/Learn.pm deleted file mode 100644 index 95c6182..0000000 --- a/lib/Gruntmaster/Page/Learn.pm +++ /dev/null @@ -1,17 +0,0 @@ -package Gruntmaster::Page::Learn; - -use 5.014000; -use strict; -use warnings; -use Gruntmaster::Page::Base learn => 'Learn'; -our @ISA = qw/Gruntmaster::Page::Base/; -our $VERSION = '0.001'; - -use constant TEMPLATES => { - en => <<'HTML', -Install interactive-perl-tutorial from your nearest CPAN mirror. Run cpan App::InteractivePerlTutorial. -

You can also get the source from git.ieval.ro -HTML -}; - -1