diff --git a/.gitignore b/.gitignore index a80db66f..67716fee 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ .vscode/ .cache/ +venv/ + node_modules/ data/ db/ diff --git a/src/resources/liteyuki_weather/templates/css/weather_now.css b/src/resources/liteyuki_weather/templates/css/weather_now.css index c8d83d2a..dd1f4298 100644 --- a/src/resources/liteyuki_weather/templates/css/weather_now.css +++ b/src/resources/liteyuki_weather/templates/css/weather_now.css @@ -227,7 +227,7 @@ justify-content: center; } -.attribution-info { +#attribution-info { backdrop-filter: blur(10px); padding: 0 5px 0; background-color: rgba(0, 0, 0, 0.5); diff --git a/src/resources/liteyuki_weather/templates/js/weather_now.js b/src/resources/liteyuki_weather/templates/js/weather_now.js index d822caec..3dc87a23 100644 --- a/src/resources/liteyuki_weather/templates/js/weather_now.js +++ b/src/resources/liteyuki_weather/templates/js/weather_now.js @@ -178,7 +178,6 @@ function get_time_hour(fxTime) { return fxTime.split("T")[1].split("+")[0] } -let attrinfo = document.getElementById('attribution-info'); -if (!is_dev & !attr) attrinfo.parentElement.style.display = "none" -attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather") +let attrinfo = document.getElementById('attribution-info'); +attrinfo.innerText = is_dev ? "Weather Service Drived by QWeather" : (attr ? attr : "Weather Service Drived by QWeather"); diff --git a/src/resources/liteyuki_weather/templates/weather_now.html b/src/resources/liteyuki_weather/templates/weather_now.html index 6d0f9154..3cb2de7c 100644 --- a/src/resources/liteyuki_weather/templates/weather_now.html +++ b/src/resources/liteyuki_weather/templates/weather_now.html @@ -83,7 +83,7 @@
-
+