You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.5 KiB
HTML

7 months ago
<!doctype html>
<html>
<head>
<title>digitwin dashboard</title>
7 months ago
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="img/favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet">
<script src='socket.io/socket.io.js'></script>
7 months ago
</head>
<body>
<h1>~* *..* sensor dashboard ~</h1>
<br><br>
7 months ago
<div class="wrapper">
<div class="flex-container">
<!-- 16 divs -->
<div>
<p class="data">
<br>
module name: wire::;;
<br>
temperature: 26 degrees
<br>
</p>
</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>7</div>
<div>8</div>
<div>9</div>
<div>10</div>
<div>11</div>
<div>12</div>
<div>13</div>
<div>14</div>
<div>15</div>
<div>16</div>
</div>
7 months ago
</div>
7 months ago
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
</body>
<script>
7 months ago
socket.on('node-data', function(data) {
console.log(data);
// Split the data into separate parts
const [node, value] = data.split(' ');
})
7 months ago
</script>
<script type="text/javascript" src="js/input.js"></script>
</html>