forked from patkleef/DojoDragAndDrop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndex.html
52 lines (48 loc) · 1.6 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>
<title>Drag and drop</title>
<style>
body {
padding-left:50px;
}
.listContainer {
float:left;
margin-right:50px;
}
.sourceList, .targetList, .eventStatusList {
width: 400px;
min-height:300px;
border: 1px solid #000;
height:300px;
overflow-y: scroll;
}
.sourceList li { cursor: pointer }
.source-avatar { border:1px solid #000; padding: 10px; }
.targetList { margin:0px; padding:0px;}
.targetList li { list-style:none; margin:0px; }
.targetList li .target-item {
width:100%;
height:50px;
font-weight:bold;
}
</style>
</head>
<body>
<div class="demoLayout" data-dojo-type="app/draganddrop"></div>
<script data-dojo-config="parseOnLoad: true, isDebug: true, async: 1,
packages: [{
name: 'app',
location: 'http://localhost:9002/app'
}]"
src="https://ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/dojo.js"></script>
<script>
require([
"app/draganddrop",
"dojo/parser",
"dojo/domReady!"
], function(draganddrop, parser, domReady) {
});
</script>
</body>
</html>