sensor-dashboard/index.html

42 lines
934 B
HTML
Raw Permalink Normal View History

2023-09-27 09:14:27 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Sensor dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./uPlot.min.css">
<link rel="shortcut icon" href="./favicon.ico">
<style>
body {
padding: 0;
margin: 0;
overflow-x: hidden;
}
#buttons {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
button {
2023-10-14 10:47:22 +00:00
padding: 0.4em;
margin: 0.65em;
2023-09-27 09:14:27 +00:00
font-size: x-large;
}
</style>
</head>
<body>
<div id="plot"></div>
<div id="buttons" style="display: none">
2023-10-14 10:47:22 +00:00
<button id="h12">12 hours</button>
2023-09-27 09:14:27 +00:00
<button id="day">24 hours</button>
<button id="week">7 days</button>
<button id="all">all data</button>
</div>
<script src="./uPlot.iife.min.js"></script>
<script src="./papaparse.js"></script>
<script src="./base.js"></script>
</body>
</html>