-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest10.html
More file actions
136 lines (124 loc) · 3.84 KB
/
test10.html
File metadata and controls
136 lines (124 loc) · 3.84 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<html>
<meta charset='utf-8'>
<head>
<style>
.container
{
position:absolute;
border: 1px solid;
height: 500px;
width: 600px;
}
.node
{
border-radius: 5px;
box-shadow: 5px 5px 5px #888888;
color: #fff;
padding: 10px;
width: 200px;
background-color: #5cb85c;
position: absolute;
height: 20px;
width: 220px;
/*
height: 100px;
width: 100px;
border: solid 1px;
text-align: center;
position: absolute;
*/
}
.multiNode
{
border-radius: 5px;
box-shadow: 5px 5px 5px #888888;
color: #fff;
height: 40px;
width: 220px;
background-color: #5cb85c;
position: absolute;
padding: 10px;
/*
height: 100px;
width: 100px;
border: solid 1px;
text-align: center;
position: absolute;
*/
}
.multiNodeContainer
{
position:static;
}
.multiNodeElement
{
border: solid 1px;
}
.palette
{
position:absolute;
border: 1px solid;
height: 300px;
width: 200px;
left: 650px;
}
.placeholder {
background: green;
position: absolute;
opacity: 0.4;
}
.close {
position:relative;
float: right;
display: inline;
cursor: default;
z-index: 10;
}
.info
{
border: 1px solid;
height: 100px;
width: 200px;
/*
position:absolute;
top: 550px;
left: 650px;
*/
}
</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>
<script>
</script>
</head>
<body>
<div id='container' class="process"></div>
<div id='palette' class="palette">
<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>
<div id='container'></div>
<div id='areas'></div>
<script>
var grid = new GridManager({
'container': "container",
'chooser' : "palette",
});
grid.addElement($('#parallel'));
grid.addElement($('#parallel'),0,'down');
</script>
</body>
</html>