-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
60 lines (55 loc) · 1.4 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
<html>
<head>
<meta charset="UTF-8">
<title>Door Chime</title>
<script src="https://www.puck-js.com/puck.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.0.2/howler.core.min.js"></script>
<script src="js/main.js"></script>
<!-- <script src="https://raw.githubusercontent.com/ianMcHuge/hugedoorchime.github.io/master/js/main.js"></script> -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
<style>
body {
margin: 0;
padding: 0;
}
button {
border:none;
}
#playBtn {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background-size:contain;
background-repeat: no-repeat;
background-color: #fff;
background-position: 50% 50%;
padding: 20px;
text-indent: -99999px;
}
#connectPuck{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background: #999;
font-size: 40px;
font-family: sans-serif;
text-align: center;
z-index: 10;
}
#connectPuck.connected {
display: none;
}
</style>
</head>
<body>
<h1 id="readOut">Read Out</h1>
<button id="playBtn" type="button" class="">Play();</button>
<button id="connectPuck" type="button" class="">Connect to puck</button>
</body>
</html>