From ceef0eda607c16844043be2477bf0da5abf9aec4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 3 Sep 2013 18:51:01 +0200 Subject: add experimental HTML frontend --- cgi/templates/main.html.ep | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cgi/templates/main.html.ep') diff --git a/cgi/templates/main.html.ep b/cgi/templates/main.html.ep index 6686ff6..821824a 100644 --- a/cgi/templates/main.html.ep +++ b/cgi/templates/main.html.ep @@ -9,6 +9,10 @@ font-family: Sans-Serif; } + iframe { + border: none; + } + div.about { margin-top: 2em; color: #666666; @@ -57,9 +61,15 @@ % if ($city and $stop) { +% if ($frontend eq 'png') { % } +% elsif ($frontend eq 'html') { + +% } +% } % else {

@@ -116,6 +126,10 @@ other German transit networks.

backend
<%= select_field backend => [['EFA (VRR)' => 'vrr'], ['HAFAS (DB)' => 'db']] %>
+
+
frontend
+
<%= select_field frontend => [['Image (PNG)' => 'png'], ['HTML' => 'html']] %>
+
<% end %> -- cgit v1.2.3