latin: rename title attribute to name
[sheet.git] / latin.plp
index 25d8b1027e2185e35872df02bb740c97f7d4d643..f9e47189f1811fbfa943702f0ee0c883db98d7b5 100644 (file)
--- a/latin.plp
+++ b/latin.plp
@@ -2,7 +2,7 @@
 
 Html({
        title => 'latin alphabet cheat sheet',
-       version => '1.3',
+       version => '1.4',
        description => [
        ],
        keywords => [qw'
@@ -18,7 +18,6 @@ Html({
 :>
 <style>
        td {
-               vertical-align: top;
                white-space: nowrap;
        }
        th {
@@ -37,9 +36,9 @@ Html({
        }
 
        .sample {
-               vertical-align: middle;
                text-align: left;
                padding: 1px 0.3em;
+               white-space: normal;
        }
 </style>
 
@@ -79,7 +78,7 @@ else {
                my ($id, $info) = @{$row};
 
                printf '<tr id="%s">', $id;
-               say '<th>', $info->{title} // ucfirst $id;
+               say '<th>', $info->{name} // ucfirst $id;
 
                my $colspan = 1;
                my $col = 0;
@@ -116,5 +115,7 @@ else {
 :></div>
 
 <script type="text/javascript" src="/latinsample.js"></script>
-<script type="text/javascript"> prependinput(document.getElementById('intro')) </script>
+<script type="text/javascript"><!--
+       prependinput(document.getElementById('intro'));
+//--></script>