-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (35 loc) · 1.47 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
<!DOCTYPE html>
<!--[if IE]><html class="ie"><![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html class="not-ie"><!--<![endif]-->
<head>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>RMM Lights</title>
<script type="text/javascript" src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="script.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<section id="instructions">
Use this page to toggle the lights in the RMM main room. This will only
work if you're connected to the RMM wifi network.
</section>
<section id="status-container">
The lights are currently <strong id="status">loading</strong>.
</section>
<section id="controls">
<button class="control" data-route="/toggle">Toggle the lights</button>
<button class="control" data-route="/on">Turn the lights <strong>on</strong></button>
<button class="control" data-route="/off">Turn the lights <strong>off</strong></button>
</section>
<section id="error">
It appears that you are not connected to the RMM wifi network. Or maybe
something else went wrong.
<span style="white-space: nowrap;">¯\_(ツ)_/¯</span>
</section>
<section id="footer">
See the
<a href="http://wiki.redmountainmakers.org/wiki/Project:Lights">project's wiki page</a>
for more information.
</section>
</body>
</html>