diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-11-13 21:52:24 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-11-13 21:52:24 +0100 |
commit | ff4e248c6baf0468ff9dbe6b99d4c59191a67277 (patch) | |
tree | 472c1e103151b828fda5394df9fd3d40c9c750ec | |
parent | a507734f313659a8d8cdbb5441462b444ffaa041 (diff) |
cgi: alignment fixes
-rw-r--r-- | cgi/index.pl | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cgi/index.pl b/cgi/index.pl index aaa3f7d..e9fff98 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -196,7 +196,7 @@ sub render_image { $png->draw_at( 25, $destination ); if (length($etr) > 2) { - $png->draw_at( 142, $etr ); + $png->draw_at( 145, $etr ); } elsif (length($etr) > 1) { $png->draw_at( 148, $etr ); @@ -274,7 +274,7 @@ __DATA__ span.fielddesc { display: block; float: left; - width: 10em; + width: 12em; text-align: right; padding-right: 0.5em; } @@ -318,17 +318,16 @@ local transit networks as well. <%= submit_button 'Display' %> <div class="break"></div> <span class="fielddesc">optional:</span><br/> - <span class="fielddesc">number of lines (1 .. 10)</span> + <span class="fielddesc">display height [1..10]</span> <%= text_field 'no_lines' %><br/> - <span class="fielddesc">min. offset (minutes)</span> + <span class="fielddesc">min. offset [minutes]</span> <%= text_field 'offset' %><br/> - <span class="fielddesc">match lines <sup>1 2</sup></span> + <span class="fielddesc">match line prefix <sup>1</sup></span> <%= text_field 'line' %><br/> <span class="fielddesc">match platform <sup>1</sup></span> <%= text_field 'platform' %><br/> <br/> <sup>1</sup> comma-separated list<br/> - <sup>2</sup> prefix matching<br/> </p> <% end %> |