-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
136 lines (135 loc) · 4.35 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
135
136
<!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="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1 class="main-title">Kanban Board</h1>
<div class="drag-container">
<ul class="drag-list">
<!--backlog colume-->
<li class="drag-column backlog-column custom-scroll">
<span class="header">
<h1>Backlog</h1>
</span>
<!--backlog content-->
<div id="backlog-content">
<ul
class="drag-item-list"
id="backlog-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(0)"
></ul>
</div>
<!--add button-->
<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 colume-->
<li class="drag-column progress-column custom-scroll">
<span class="header">
<h1>Progress</h1>
</span>
<!--Progress content-->
<div id="progress-content">
<ul
class="drag-item-list"
id="progress-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(1)"
></ul>
</div>
<!--add button-->
<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 colume-->
<li class="drag-column complete-column custom-scroll">
<span class="header">
<h1>Complete</h1>
</span>
<!--Complete content-->
<div id="complete-content">
<ul
class="drag-item-list"
id="complete-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(2)"
></ul>
</div>
<!--add button-->
<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 colume-->
<li class="drag-column on-hold-column custom-scroll">
<span class="header">
<h1>On-hold</h1>
</span>
<!--on-hold content-->
<div id="on-hold-content">
<ul
class="drag-item-list"
id="on-hold-list"
ondrop="drop(event)"
ondragover="allowDrop(event)"
ondragenter="dragEnter(3)"
></ul>
</div>
<!--add button-->
<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>