From 6b7f19880ba5bbcc0632b457404f102c9deac462 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 9 Feb 2013 23:04:24 +0100 Subject: move templates from DATA section to separate files --- cgi/templates/layouts/default.html.ep | 223 ++++++++++++++++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 cgi/templates/layouts/default.html.ep (limited to 'cgi/templates/layouts/default.html.ep') diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep new file mode 100644 index 0000000..8d4db7c --- /dev/null +++ b/cgi/templates/layouts/default.html.ep @@ -0,0 +1,223 @@ + + + + <%= $title %> + + + + + +<%= content %> + +
+ +<% if (my $error = stash 'error') { %> +

+ Error: <%= $error %>
+

+<% } %> + +<%= form_for _redirect => begin %> +

+ Station name + <%= text_field 'station' %> +
+ only display routes via + <%= text_field 'via' %> + (optional) +
+ on platforms + <%= text_field 'platforms' %> + (optional) +
+ display type + <%= select_field mode => [['combined' => 'multi'], ['platform' => 'single']] %> + <%= submit_button 'Display' %> +

+<% end %> + +
+ +
+db-fakedisplay +v<%= $version %> +
+ + + -- cgit v1.2.3