-
Notifications
You must be signed in to change notification settings - Fork 0
/
test12.html
110 lines (101 loc) · 3.2 KB
/
test12.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'/>
<style>
.container
{
border: 1px solid;
height: 500px;
width: 800px;
overflow: auto;
}
.node
{
position: absolute;
border-radius: 5px;
box-shadow: 5px 5px 5px #888888;
color: #fff;
padding: 10px;
width: 200px;
background-color: #5cb85c;
height: 20px;
width: 220px;
}
.multiNode
{
position: absolute;
border-radius: 5px;
box-shadow: 5px 5px 5px #888888;
color: #fff;
height: 40px;
width: 220px;
background-color: #5cb85c;
padding: 10px;
}
.multiNodeContainer
{
position:static;
}
.multiNodeElement
{
border: solid 1px;
}
.palette
{
position: relative;
border: 1px solid;
height: 300px;
width: 200px;
left: 650px;
}
.placeholder {
background: green;
opacity: 0.4;
}
.close {
position:relative;
float: right;
cursor: default;
z-index: 10;
}
.info
{
border: 1px solid;
height: 100px;
width: 200px;
}
</style>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-ui.js"></script>
<script type="text/javascript" src="area-notifier.js"></script>
<script type="text/javascript" src="node.js"></script>
<script type="text/javascript" src="process.js"></script>
<script type="text/javascript" src="painter.js"></script>
<script type="text/javascript" src="grid-manager.js"></script>
</head>
<body>
<div id='container' class='container'></div>
<div id='palette' class="palette">
<div> element </div>
<ul>
<div id="tarea1" data-type="simple">tarea1</div>
<div id="tarea2" data-type="simple">tarea2</div>
<div id="tarea3" data-type="simple">tarea3</div>
<div id="tarea4" data-type="simple">tarea4</div>
<div id="tarea5" data-type="simple">tarea5</div>
<div id="tarea6" data-type="simple">tarea6</div>
<div id="tarea7" data-type="simple">tarea7</div>
<div id="parallel" data-type="multi">parallel</div>
</ul>
</div>
<script>
var grid = new GridManager({
'container': "container",
'chooser' : "palette",
});
grid.addElement($('#parallel'));
grid.addElement($('#parallel'),0,'down');
</script>
</body>
</html>