From b9e6f97704f219837270910f159692f2bbe18608 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 30 Oct 2011 11:32:08 +0100 Subject: cgi: Improve description --- cgi/index.pl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/cgi/index.pl b/cgi/index.pl index dd12186..d2c5217 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -77,9 +77,7 @@ sub render_image { my $dt_now = DateTime->now(time_zone => 'Europe/Berlin'); - my $color = $self->param('color') || '255,150,0'; - my $width = $self->param('width') || 180; - my $height = $self->param('height') || 50; + my $color = $self->param('color') || '255,208,0'; my (@grep_line, @grep_platform); @@ -217,8 +215,13 @@ id="display" height="<%= $height * 4 %>" width="<%= $width * 4 %>"/> % else {

-DB-Fakedisplay displays the next departures at a DB station, just like the big -LC display in the station itself. +VRR-Fakedisplay shows the next departures at a public transit stop, just like +the Lumino LED displays used at some stops. +

+ +

+It was written for the VRR (Verkehrsverbund Rhein-Ruhr), but supports most other +local transit networks as well.

% } @@ -233,7 +236,7 @@ LC display in the station itself. <%= form_for _redirect => begin %>

- Station name: + City -> Stop: <%= text_field 'city' %> <%= text_field 'stop' %> <%= submit_button 'Display' %> @@ -243,7 +246,7 @@ LC display in the station itself.

-db-fakedisplay +vrr-fakedisplay v<%= $version %>
-- cgit v1.2.3