Update & Fix

- update deps.
- splash support dark bg
- fix parse cpu temp
This commit is contained in:
Junyuan Feng
2022-05-04 19:44:13 +08:00
parent 52b82af52c
commit 2a0cc5ca30
27 changed files with 189 additions and 74 deletions

7
web/splash/splash.js Normal file
View File

@@ -0,0 +1,7 @@
function removeSplashFromWeb() {
const elem = document.getElementById("splash");
if (elem) {
elem.remove();
}
document.body.style.background = "transparent";
}

View File

@@ -1,4 +1,4 @@
body, html {
body {
margin:0;
height:100%;
background: #ffffff;
@@ -36,7 +36,7 @@ body, html {
body {
margin:0;
height:100%;
background: #ffffff;
background: #042a49;
background-size: 100% 100%;
}