starcraft: remove keyboard page
[sheet.git] / starcraft.plp
diff --git a/starcraft.plp b/starcraft.plp
deleted file mode 100644 (file)
index dba4a7d..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-<(common.inc.plp)><:
-
-Html({
-       title => 'starcraft cheat sheet',
-       version => 'v1.0',
-       stylesheet => [qw'light dark circus mono red terse'],
-       keys => 1,
-});
-
-:>
-<h1>StarCraft cheat sheet</h1>
-
-<h2>normal mode (default)</h2>
-
-<ul id="rows">
-
-<li class="row">
-       <ul class="keys omni">
-       <li class="mv chr27" onclick="setmode()"><b>Esc</b> normal mode
-               <!-- not as static anymore, but never bothered; just see ^[ -->
-       </ul>
-</li>
-
-<:
-use Shiar_Sheet::Keyboard 2;
-my $info = do 'starcraft.eng.inc.pl' or die $@;
-$info->{def} = do 'starcraft.inc.pl';
-my $keys = Shiar_Sheet::Keyboard->new($info);
-$keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{rows} || '1 =P1 Z1', [0]);
-:>
-</ul>
-
-<hr>
-
-<div class="help">
-       <div class="left">
-               <dl class="legend legend-types">
-               <dt class="ci">ability
-                       <dd>Unit action available after upgrade.
-               <dt class="pm">action
-                       <dd>Default unit action.
-               <dt class="po">
-                       <dd>
-               <dt class="co">unit
-                       <dd>Unit available at all times.
-               <dt class="cp">dep unit
-                       <dd>Unit with dependencies.
-               <dt class="mi">
-                       <dd>
-               <dt class="mo">build
-                       <dd>Unit producing construction.
-               <dt class="mv">upgrade
-                       <dd>Building or research providing unit upgrade.
-               <dt class="me">other
-                       <dd>Miscellaneous facility.
-               </dl>
-       </div>
-
-       <div class="right">
-               <dl class="legend legend-options">
-               <dt>key<:= $sign{arg} :>
-                       <dd>Commands with a dot need a char argument afterwards.
-               <dt>key<:= $sign{args} :>
-                       <dd>Commands with two dots require variable arguments afterwards.
-               </dl>
-
-               <ul class="legend legend-set">
-               <li>keyboard <strong>map</strong> is
-                       <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
-               <li><strong>keys</strong> are
-                       <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
-                               !exists $get{keys} && ' by default' :>
-               <li>default <strong>style</strong> is
-                       <:= defined $get{style} && 'set to ' :><em><:= $style :></em>
-               </ul>
-       </div>
-</div>
-