diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-08-15 00:09:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-08-15 00:09:24 +0200 |
commit | 89adf31327f5526019115c31bddd57e2aa9640e6 (patch) | |
tree | eb0cec5088c36154878ec6931b36be7124cfe872 | |
parent | 4c0dc86a3fd165ae2fa2c48286056c9ea13a2352 (diff) |
cgi/index.pl: Hopefully better HTML
-rw-r--r-- | cgi/index.pl | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/cgi/index.pl b/cgi/index.pl index 96dd488..866f867 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -73,12 +73,29 @@ app->start(); __DATA__ @@ index.html.ep -% title 'DB Fakedisplay'; +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <title>DB Fakedisplay</title> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> +</head> +<body> +<div> +<p> +DB-Fakedisplay displays the next departures at a DB station, just like the big +LC display in the station itself. +</p> + <% if (my $error = stash 'error') { %> Error: <%= $error %><br/> <% } %> <%= form_for index => begin %> - Stop:<br/> + Station name:<br/> <%= text_field 'station' %><br/> <%= submit_button 'Display' %> <% end %> + +</div> +</body> +</html> |