From 795136d8682767d4fc7afdee9af4ec6643c45e97 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 13 Jul 2022 21:35:59 +0200 Subject: increase clickable area in destination selection --- templates/_checked_in.html.ep | 70 ++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 38 deletions(-) (limited to 'templates') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 2c37bbc..442dec4 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -210,23 +210,22 @@ % } % elsif (not $journey->{arr_name}) {

Ziel wählen:

- - - % for my $station (@{$journey->{route_after}}) { - - % } - -
<%= $station->[0] %> - % if ($station->[2] and $station->[2] eq 'cancelled') { - entfällt - % } - % elsif ($station->[1]{rt_arr}) { - <%= $station->[1]{rt_arr}->strftime('%H:%M') %> - % } - % elsif ($station->[2] and $station->[2] eq 'additional') { - Zusatzhalt - % } -
+

+ % for my $station (@{$journey->{route_after}}) { + + <%= $station->[0] %> + % if ($station->[2] and $station->[2] eq 'cancelled') { + entfällt + % } + % elsif ($station->[1]{rt_arr}) { + <%= $station->[1]{rt_arr}->strftime('%H:%M') %> + % } + % elsif ($station->[2] and $station->[2] eq 'additional') { + Zusatzhalt + % } + + % } +

% }
@@ -311,28 +310,23 @@
Ziel ändern? - - - % for my $station (@{$journey->{route_after}}) { - % my $is_dest = ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}); - +

+ % for my $station (@{$journey->{route_after}}) { + % my $is_dest = ($journey->{arr_name} and $station->[0] eq $journey->{arr_name}); + + <%= $station->[0] %> + % if ($station->[2] and $station->[2] eq 'cancelled') { + entfällt % } -

-
- % if ($user->{sb_template}) { - info - % } - <%= $station->[0] %> - % if ($station->[2] and $station->[2] eq 'cancelled') { - entfällt - % } - % elsif ($station->[1]{rt_arr}) { - <%= $station->[1]{rt_arr}->strftime('%H:%M') %> - % } - % elsif ($station->[2] and $station->[2] eq 'additional') { - Zusatzhalt - % } -
+ % elsif ($station->[1]{rt_arr}) { + <%= $station->[1]{rt_arr}->strftime('%H:%M') %> + % } + % elsif ($station->[2] and $station->[2] eq 'additional') { + Zusatzhalt + % } + + % } +

Falls das Backend ausgefallen ist oder der Zug aus anderen Gründen verloren ging: