index: release v1.18 with only altgr index linked
[sheet.git] / mutt.plp
index c489f1664ba3ce5be03e4819f03e8662a34a6fc7..57f1f13f60214a4f4d06541631e63d877e1a1f41 100644 (file)
--- a/mutt.plp
+++ b/mutt.plp
@@ -1,52 +1,3 @@
-<(common.inc.plp)><:
-
-Html({
-       title => 'mutt cheat sheet',
-       version => 'v1.1',
-       description => [
-               "Cheat sheet for the Mutt e-mail client,",
-               "showing the default binding for each key.",
-       ],
-       keywords => [qw'
-               mutt MUA email client sheet cheat reference overview commands keyboard
-       '],
-       stylesheet => [qw'light dark circus mono red terse'],
-       keys => 1,
-});
-
-:>
-<h1>Mutt cheat sheet</h1>
-
-<h2>index (default)</h2>
-
 <:
-use Shiar_Sheet::Keyboard 2;
-my $info = do 'mutt.eng.inc.pl' or die $@;
-$info->{def} = do 'mutt.inc.pl';
-my $keys = Shiar_Sheet::Keyboard->new($info);
-$keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{rows});
-:>
-
-<hr>
-
-<div class="help">
-       <div class="left">
-<: $keys->print_legend('legend-types', [qw( ci pm po co mi mo mv me )]) :>
-       </div>
-
-       <div class="right">
-<: $keys->print_legend('legend-options', [qw( arg )]) :>
-
-               <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>
-
+$Request = 'mutt';
+Include 'keyboard.plp';