-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
99 lines (99 loc) · 4.31 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
<!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="apple-touch-icon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 class="main-title">Kanban Board</h1>
<div class="drag-container">
<ul class="drag-list">
<li class="drag-column backlog-column">
<span class="header">
<h1>Backlog</h1>
</span>
<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>
<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>
<li class="drag-column progress-column">
<span class="header">
<h1>In Progress</h1>
</span>
<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>
<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>
<li class="drag-column complete-column">
<span class="header">
<h1>Complete</h1>
</span>
<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>
<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>
<li class="drag-column on-hold-column">
<span class="header">
<h1>On Hold</h1>
</span>
<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>
<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>