X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/f7ced5dbac0054134afbf8c174ffc5542ef9dbdc..385813929989c8745b914a7fb4b48384f388c6cb:/keyboard.plp diff --git a/keyboard.plp b/keyboard.plp index 4b45927..5515910 100644 --- a/keyboard.plp +++ b/keyboard.plp @@ -22,11 +22,6 @@ my @keystyle = ( $showkeys eq 'ghost' ? '' : (), '', ); -if ($Request =~ /^altgr/ and open my $cssinc, '<', 'keyboard/altgr.css') { - local $/; - my $data = readline $cssinc; - push @keystyle, ""; -} Html({ title => "\L$mode\E keyboard cheat sheet", @@ -38,7 +33,6 @@ Html({ sheet cheat reference overview keyboard control commands shortkey '], image => $info->{image}, - stylesheet => [qw( light dark circus mono red )], data => ["$include.inc.pl"], raw => \@keystyle, }); @@ -53,7 +47,7 @@ say "

$_

" for $info->{intro} // (); say "

", $info->{mode}->{''}, " (default)

" if $info->{mode} and %{ $info->{mode} } > 1; -use Shiar_Sheet::Keyboard 2.08; +use Shiar_Sheet::Keyboard 3.00; my $keys = Shiar_Sheet::Keyboard->new($info); $keys->map($get{map}) or undef $get{map}; $keys->print_rows($get{rows} || $info->{moderows}, $info->{rows});