2024-03-30 06:04:17 +08:00
|
|
|
|
<!DOCTYPE html>
|
2024-04-05 07:02:18 +08:00
|
|
|
|
<html lang="zh-CN">
|
2024-03-30 06:04:17 +08:00
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
2024-04-05 07:02:18 +08:00
|
|
|
|
<meta name="viewport" content="width=1080, initial-scale=1.0">
|
|
|
|
|
<title>Liteyuki Stats</title>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
<link rel="stylesheet" href="css/fonts.css">
|
2024-04-05 08:48:51 +08:00
|
|
|
|
|
2024-03-31 06:22:53 +08:00
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
background-repeat: repeat-y;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-image: url('img/bg1.jpg');
|
|
|
|
|
color: white;
|
|
|
|
|
// 上10px,左右10px,下0px
|
2024-04-05 07:02:18 +08:00
|
|
|
|
//margin: 24px;
|
|
|
|
|
margin: 20px;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info-box {
|
2024-04-03 01:03:25 +08:00
|
|
|
|
border-radius: 30px;
|
|
|
|
|
padding: 30px;
|
2024-04-05 10:26:46 +08:00
|
|
|
|
backdrop-filter: blur(60px);
|
2024-03-31 06:22:53 +08:00
|
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
2024-04-05 07:02:18 +08:00
|
|
|
|
margin-bottom: 20px;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
.pie-chart {
|
2024-04-03 01:03:25 +08:00
|
|
|
|
height: 240px;
|
|
|
|
|
width: 240px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
.pie-info {
|
2024-04-03 01:03:25 +08:00
|
|
|
|
margin: 0 40px;
|
|
|
|
|
align-items: center;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
.bot-info {
|
2024-03-31 06:22:53 +08:00
|
|
|
|
align-items: center;
|
2024-04-05 07:02:18 +08:00
|
|
|
|
display: flex;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#hardware-info {
|
|
|
|
|
justify-content: center;
|
|
|
|
|
text-align: center;
|
2024-04-05 07:02:18 +08:00
|
|
|
|
display: flex;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
#disks-info {
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: center;
|
2024-04-05 08:48:51 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#motto-info {
|
2024-04-05 07:02:18 +08:00
|
|
|
|
margin-bottom: 0;
|
2024-04-05 08:48:51 +08:00
|
|
|
|
text-align: center;
|
|
|
|
|
white-space: pre-wrap;
|
2024-04-05 07:02:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bot-icon {
|
2024-03-31 06:22:53 +08:00
|
|
|
|
border-radius: 50%;
|
2024-04-03 01:03:25 +08:00
|
|
|
|
height: 200px;
|
2024-04-05 07:02:18 +08:00
|
|
|
|
background-color: white;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
.bot-name, .bot-tag {
|
2024-03-31 06:22:53 +08:00
|
|
|
|
margin-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
.bot-name {
|
2024-04-03 01:03:25 +08:00
|
|
|
|
font-size: 42px;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
.bot-tag {
|
2024-03-31 06:22:53 +08:00
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.chart-label {
|
2024-04-05 09:32:55 +08:00
|
|
|
|
font-size: 24px;
|
2024-04-03 01:03:25 +08:00
|
|
|
|
max-width: 240px;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tag {
|
2024-04-05 07:02:18 +08:00
|
|
|
|
font-size: 32px;
|
2024-04-05 07:14:35 +08:00
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-style: italic;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
.tag[suffix="1"]::after {
|
|
|
|
|
content: " | ";
|
2024-03-31 06:22:53 +08:00
|
|
|
|
display: inline-block;
|
|
|
|
|
margin: 0 5px;
|
2024-04-02 08:51:34 +08:00
|
|
|
|
height: 50%;
|
|
|
|
|
line-height: 50%;
|
2024-04-05 07:02:18 +08:00
|
|
|
|
color: #ccc;
|
2024-03-31 06:22:53 +08:00
|
|
|
|
}
|
2024-04-05 08:48:51 +08:00
|
|
|
|
|
|
|
|
|
.motto-text {
|
|
|
|
|
font-size: 36px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.motto-author {
|
|
|
|
|
font-size: 30px;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
2024-03-31 06:22:53 +08:00
|
|
|
|
|
|
|
|
|
</style>
|
2024-03-31 07:25:29 +08:00
|
|
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@4.3.0/dist/echarts.min.js"></script>
|
2024-04-05 08:48:51 +08:00
|
|
|
|
|
2024-03-30 06:04:17 +08:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
|
2024-04-05 08:48:51 +08:00
|
|
|
|
|
2024-03-31 06:22:53 +08:00
|
|
|
|
<div class="info-box" id="hardware-info">
|
2024-04-05 07:02:18 +08:00
|
|
|
|
<div class="pie-info" id="cpu-info">
|
|
|
|
|
<div class="pie-chart" id="cpu-chart"></div>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
</div>
|
2024-04-05 07:02:18 +08:00
|
|
|
|
<div class="pie-info" id="mem-info">
|
|
|
|
|
<div class="pie-chart" id="mem-chart"></div>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
</div>
|
2024-04-05 07:02:18 +08:00
|
|
|
|
<div class="pie-info" id="swap-info">
|
|
|
|
|
<div class="pie-chart" id="swap-chart"></div>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
</div>
|
2024-03-30 06:04:17 +08:00
|
|
|
|
</div>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
<div class="info-box" id="disks-info">
|
|
|
|
|
</div>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
|
2024-04-05 08:48:51 +08:00
|
|
|
|
<div class="info-box" id="motto-info">
|
|
|
|
|
</div>
|
|
|
|
|
|
2024-04-05 07:02:18 +08:00
|
|
|
|
<!--储存数据div,不显示-->
|
|
|
|
|
<div id="data" style="display: none">{{ data | tojson }}</div>
|
2024-04-05 08:48:51 +08:00
|
|
|
|
<script src="js/motto.js"></script>
|
|
|
|
|
<script type="text/javascript" src="js/stats.js"></script>
|
2024-03-31 06:22:53 +08:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|