-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (123 loc) · 5.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.min.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Staatliches&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic-bootstrap.min.css" />
<link rel="stylesheet" href="./assets/css/style.css" />
<title>Taskmaster Pro</title>
</head>
<body>
<div class="row min-vh-100 no-gutters">
<header class="col-12 col-lg-3 bg-dark text-light sticky-top d-flex flex-column p-4 p-lg-3">
<h1 class="text-center">
<span class="oi oi-task d-inline d-lg-none"></span>
Taskmaster Pro Edition
</h1>
<button id="create-task" class="btn btn-block btn-add" data-toggle="modal" data-target="#task-form-modal">
<span class="oi oi-plus mr-2"></span>Add Task
</button>
<button id="remove-tasks" class="btn btn-block btn-delete">
<span class="oi oi-trash mr-2"></span>Delete All Tasks
</button>
<span class="oi oi-task display-1 text-center mb-2 d-none d-lg-block mt-auto"></span>
<p class="d-none d-lg-block" id="instructions">
To Use:<br />
1. Select Add Task and fill out form<br />
2. Drag and drop between status boxes<br />
3. Click on existing task to update<br />
4. Drag to bottom to delete one task<br />
5. Select Delete All Tasks to remove all
</p>
</header>
<main class="col-12 col-lg-9 d-flex flex-column">
<div class="m-5 row justify-content-around">
<!-- "To Do" -->
<div class="col-12 col-md-6 col-xl-3 mb-3">
<div class="card">
<h4 class="card-reader bg-dark text-light">
To Do
</h4>
<ul id="list-toDo" class="list-group list-group-flush"></ul>
</div>
</div>
<!-- "In Progress" -->
<div class="col-12 col-md-6 col-xl-3 mb-3">
<div class="card">
<h4 class="card-reader bg-dark text-light">
In Progress
</h4>
<ul id="list-inProgress" class="list-group list-group-flush"></ul>
</div>
</div>
<!-- "In Review" -->
<div class="col-12 col-md-6 col-xl-3 mb-3">
<div class="card">
<h4 class="card-reader bg-dark text-light">
In Review
</h4>
<ul id="list-inReview" class="list-group list-group-flush"></ul>
</div>
</div>
<!-- "Done" -->
<div class="col-12 col-md-6 col-xl-3 mb-3">
<div class="card">
<h4 class="card-reader bg-dark text-light">
Done
</h4>
<ul id="list-done" class="list-group list-group-flush"></ul>
</div>
</div>
</div>
<!-- Trash Bin -->
<div class="mt-auto overflow-hidden" id="trash">
<div class="w-100 p-3 text-center bottom-trash">
<span class="oi oi-trash"></span>Drop Here to Remove.
</div>
</div>
</main>
</div>
<!-- Modal -->
<div class="modal fade" id="task-form-modal" tabindex="-1" role="dialog" aria-labelledby="task-form-modal"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="task-form-modal">Add New Task</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="modalTaskDescription">Task description</label>
<textarea id="modalTaskDescription" rows="3" class="form-control"></textarea>
</div>
<div class="form-group">
<label for="modalDueDate">Due date</label>
<input type="text" class="form-control" id="modalDueDate" placeholder="mm/dd/yyyy" autocomplete="off" />
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-close" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-save">Save Task</button>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.15.0/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>