-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
134 lines (134 loc) · 4.51 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Drag and Drop</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1 class="main-title">All your tasks at one place</h1>
<div class="drag-container">
<ul class="drag-list">
<!-- Backlog Column -->
<li class="drag-column backlog-column">
<span class="header">
<h1>Pending</h1>
</span>
<!-- Backlog content -->
<div id="backlog-content" class="custom-scroll">
<ul
class="drag-item-list"
id="backlog-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(0)"
></ul>
</div>
<!-- Add button group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(0)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(0)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
<!-- Progress Column -->
<li class="drag-column progress-column">
<span class="header">
<h1>progress</h1>
</span>
<!-- Progress content -->
<div id="progress-content" class="custom-scroll">
<ul
class="drag-item-list"
id="progress-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(1)"
></ul>
</div>
<!-- Add button group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(1)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(1)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
<!-- Complete Column -->
<li class="drag-column complete-column">
<span class="header">
<h1>complete</h1>
</span>
<!-- Complete content -->
<div id="complete-content" class="custom-scroll">
<ul
class="drag-item-list"
id="complete-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(2)"
></ul>
</div>
<!-- Add button group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(2)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(2)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
<!-- on-hold Column -->
<li class="drag-column on-hold-column">
<span class="header">
<h1>on-hold</h1>
</span>
<!-- on-hold content -->
<div id="on-hold-content" class="custom-scroll">
<ul
class="drag-item-list"
id="on-hold-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(3)"
></ul>
</div>
<!-- Add button group -->
<div class="add-btn-group">
<div class="add-btn" onclick="showInputBox(3)">
<span class="plus-sign">+</span>
<span>Add Item</span>
</div>
<div class="add-btn solid" onclick="hideInputBox(3)">
<span>Save Item</span>
</div>
</div>
<div class="add-container">
<div class="add-item" contenteditable="true"></div>
</div>
</li>
</ul>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>