-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (36 loc) · 1.36 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<link href="jquery-mobile/jquery.mobile-1.4.5.min.css" rel="stylesheet" type="text/css">
<script src="jquery-mobile/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="jquery-mobile/jquery.mobile-1.4.5.min.js" type="text/javascript"></script>
<script src="phonegap.js" type="text/javascript"></script>
<script src="index.js" type="text/javascript"></script>
</head>
<body>
<div data-role="page" id="page1">
<div data-role="header">
<h1>Sensor Example</h1>
</div>
<div data-role="content">
<label for="flipswitch">Sensor:</label>
<select name="flipswitch" id="flipswitch" data-role="slider">
<option value="off">Off</option>
<option value="on">On</option>
</select>
<label for="textarea">Current values:</label>
<input type="text" name="sensorX" id="sensorX" value="" />
<input type="text" name="sensorY" id="sensorY" value="" />
<input type="text" name="sensorZ" id="sensorZ" value="" />
<input type="text" name="timestamp" id="timestamp" value="" />
<label for="slider">Update (ms):</label>
<input id="slider" type="range" name="slider" value="300" min="0" max="1000" />
</div>
<div data-role="footer">
<h4>Footer</h4>
</div>
</div>
</body>
</html>