X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/2034c72e12562eda33ce53d92cfef2216b6fcf3e..d4a3fa7f0cd25240bf8a0a382301f96fa8f2a5ab:/starcraft.plp?ds=sidebyside
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]);
- keyboard map is
<:= $get{map} ? 'set to ' : '' :><:= $keys->{map} :>
-
- ascii mode is
- <:= defined $sign{-ascii} && 'forced ' :><:=
- $sign{-ascii} ? 'on' : 'off' :>
- keys are
<:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:=
!exists $get{keys} && ' by default' :>
@@ -108,12 +77,3 @@ $keys->print_rows($get{rows} || '1 =P1 Z1', [0]);
-
-
-