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.
54 lines
1.4 KiB
HTML
54 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>digitwin dashboard</title>
|
|
<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>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>~* *..* sensor dashboard ~</h1>
|
|
<br><br>
|
|
<div class="wrapper">
|
|
<div class="flex-container">
|
|
<!-- 16 divs -->
|
|
<div>1</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>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
|
</body>
|
|
|
|
<script>
|
|
|
|
socket.on('node-data', function(data) {
|
|
console.log(data);
|
|
|
|
// Split the data into separate parts
|
|
const [node, value] = data.split(' ');
|
|
|
|
})
|
|
|
|
</script>
|
|
<script type="text/javascript" src="js/input.js"></script>
|
|
</html>
|