summaryrefslogtreecommitdiff
path: root/cgi/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-15 00:09:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-15 00:09:24 +0200
commit89adf31327f5526019115c31bddd57e2aa9640e6 (patch)
treeeb0cec5088c36154878ec6931b36be7124cfe872 /cgi/index.pl
parent4c0dc86a3fd165ae2fa2c48286056c9ea13a2352 (diff)
cgi/index.pl: Hopefully better HTML
Diffstat (limited to 'cgi/index.pl')
-rw-r--r--cgi/index.pl21
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>