-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
78 lines (71 loc) · 3.59 KB
/
index.php
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/webfront.css" rel="stylesheet" />
<title>Jumppad Testbed</title>
</head>
<body>
<script src="js/jquery-1.8.2.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="jumppads.js"></script>
<div style="display:none;">
<h3>Configuration</h3>
<p>Specify the path to act.php on your local webserver:</p>
<input type="text" id="APITarget"
value="http://localhost/enlight-webfront/php/act.php"
style="width: 40em;" />
<br />
<a class="btn" href="#"
onclick="apiTarget=$('#APITarget').val(); return false;">Update</a>
<h1>Test: Normal Operation</h1>
<p>
Clicking the below buttons will invoke the standard action
of each pad. There are currently 8 of them.
</p>
<table class="table">
<tr>
<!-- <th>Pad 1</th> -->
<td>
<a href="#" class="btn" onclick="doPad1_1(); return false;">1</a>
</td>
<td>
<a href="#" class="btn" onclick="doPad1_2(); return false;">2</a>
</td>
<td>
<a href="#" class="btn" onclick="doPad1_3(); return false;">3</a>
</td>
<td>
<a href="#" class="btn" onclick="doPad1_4(); return false;">4</a>
</td>
</tr>
<tr>
<!-- <th>Pad 2</th> -->
<td>
<a href="#" class="btn" onclick="doPad2_1(); return false;">1</a>
</td>
<td>
<a href="#" class="btn" onclick="doPad2_2(); return false;">2</a>
</td>
<td>
<a href="#" class="btn" onclick="doPad2_3(); return false;">3</a>
</td>
<td>
<a href="#" class="btn" onclick="doPad2_4(); return false;">4</a>
</td>
</tr>
</table>
</div>
<div style="margin-left: 10px; margin-right: auto; margin-top:20px;">
<a href="#" class="btn btn-large btn-info" onclick="doPad1_1(); return false;">1</a>
<a href="#" class="btn btn-large btn-success" onclick="doPad1_2(); return false;">2</a>
<a href="#" class="btn btn-large btn-warning" onclick="doPad1_3(); return false;">3</a>
<a href="#" class="btn btn-large btn-danger" onclick="doPad1_4(); return false;">4</a>
<a href="#" class="btn btn-large btn-primary" onclick="doPad2_1(); return false;">5</a>
<a href="#" class="btn btn-large btn-inverse" onclick="doPad2_2(); return false;">6</a>
<a href="#" class="btn btn-large btn-warning" onclick="doPad2_3(); return false;">7</a>
<a href="#" class="btn btn-large btn-info" onclick="doPad2_4(); return false;">8</a>
</div>
</body>
</html>