summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/landingpage.html.ep12
-rw-r--r--templates/layouts/default.html.ep2
2 files changed, 13 insertions, 1 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index ece52df..fe3cd52 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -34,6 +34,18 @@
<div class="geolocation">
<div class="progress"><div class="indeterminate"></div></div>
</div>
+ %= form_for 'list_departures' => begin
+ <div class="input-field text-white">
+ %= text_field 'station', id => 'station', class => 'white-text', require => undef
+ <label for="station">Manuelle Eingabe (Name oder DS100)</label>
+ </div>
+ <div class="center-align">
+ <button class="btn waves-effect waves-light btn-flat white" type="submit" name="action" value="departures">
+ <i class="material-icons left">send</i>
+ Abfahrten
+ </button>
+ </div>
+ %= end
</div>
</div>
% }
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 90af0a4..36995ba 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#673ab7">
- % my $av = 'v2'; # asset version
+ % my $av = 'v3'; # asset version
%= stylesheet "/static/${av}/css/materialize.min.css"
%= stylesheet "/static/${av}/css/material-icons.css"
%= stylesheet "/static/${av}/css/local.css"