-
Notifications
You must be signed in to change notification settings - Fork 0
/
graphTempera.html
176 lines (168 loc) · 8.54 KB
/
graphTempera.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
<link rel="stylesheet" href="../client/css/index.css">
<link rel="stylesheet" href="../client/css/graphTempera.css">
<title>Xem biểu đồ</title>
<script type="text/javascript" src="./js/session.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/10.1.0/highcharts.js"></script>
</head>
<body>
<div id="main">
<div id="wrapper-Nav">
<div id="Nav">
<div class="position-sitcky body-logo-wrappe">
<a href="">
<i class="fa-brands fa-qq logo"></i>
</a>
<h4 class="logo-heading"> Ninja school---!</h4>
</div>
<ul class="nav">
<li class="menu-c1">
<span>
<i class="fa-solid fa-house-chimney"></i>
<a href="index.html" class="Nav-heading display-none">Home</a>
</span>
</li>
<li class="menu-c1">
<span>
<i class="fa-solid fa-gamepad"></i>
<p class="Nav-heading display-none">Bảng điều khiển</p>
</span>
<ul class="subnav subnav0">
<li><a href="dashBoard.html">Bảng điều khiển 1</a></li>
<li><a href="dashBoardDevice.html">Bảng điều khiển 2</a></li>
<li><a href="#">Bảng điều khiển 3</a></li>
</ul>
</li>
<li class="menu-c1">
<span>
<i class="fa-solid fa-cloud-sun"></i>
<p class="Nav-heading display-none"> Dự báo thời tiết</p>
</span>
<ul class="subnav subnav1">
<li><a href="weatherforecast.html">Quang 1</a></li>
<li><a href="#">Quang 2</a></li>
<li><a href="#">Quang 3</a></li>
</ul>
</li>
<li class="menu-c1 active boder-right">
<span>
<i class="fa-solid fa-chart-line"></i>
<p class="Nav-heading display-none"> Xem biểu đồ thời tiết</p>
</span>
<ul class="subnav subnav2">
<li><a href="#">Quang 1</a></li>
<li><a href="#">Quang 2</a></li>
<li><a href="#">Quang 3</a></li>
</ul>
</li>
<li class="menu-c1">
<span>
<i class="fa-solid fa-gear"></i>
<p class="Nav-heading display-none"> Cài đặt</p>
</span>
<ul class="subnav3 subnav">
<li><a href="#">Cài đặt kết nối</a></li>
<li><a href="#">Cài đặt tài khoản</a></li>
</ul>
</li>
<li class="menu-c1">
<span>
<i class="fa-solid fa-circle-question"></i>
<p class="Nav-heading display-none">Trợ giúp & hỗ trợ</p>
</span>
<ul class="subnav4 subnav">
<li><a href="#">Trung tâm trợ giúp</a></li>
<li><a href="#">Hộp thư hỗ trợ</a></li>
<li><a href="#">Báo cáo sự cố</a></li>
</ul>
</li>
<li class="menu-c1">
<span>
<i class="fas fa-envelope-open-text"></i>
<p class="Nav-heading display-none">Đóng góp ý kiến</p>
</span>
</li>
<li class="menu-c1">
<span>
<i class="fa-solid fa-right-from-bracket"></i>
<a href="#" class="Nav-heading display-none log-out">Đăng xuất</a>
</span>
</li>
</ul>
</div>
<div id="wrapper-body">
<div id="head" class="position-sitcky">
<span id="btn-menu">
<i class="fa-solid fa-bars"></i>
</span>
<div class="head-search">
<div class="search-icon"><i class="fa-solid fa-magnifying-glass"></i></div>
<input type="text" id="fname" name="fname" placeholder=" Tìm kiếm...."><br><br>
</div>
<span class="sub-head">
<span class="head-icon">
<i class="fa-solid fa-sun"></i>
<i class="fa-solid fa-bell"></i>
</span>
<div class="account" ><a class="btn-login" href="login.html">Đăng nhập</a></div>
</span>
</div>
<!-- Begin Content -->
<div id="content">
<div id="content-heading">
<h3>Biểu đồ nhiệt độ / độ ẩm</h3>
</div>
<div id="body">
<form action="readSensor">
<div class="select-mode">
<div class="main-mode">
<label for="browser">Chọn kiểu xem:</label>
<select name="" id="select-mode">
<option value="">--Chọn--</option>
<option value="day">Theo ngày</option>
<option value="month">Theo tháng</option>
<option value="elective"> Trong khoảng</option>
</select>
</div>
<div class="extra-mode">
<div id="day" class="display-none">
<input name="day" type="date">
</div>
<div id="month" class="display-none">
<input type="month" id="month" name="month" >
</div>
<div id="elective" class="display-none">
<label for=""> Từ ngày : </label>
<input type="date" id="elective" name="elective"> <br/>
<label for=""> đến ngày: </label>
<input type="date" id="elective2" name="elective2">
</div>
</div>
<div class="mess"></div>
</div>
</form>
<button name="see-submit" value="Xem" class="see-submit"> Xem</button>
<div class="clear"></div>
</div>
<div class="charting-notice"></div>
<figure class="highcharts-figure">
<div id="container"></div>
<p class="highcharts-description">
</p>
</figure>
</div>
</div>
<!-- End Content -->
</div>
</div>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/seeGraph.js"></script>
</body>
</html>