portal/web/stat.html

33 lines
619 B
HTML
Raw Normal View History

2023-03-11 08:54:24 -07:00
<!DOCTYPE html>
<html>
<head>
2023-03-11 13:49:39 -07:00
<title>CPU Stats</title>
2023-03-11 08:54:24 -07:00
<meta charset="utf-8">
2023-03-11 13:49:39 -07:00
<link rel="icon" href="portal.png">
2023-03-11 08:54:24 -07:00
<script src="stat.mjs" type="module"></script>
<style>
html, body {
margin: 0;
2024-01-12 14:00:48 -07:00
overflow: clip;
}
#pie canvas {
2023-03-11 16:51:15 -07:00
max-width: 20vw;
max-height: 20vh;
2023-03-11 08:54:24 -07:00
position: absolute;
2023-03-11 16:51:15 -07:00
opacity: 90%;
2024-01-12 14:00:48 -07:00
top: 10px;
left: 10px;
}
#area canvas {
width: 100vw;
height: 99vh;
2023-03-11 08:54:24 -07:00
}
</style>
</head>
<body data-autostat>
<div id="pie" class="pie chart"></div>
<div id="area" class="area chart"></div>
2023-03-11 08:54:24 -07:00
</body>
</html>