diff --git a/wetter/static/wetter/css/wetter.css b/wetter/static/wetter/css/wetter.css index 506919d..09af4a7 100644 --- a/wetter/static/wetter/css/wetter.css +++ b/wetter/static/wetter/css/wetter.css @@ -74,6 +74,11 @@ footer a { background-color: rgba(0, 0, 0, 0.5); } +/* Leaflet fixes*/ .leaflet-top, .leaflet-bottom { z-index: 900 !important; } + +.leaflet-container a.btn { + color: #fff; +} diff --git a/wetter/templates/index.html b/wetter/templates/index.html index c5b4387..428cea6 100644 --- a/wetter/templates/index.html +++ b/wetter/templates/index.html @@ -47,7 +47,7 @@ mymap.setView([stations[0]["lat"], stations[0]["lon"]], 6); } stations.forEach((station, i, j) => { - L.marker([station["lat"], station["lon"]]).addTo(mymap).bindPopup("

" + station["name"] + "

Mehr"); + L.marker([station["lat"], station["lon"]]).addTo(mymap).bindPopup("

" + station["name"] + "

Export Info"); }) }); diff --git a/wetter/templates/station.html b/wetter/templates/station.html index 01dcf3d..5a14c0a 100644 --- a/wetter/templates/station.html +++ b/wetter/templates/station.html @@ -73,7 +73,7 @@ mymap.setView([stations[0]["lat"], stations[0]["lon"]], 6); } stations.forEach((station, i, j) => { - L.marker([station["lat"], station["lon"]]).addTo(mymap).bindPopup("

" + station["name"] + "

Mehr"); + L.marker([station["lat"], station["lon"]]).addTo(mymap); }) });