From b41a3523b369d178d3be23357ae9951e700cd821 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 27 Dec 2023 12:33:48 +0100 Subject: remove legacy map search / intersection views --- templates/_intersection_infobox.html.ep | 22 ---------------------- templates/route_map.html.ep | 3 --- templates/trainsearch.html.ep | 29 ----------------------------- 3 files changed, 54 deletions(-) delete mode 100644 templates/_intersection_infobox.html.ep delete mode 100644 templates/trainsearch.html.ep (limited to 'templates') diff --git a/templates/_intersection_infobox.html.ep b/templates/_intersection_infobox.html.ep deleted file mode 100644 index cb27d19..0000000 --- a/templates/_intersection_infobox.html.ep +++ /dev/null @@ -1,22 +0,0 @@ -
-
- <%= stash('train1_no') %> - und - <%= stash('train2_no') %> - werden sich wahrscheinlich - % if (my $t = stash('time')) { - gegen <%= $t->strftime('%H:%M') %> Uhr - % } - % if (my $p = stash('likely_pair')) { - zwischen <%= $p->[0] %> und <%= $p->[1] %> - % } - % if (not stash('time')) { - nicht - % } - begegnen. -
-
diff --git a/templates/route_map.html.ep b/templates/route_map.html.ep index 2822b6c..502b7fd 100644 --- a/templates/route_map.html.ep +++ b/templates/route_map.html.ep @@ -1,9 +1,6 @@ % if (stash('origin') and stash('destination')) { %= include '_map_infobox' % } -% elsif (stash('intersection')) { - %= include '_intersection_infobox' -% }
diff --git a/templates/trainsearch.html.ep b/templates/trainsearch.html.ep deleted file mode 100644 index 5d6d3f9..0000000 --- a/templates/trainsearch.html.ep +++ /dev/null @@ -1,29 +0,0 @@ -
-
- %= form_for _trainsearch => begin -
-
-
Zug
-
- %= text_field 'train1', placeholder => 'RE 1234', id => 'train1_input', autofocus => 'autofocus' -
-
-
- %= submit_button 'Strecke zeigen' -
-
-
-
- Zweiter Zug (optional) -
-
- %= text_field 'train2', placeholder => 'S 5678', id => 'train2_input' -
-
-
- %= submit_button 'Begegnungen suchen (beta)' -
-
- % end -
-
-- cgit v1.2.3