mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-22 22:37:37 +08:00
commit
551ca06ea7
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,6 +3,8 @@
|
||||
.vscode/
|
||||
.cache/
|
||||
|
||||
venv/
|
||||
|
||||
node_modules/
|
||||
data/
|
||||
db/
|
||||
|
@ -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);
|
||||
|
@ -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");
|
||||
|
@ -83,7 +83,7 @@
|
||||
<script src="./js/card.js"></script>
|
||||
|
||||
<div class="attribution-box">
|
||||
<div class="attribution-info"></div>
|
||||
<div id="attribution-info"></div>
|
||||
</div>
|
||||
|
||||
<script src="./js/weather_now.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user