mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-27 05:15:03 +08:00
commit
551ca06ea7
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,6 +3,8 @@
|
|||||||
.vscode/
|
.vscode/
|
||||||
.cache/
|
.cache/
|
||||||
|
|
||||||
|
venv/
|
||||||
|
|
||||||
node_modules/
|
node_modules/
|
||||||
data/
|
data/
|
||||||
db/
|
db/
|
||||||
|
@ -227,7 +227,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attribution-info {
|
#attribution-info {
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
padding: 0 5px 0;
|
padding: 0 5px 0;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
@ -178,7 +178,6 @@ function get_time_hour(fxTime) {
|
|||||||
return fxTime.split("T")[1].split("+")[0]
|
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>
|
<script src="./js/card.js"></script>
|
||||||
|
|
||||||
<div class="attribution-box">
|
<div class="attribution-box">
|
||||||
<div class="attribution-info"></div>
|
<div id="attribution-info"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="./js/weather_now.js"></script>
|
<script src="./js/weather_now.js"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user