X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/2034c72e12562eda33ce53d92cfef2216b6fcf3e..a0cb024ea50865030512b67ad0a3cfaefc29b7f6:/starcraft.plp diff --git a/starcraft.plp b/starcraft.plp index 386bf40..dba4a7d 100644 --- a/starcraft.plp +++ b/starcraft.plp @@ -1,41 +1,13 @@ -<: -use utf8; -use strict; -use warnings; -no warnings 'qw'; # you know what you doing -no warnings 'uninitialized'; # save some useless checks for more legible code - -use Shiar_Sheet::KeySigns qw(%sign); - -our $VERSION = 'v1.0'; - -$header{content_type} = "text/html; charset=$sign{charset}"; +<(common.inc.plp)><: -:> - +Html({ + title => 'starcraft cheat sheet', + version => 'v1.0', + stylesheet => [qw'light dark circus mono red terse'], + keys => 1, +}); - -starcraft cheat sheet - - - -<: - my %styles = map {$_ => $_} qw(dark circus mono red terse); - our $style = exists $get{style} && $styles{$get{style}} || 'light'; - printf(qq{\n}, - $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "$_.css", $_ - ) for keys %styles; - - our $showkeys = exists $get{keys} && $get{keys} ne '0'; - print "\n" unless $showkeys; - print "\n" - if $showkeys and $get{keys} eq 'ghost'; :> - - - -

StarCraft cheat sheet

normal mode (default)

@@ -96,9 +68,6 @@ $keys->print_rows($get{rows} || '1 =P1 Z1', [0]);