-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (61 loc) · 1.35 KB
/
Copy pathindex.html
File metadata and controls
66 lines (61 loc) · 1.35 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
<!DOCTYPE html5>
<html>
<head>
<link rel="stylesheet" href="style.css">
<title>Home Automation</title>
<style>
.heading-boxed {
background: #eee;
border: 1px solid #ddd;
padding: .5em 1rem;
}
.sub-heading {
color: #999;
font-size: .8em;
font-weight: 500;
}
.sub-heading--stacked {
display: block;
margin-top: .1em;
}
.btn {
border: 2px solid black;
background-color: white;
color: black;
padding: 14px 28px;
font-size: 16px;
cursor: pointer;
}
.info {
border-color: #2196F3;
color: dodgerblue;
}
.info:hover {
background: #2196F3;
color: white;
}
</style>
</head>
<body>
<div class="panel-body">
<h1>Welcome John<span class="sub-heading"> userid 23A0</span></h1>
</div>
<hr>
<marquee>** currently you have 2 month accesss **</marquee>
<br><br>
<br><br>
<center>
<h1>LIGHT</h1>
<br><br>
<button id="lon" onclick="lighton()" class="btn info">Light On</button>
<button id="loff" onclick="lightoff()" class="btn info">Light Off</button>
<br><br><br><br>
<h1>Fan</h1>
<br><br>
<button id="fon" onclick="fanon()" class="btn info">Fan On</button>
<button id="foff" onclick="fanoff()" class="btn info">Fan Off</button>
</center>
<script src="https://www.gstatic.com/firebasejs/7.6.1/firebase.js"></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>