-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (131 loc) · 4.41 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
<!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 column -->
<li class="drag-column backlog-column">
<span class="header">
<h1>Backlog</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, 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, 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, 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, 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>