forked from louiselin/DIPS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·87 lines (80 loc) · 3.43 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
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
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script type="text/javascript" src="http://www.pureexample.com/js/lib/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<link rel=stylesheet type="text/css" href="dips2.css">
<script type="text/javascript">
$(document).ready(function(){
$("#tshow").click(function(){
$("#trig").toggle('fast');
});
$("#tshow_a").click(function(){
$("#trig_a").toggle('fast');
});
});
</script>
</head>
<body>
<section id="todoapp">
<h1 class="header"></br></br></h1>
</section>
<div class="container"> <!--這個 div 是為了讓包含的兩個 div 可以統一置中-->
<!--block menu-->
<div class="left force-overflow" id="scroll_style"><div class="menu-left">Blocks</div>
<ul style=" list-style: none;" class="ch1 force-overflow" id="scroll_style">
</br>
<li class="menu pictrigger" id="tshow"><strong>TRIGGERS</strong></li>
<div id="trig">
<li class="blocks states picrightraise">RightHandUp</li>
<li class="blocks states picrightdown">RightHandDown</li>
<li class="blocks states picleftraise">LeftHandUp</li>
<li class="blocks states picleftdown">LeftHandDown</li>
</div>
<li class="menu picaction" id="tshow_a"><strong>ACTIONS</strong></li>
<div id="trig_a">
<li class="blocks actions picnoseraise">noseRaise</li>
<li class="blocks actions picnosedown">noseLay</li>
<li class="blocks actions picbodyraise">bodyRaise</li>
<li class="blocks actions picbodydown">bodyLay</li>
<li class="blocks actions piclighton">lightOn</li>
<li class="blocks actions piclightoff">lightOff</li>
</div>
<li class="menu picother"><strong>OTHERWISE</strong></li>
<li class="blocks otherwise">otherwise</li>
<li class="menu picoperator"><strong>OPERATORS</strong></li>
<li class="blocks operators">and</li>
<li class="blocks operators">or</li>
<li class="blocks operators">not</li>
</ul>
</div>
<!--rule entry-->
<div class="ch2 force-overflow" id="scroll_style">
<div class="menu-rule">Rule
<button id="new">ADD</button>
</div>
<div class="editor force-overflow" id="scroll_style">
<br>
<div class="rules newr" id="rule-1"></br></div>
</div>
</div>
<div class="space" >
<!-- display rule script -->
<div class="ch3 force-overflow-preview" id="scroll_style">
<div class="menu-preview"> Preview
<button id="finish">SEND</span></button>
</div>
<div class="preview force-overflow-preview" id="scroll_style">
<br>
</div>
</div>
<section id="todoapp">
<footer class="footer">Drag-and-Drop to do rules<br>Created on Oct 7th</footer>
</section>
</div>
</div>
<script src="dips2.js"></script>
</body>
</html>