summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-10-31 09:53:51 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-10-31 09:53:51 +0100
commit884d75a509c4f0d0f91d691994929e9e84cec618 (patch)
tree736ea85db88feac98f08a50ca9d514c5add80569
parentf705b2f96785ef462cacb15cb1bc2ab35055d6cc (diff)
cgi: Add via field to form
-rw-r--r--cgi/index.pl20
1 files changed, 19 insertions, 1 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index e1cbbbe..1a0c7cf 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -106,6 +106,10 @@ __DATA__
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<style type="text/css">
+ html {
+ font-family: Sans-Serif;
+ }
+
div.outer {
border: 0.2em solid #000066;
width: 55em;
@@ -188,6 +192,16 @@ __DATA__
color: #000066;
}
+ span.fielddesc {
+ display: block;
+ float: left;
+ width: 10em;
+ text-align: right;
+ padding-right: 0.5em;
+ }
+
+ span.
+
</style>
</head>
<body>
@@ -257,8 +271,12 @@ LC display in the station itself.
<%= form_for _redirect => begin %>
<p>
- Station name:
+ <span class="fielddesc">Station name</span>
<%= text_field 'station' %>
+ <br/>
+ <span class="fielddesc fieldoptional">only display routes via</span>
+ <%= text_field 'via' %>
+ (optional)
<%= submit_button 'Display' %>
</p>
<% end %>