countries: hardcode codes reserved for WIPO
[sheet.git] / mutt.plp
index 3ce3d027c9fc01e3ab53e8f1ef8ae9e8f4a1cfc6..62c2fc11451dc0a1ae04149a44d3fb67dbffeb66 100644 (file)
--- a/mutt.plp
+++ b/mutt.plp
@@ -20,8 +20,6 @@ Html({
 
 <h2>index (default)</h2>
 
-<ul id="rows">
-
 <:
 use Shiar_Sheet::Keyboard 2;
 my $info = do 'mutt.eng.inc.pl' or die $@;
@@ -30,37 +28,16 @@ my $keys = Shiar_Sheet::Keyboard->new($info);
 $keys->map($get{map}) or undef $get{map};
 $keys->print_rows($get{rows});
 :>
-</ul>
 
 <hr>
 
 <div class="help">
        <div class="left">
-               <dl class="legend legend-types">
-               <dt class="ci">aside
-                       <dd>Temporarily display something without changing state.
-               <dt class="pm">select
-                       <dd>Scroll list and/or select a different line.
-               <dt class="po">search
-                       <dd>Go to a specific message entry.
-               <dt class="co">edit
-                       <dd>Modify message flags or contents.
-               <dt class="mi">command
-                       <dd>Any other action which does not alter an existing message.
-               <dt class="mo">send
-                       <dd>Prepare and/or send a (new) message.
-               <dt class="mv">leave
-                       <dd>Exit the opened folder.
-               <dt class="me">display
-                       <dd>Permanently alter/toggle current view.
-               </dl>
+<: $keys->print_legend('legend-types', [qw( ci pm po co mi mo mv me )]) :>
        </div>
 
        <div class="right">
-               <dl class="legend legend-options">
-               <dt>key<:= $sign{arg} :>
-                       <dd>Commands with a dot need an argument afterwards.
-               </dl>
+<: $keys->print_legend('legend-options', [qw( arg )]) :>
 
                <ul class="legend legend-set">
                <li>keyboard <strong>map</strong> is