-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.html
66 lines (57 loc) · 1.74 KB
/
test.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
<!doctype html>
<html>
<head>
<title>upgrouper</title>
<link rel="stylesheet" href="test.css">
<script src="dep/jquery-1.5.2.min.js"></script>
<script src="dep/jquery-ui-1.8.14.custom.min.js"></script>
<script src="src/upgrouper.js"></script>
<script>
$(document).ready(function() {
Upgrouper.init();
// delete the empty grouping
$('.groupingwrap p .delete').live('click', function() {
$(this).parents('.groupingwrap').remove();
});
// you do these yourself so you can listen to the events "live"
$('.groupable .delete').live('click', function() {
Upgrouper.confirmDeleteGroupable($(this).parents('.groupable'));
});
$('.groupable .confirm').live('click', function() {
$(this).parents('.groupable').remove();
});
$('.groupable .cancel').live('click', function() {
Upgrouper.cancelDeleteGroupable($(this).parents('.groupable'));
});
$('.groupable .dismiss').live('click', function() {
$(this).parents('.groupable').remove();
});
});
</script>
</head>
<body>
<!--
<div class="help">
<p>Drag jpegs, pngs or gifs from your desktop and drop them onto any of the blocks on the left to upload. We'll take care of thumbnailing for you.</p>
<p>You can also drag and drop your images to sort them.</p>
</div>
-->
<div class="wrap">
<div class="stage">
<div class="groupingwrap" id="unsorted-wrap">
<!--<h1>Unsorted drafts</h1>-->
<section>
<div class="grouping" id="grouping-unsorted"></div>
<div class="text">
<p>Drop images here to <b>sort later</b>.</p>
</div>
</section>
</div>
<div class="groupings"></div>
<section class="new-grouping" id="new-grouping">
<p>Drop images here to <b>create a new grouping</b>.</p>
</section>
</div> <!-- .stage -->
</div> <!-- .wrap -->
</body>
</html>