-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsensor.php
More file actions
67 lines (48 loc) · 1.87 KB
/
Copy pathsensor.php
File metadata and controls
67 lines (48 loc) · 1.87 KB
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
<?php
session_start();
include 'validateSesh.php';
?>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,900" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:100,300,400" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet">
<link rel="stylesheet" href="css/sensor.css">
<title>Home</title>
<style>
</style>
<script src="Js/sensor.js"></script>
</head>
<body>
<?php include 'nav.php';?>
<section>
<div class="img-by-txt">
<div>
<h2 id="header-impact">Hello <?php echo($_SESSION['username']);?> </h2>
<p id="header-text">Check the status of your sensors. We use the output of a sensor to determine if something is likely wrong. If a sensor test fails, we advise that you go
and check on your garden. To run the test, simply click the button that says "Check Sensors".
</p>
</div>
<div>
<img id="contentimg" src="image/soilMst.jpg">
</div>
</div>
</section>
<section id="post-header">
<h2 class="centerHeader">Sensor Status</h2>
<div class="contentText">
<h3 id="temp">Temp:</h3>
<h3 id = "hum">Humid:</h3>
<h3 id = "uv">UV:</h3>
<input type="submit" onclick="sCheck();" value='Check Sensors' >
</div>
</div>
</section>
<footer>
<p>contact:iscottgrogin@student.csulb.edu</p>
</footer>
</body>
</html>