-
Notifications
You must be signed in to change notification settings - Fork 3
/
swarmlight.html
114 lines (94 loc) · 3.64 KB
/
swarmlight.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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<script src="http://cdn.buglabs.net/swarm/swarm-v0.3.0.js" type=
"text/javascript">
</script>
<title>BUGswarm Developers</title>
<link rel="stylesheet" href="bootstrap/bootstrap.css" type=
"text/css">
<link rel="stylesheet" href="css/this.css" type="text/css">
<link rel="stylesheet" href=
"js/google-code-prettify/prettify.css" type="text/css">
<script src="http://code.jquery.com/jquery-1.5.2.js" type=
"text/javascript">
</script>
<script src="js/google-code-prettify/prettify.js" type=
"text/javascript">
</script>
<script src="js/application.js" type="text/javascript">
</script>
<script src="js/google-analytics.js" type="text/javascript">
</script>
</head>
<body>
<!-- NAVIGATION-->
<div class="topbar">
<div class="topbar-inner">
<div class="container">
<h3><a id="banner" href="index.html" name=
"banner"><img src="images/bs_logo.png"></a></h3>
<ul class="nav">
<li class="dropdown nav-dropdown">
<a href="documentation.html" class=
"dropdown-toggle">Documentation</a>
<ul class="dropdown-menu">
<li><a href=
"configuration_api.html">Configuration</a></li>
<li><a href=
"participation_api.html">Participation</a></li>
</ul>
</li>
<li><a href="tools.html">Tools</a></li>
<li><a href="libraries.html">Libraries</a></li>
<li><a href="tutorial.html">Tutorial</a></li>
<li><a href="applications.html">Applications</a></li>
<li><a href="hardware.html">Hardware</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</div>
</div><!-- CONTENT-->
<div class="container">
<!-- Path-->
<div class="page-header">
<a href="index.html">Home</a> → <a href=
"applicatoins.html">Applications</a>
</div><!-- Header-->
<h1>Swarmlight</h1>
<p><a href=
"https://github.com/buglabs/bugswarm-applications/tree/master/swarmlight">
Swarmlight</a> is one of the first applications built on the
BUGswarm platform and makes use of a BUGbasases, external
appliances, and <a href=
"http://github.com/buglabs/bugswarm-tools">BUGswarm Tools</a>
to control lights around the Bug Labs office by simply using
the controls below from anywhere in the world.</p><br>
<!-- Christmas Lights-->
<h2>Christmas Lights</h2><br>
<input type="button" value="Xmas Lights On" onclick=
"javascript: xmaslightson()" class="btn danger"> <input type=
"button" value="Xmas Lights Off" onclick=
"javascript: xmaslightsoff()" class="btn danger"><br>
<br>
<div class="page-header"></div><!-- Traffic Light-->
<h2>Traffic Light</h2><br>
<input type="button" value="Red On" onclick=
"javascript: redon()" class="btn danger"> <input type="button"
value="Red Off" onclick="javascript: redoff()" class=
"btn danger"> <input type="button" value="Yellow On" onclick=
"javascript: yellowon()" class="btn alert-message">
<input type="button" value="Yellow Off" onclick=
"javascript: yellowoff()" class="btn alert-message">
<input type="button" value="Green On" onclick=
"javascript: greenon()" class="btn success"> <input type=
"button" value="Green Off" onclick="javascript: greenoff()"
class="btn success"><script language="javascript" tpe=
"text/javascript" src="js/swarmlight.js" type=
"text/javascript">
</script>
</div>
</body>
</html>