-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (80 loc) · 1.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dummy_Device</title>
<script src="js/iottalkjs-web.js"></script>
<script src="js/sa.js"></script>
<style>
div.title {
display: block;
margin-left: 100px;
padding:30px 10px 0px;
width: 80%;
}
table {
table-layout: fixed;
font-family: arial, sans-serif;
border-collapse: collapse;
width: 80%;
}
td, th {
border: 1px solid #ABB2B9;
text-align: left;
padding: 8px;
}
th {
background-color: #dddddd;
}
* {
box-sizing: border-box;
}
col.timestamp {
width: 30%;
}
col.value {
width: 70%;
}
.row {
display: flex;
}
/* Create two equal columns that sits next to each other */
.column {
flex: 50%;
padding: 10px;
}
</style>
</head>
<body>
<div class="title">
<h2 id="deviceName"></h2>
</div>
<div class="row">
<div class="column" style="margin-left:100px">
<h3>DummySensor_I</h3>
<table id="dummySensor">
<colgroup>
<col class="timestamp"/>
<col class="value"/>
</colgroup>
<tr>
<th>Timestamp</th>
<th>Value</th>
</tr>
</table>
</div>
<div class="column">
<h3>DummyControl_O</h3>
<table id="dummyControl">
<colgroup>
<col class="timestamp"/>
<col class="value"/>
</colgroup>
<tr>
<th>Timestamp</th>
<th>Value</th>
</tr>
</table>
</div>
</div>
</body>
</html>