forked from sawyerh/react-jquery-ui-sortable-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (48 loc) · 1.23 KB
/
Copy pathindex.html
File metadata and controls
53 lines (48 loc) · 1.23 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>React + jQuery UI Sortable Example</title>
<style type="text/css">
body{
color: #fff;
font-family: Helvetica, sans-serif;
font-size: 20px;
}
#list{
max-width: 500px;
margin: 100px auto;
padding: 0;
}
li{
padding: 10px;
margin: 0 0 10px;
cursor: move;
list-style: none;
border-radius: 3px;
}
li[data-id="a"]{
background-color: #F44336;
}
li[data-id="b"]{
background-color: #2196F3;
}
li[data-id="c"]{
background-color: #009688;
}
.ui-sortable-placeholder{
visibility: visible !important;
border: 2px dashed #000;
}
</style>
</head>
<body>
<div id="list"></div>
<script type="text/javascript" src="dist/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="dist/react/react.min.js"></script>
<script type="text/javascript" src="dist/react/react-dom.min.js"></script>
<script type="text/javascript" src="dist/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="dist/lodash/lodash.min.js"></script>
<script type="text/javascript" src="dist/component.js"></script>
</body>
</html>