2019-11-16 14:57:09 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col s12">
|
2019-11-16 22:47:18 +00:00
|
|
|
% if (@{$station_coordinates}) {
|
2019-11-24 19:29:52 +00:00
|
|
|
Alle bisherigen Zugfahrten
|
2019-11-16 22:47:18 +00:00
|
|
|
% }
|
|
|
|
% else {
|
|
|
|
Keine Zugfahrten gefunden.
|
|
|
|
% }
|
2019-11-16 14:57:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-25 13:41:33 +00:00
|
|
|
%= include '_map', station_coordinates => $station_coordinates, polyline_groups => $polyline_groups
|
2019-11-27 17:26:15 +00:00
|
|
|
|
|
|
|
%= form_for '/history/map' => (method => 'POST') => begin
|
|
|
|
%= csrf_field
|
|
|
|
<div class="row">
|
|
|
|
<div class="input-field col s12">
|
|
|
|
<label>
|
|
|
|
%= check_box include_manual => 1
|
|
|
|
<span>Manuelle Einträge ohne Unterwegshalte mitberücksichtigen</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2019-11-18 16:33:15 +00:00
|
|
|
</div>
|
2019-11-27 17:26:15 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col s12 center-align">
|
|
|
|
<button class="btn wave-effect waves-light" type="submit" name="action" value="go">
|
|
|
|
Anzeigen
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
%= end
|
2020-01-25 13:55:51 +00:00
|
|
|
|
|
|
|
% if (@{$skipped_journeys // []}) {
|
|
|
|
<div class="row">
|
|
|
|
<div class="col s12">
|
|
|
|
<p>
|
|
|
|
Die folgenden Zugfahrten wurden nicht eingezeichnet:
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<ul>
|
|
|
|
% for my $pair (@{$skipped_journeys}) {
|
|
|
|
% my ($journey, $reason) = @{$pair};
|
|
|
|
<li><a href="/journey/<%= $journey->{id} %>"><%= $journey->{type} %> <%= $journey->{no} %> <%= $journey->{from_name} %> → <%= $journey->{to_name} %></a>: <%= $reason %></li>
|
|
|
|
% }
|
|
|
|
</ul>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
% }
|