-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (52 loc) · 1.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri App</title>
<script type="module" src="/src/main.ts" defer></script>
<style>
html,
body {
margin: 0;
height: 100%;
width: 100%;
border-radius: 14px;
box-sizing: border-box;
background-image: url(./src/assets/bg.png);
color: #d6e4f7;
}
body {
padding: 10px;
}
.container {
width: 100%;
height: 100%;
font-size: 14px;
display: flex;
flex-direction: column;
justify-content: space-around;
cursor: move;
}
#sys-info span:first-child {
font-weight: bold;
}
</style>
</head>
<body>
<div class="container">
<div id="sys-info">
<span>CPU:</span>
<span id="cpu-usage"></span>
</div>
<div id="sys-info">
<span>内存:</span>
<span id="memory-usage"></span>
</div>
<div id="sys-info">
<span>网速:</span>
<span id="network-usage"></span>
</div>
</div>
</body>
</html>