From 733fe2d853cc2aa4f759d2454171e17409551dfb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 16 Nov 2019 15:57:09 +0100 Subject: map: add legend, link to history map from history page --- templates/_map.html.ep | 48 +++++++++++++++++++++++++++++++++++++++++++ templates/history.html.ep | 7 +++++++ templates/history_map.html.ep | 7 +++++++ templates/map.html.ep | 41 ------------------------------------ 4 files changed, 62 insertions(+), 41 deletions(-) create mode 100644 templates/_map.html.ep create mode 100644 templates/history_map.html.ep delete mode 100644 templates/map.html.ep (limited to 'templates') diff --git a/templates/_map.html.ep b/templates/_map.html.ep new file mode 100644 index 0000000..cceec01 --- /dev/null +++ b/templates/_map.html.ep @@ -0,0 +1,48 @@ +
+
+
+
+
+
+ +
+
+ Ein-/Ausstiegsstation
+ Luftlinie zwischen Unterwegshalten +
+
+ + diff --git a/templates/history.html.ep b/templates/history.html.ep index 607a356..93fa9f7 100644 --- a/templates/history.html.ep +++ b/templates/history.html.ep @@ -27,6 +27,13 @@ % } +

Auswertungen

+
+ +
+

Ausfälle und Verspätungen

diff --git a/templates/history_map.html.ep b/templates/history_map.html.ep new file mode 100644 index 0000000..808b033 --- /dev/null +++ b/templates/history_map.html.ep @@ -0,0 +1,7 @@ +
+
+ Karte aller bisherigen Zugfahrten: +
+
+ +%= include '_map', station_coordinates => $station_coordinates, station_pairs => $station_pairs diff --git a/templates/map.html.ep b/templates/map.html.ep deleted file mode 100644 index 707b28e..0000000 --- a/templates/map.html.ep +++ /dev/null @@ -1,41 +0,0 @@ -
-
-
-
-
-
- - -- cgit v1.2.3