From 6c37dec8ed54a987acb6665fb6525a39fc6ca5da Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 10 May 2016 12:21:32 +0200 Subject: geolocation playground --- templates/geolocation.html.ep | 2 ++ templates/layouts/default.html.ep | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 templates/geolocation.html.ep (limited to 'templates') diff --git a/templates/geolocation.html.ep b/templates/geolocation.html.ep new file mode 100644 index 0000000..a0667db --- /dev/null +++ b/templates/geolocation.html.ep @@ -0,0 +1,2 @@ +
Nächstgelegene Stationen:
+
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 9348852..f57ceab 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -20,6 +20,9 @@ %= javascript begin $(function () { $('marquee').marquee() }); % end + % if (stash('with_geolocation')) { + %= javascript '/static/geolocation.js' + % } @@ -59,6 +62,9 @@ on 2015-01-02 at 07:00 CET.

Alle Angaben ohne Gewähr.

+ % } -- cgit v1.2.3