Loading public/static/js/geolocation.js +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ $(document).ready(function() { } }; const geoLocationButton = $('div.geolocation > button'); const geoLocationButton = $('div.geolocation > .request'); const recentStops = geoLocationButton.data('recent'); const getGeoLocation = function() { geoLocationButton.replaceWith($('<p class="geolocationhint">Stationen in der Umgebung:</p><div class="progress"><div class="indeterminate"></div></div>')); Loading templates/landingpage.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ <span class="card-title">Hallo, <%= $user->{name} %>!</span> <p>Du bist gerade nicht eingecheckt.</p> <div class="geolocation" data-recent="<%= join('|', map { $_->{eva} . ';' . $_->{name} . ';' . $_->{hafas} } @{stash('recent_targets') // []} ) %>" data-backend="<%= $user->{backend_id} %>"> <button class="btn waves-effect waves-light btn-flat">Stationen in der Umgebung abfragen</button> <a class="btn waves-effect waves-light btn-flat request">Stationen in der Umgebung abfragen</a> </div> <div class="input-field"> %= text_field 'station', id => 'station', class => 'autocomplete contrast-color-text', autocomplete => 'off', required => undef Loading Loading
public/static/js/geolocation.js +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ $(document).ready(function() { } }; const geoLocationButton = $('div.geolocation > button'); const geoLocationButton = $('div.geolocation > .request'); const recentStops = geoLocationButton.data('recent'); const getGeoLocation = function() { geoLocationButton.replaceWith($('<p class="geolocationhint">Stationen in der Umgebung:</p><div class="progress"><div class="indeterminate"></div></div>')); Loading
templates/landingpage.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ <span class="card-title">Hallo, <%= $user->{name} %>!</span> <p>Du bist gerade nicht eingecheckt.</p> <div class="geolocation" data-recent="<%= join('|', map { $_->{eva} . ';' . $_->{name} . ';' . $_->{hafas} } @{stash('recent_targets') // []} ) %>" data-backend="<%= $user->{backend_id} %>"> <button class="btn waves-effect waves-light btn-flat">Stationen in der Umgebung abfragen</button> <a class="btn waves-effect waves-light btn-flat request">Stationen in der Umgebung abfragen</a> </div> <div class="input-field"> %= text_field 'station', id => 'station', class => 'autocomplete contrast-color-text', autocomplete => 'off', required => undef Loading