From 8da63edfda172244fb15ffd3cf69223fe06d4898 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 28 Jul 2013 23:41:12 +0200 Subject: [PATCH] keys: structure keyboard as html table Unordered list originally to avoid table for layout purposes, but keys are clearly to be arranged in a grid. Mostly moot with CSS, but improves rendering in text browsers. --- Shiar_Sheet/Keyboard.pm | 26 +++++++-------- base.css | 73 ++++++++++++++++++++++------------------- keys.js | 28 ++++++---------- 3 files changed, 62 insertions(+), 65 deletions(-) diff --git a/Shiar_Sheet/Keyboard.pm b/Shiar_Sheet/Keyboard.pm index 6819236..adaa3dd 100644 --- a/Shiar_Sheet/Keyboard.pm +++ b/Shiar_Sheet/Keyboard.pm @@ -113,7 +113,7 @@ sub print_key { ); $flags .= ' chr'.ord(substr $key, -1) if $key ne '^0'; - print qq{\t\t
  • $keytxt}; + print qq{\t\t$keytxt}; print "\n"; } @@ -126,12 +126,12 @@ sub print_rows { my $defrows = shift || [2, 1, 0]; my @modes = sort keys %{ $self->{def} }; - print '