Loading lib/Travelynx/Controller/Traveling.pm +1 −1 Original line number Diff line number Diff line Loading @@ -462,7 +462,7 @@ sub map_history { my @routes; $self->render( template => 'map', template => 'history_map', with_map => 1, station_coordinates => \@station_coordinates, station_pairs => \@station_pairs Loading templates/map.html.ep→templates/_map.html.ep +7 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,13 @@ </div> </div> <div class="row"> <div class="col s12"> <span style="color: #f03;">●</span> Ein-/Ausstiegsstation<br/> <span style="color: #f09;">—</span> Luftlinie zwischen Unterwegshalten </div> </div> <script> var map = L.map('map').setView([51.306, 9.712], 6); Loading templates/history.html.ep +7 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,13 @@ </div> % } <h2>Auswertungen</h2> <div class="row"> <div class="col s12 m12 l12 center-align"> <a href="/history/map" class="waves-effect waves-light btn"><i class="material-icons left">map</i> Fahrtenkarte</a> </div> </div> <h2>Ausfälle und Verspätungen</h2> <div class="row"> <div class="col s12 m12 l5 center-align"> Loading templates/history_map.html.ep 0 → 100644 +7 −0 Original line number Diff line number Diff line <div class="row"> <div class="col s12"> Karte aller bisherigen Zugfahrten: </div> </div> %= include '_map', station_coordinates => $station_coordinates, station_pairs => $station_pairs Loading
lib/Travelynx/Controller/Traveling.pm +1 −1 Original line number Diff line number Diff line Loading @@ -462,7 +462,7 @@ sub map_history { my @routes; $self->render( template => 'map', template => 'history_map', with_map => 1, station_coordinates => \@station_coordinates, station_pairs => \@station_pairs Loading
templates/map.html.ep→templates/_map.html.ep +7 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,13 @@ </div> </div> <div class="row"> <div class="col s12"> <span style="color: #f03;">●</span> Ein-/Ausstiegsstation<br/> <span style="color: #f09;">—</span> Luftlinie zwischen Unterwegshalten </div> </div> <script> var map = L.map('map').setView([51.306, 9.712], 6); Loading
templates/history.html.ep +7 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,13 @@ </div> % } <h2>Auswertungen</h2> <div class="row"> <div class="col s12 m12 l12 center-align"> <a href="/history/map" class="waves-effect waves-light btn"><i class="material-icons left">map</i> Fahrtenkarte</a> </div> </div> <h2>Ausfälle und Verspätungen</h2> <div class="row"> <div class="col s12 m12 l5 center-align"> Loading
templates/history_map.html.ep 0 → 100644 +7 −0 Original line number Diff line number Diff line <div class="row"> <div class="col s12"> Karte aller bisherigen Zugfahrten: </div> </div> %= include '_map', station_coordinates => $station_coordinates, station_pairs => $station_pairs