From 1c94dd25adf071ea128ea6df869ca416b7b93ae5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 19 Dec 2013 14:33:06 +0100 Subject: add infoscreen to frontend selector --- cgi/templates/main.html.ep | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cgi/templates/main.html.ep b/cgi/templates/main.html.ep index 3ba93d8..b2fb7ea 100644 --- a/cgi/templates/main.html.ep +++ b/cgi/templates/main.html.ep @@ -88,6 +88,15 @@ id="display" height="<%= $height * 4 %>" width="<%= $width * 4 %>"/> % } +% elsif ($frontend eq 'infoscreen') { +

+Infoscreen for +<%= $city %> <%= $stop %> +

+Preview:
+ +% } % elsif ($frontend eq 'json') {

JSON data for @@ -190,7 +199,7 @@ other German transit networks.

frontend
- %= select_field frontend => [['Image (PNG)' => 'png'], ['HTML' => 'html'], ['JSON' => 'json']] + %= select_field frontend => [['Image (PNG)' => 'png'], ['HTML' => 'html'], ['Infoscreen' => 'infoscreen'], ['JSON' => 'json']]
-- cgit v1.2.3