-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
234 lines (223 loc) · 9.86 KB
/
index.html
File metadata and controls
234 lines (223 loc) · 9.86 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Recursive&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog=="
crossorigin="anonymous" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<title>Task Management App | Vanilla JS</title>
<style>
.completed-task {
text-decoration: line-through;
font-weight: bold;
color: rgb(214, 69, 16);
}
</style>
</head>
<body>
<header class="container text-center">
<h1>Your <span class="multiColorText">Task</span> Manager </h1>
</header>
<main class="container">
<div class="form-area">
<form>
<input
type="hidden"
class="id">
<div class="form-group row">
<label for="title" class="col-sm-2 col-form-label">Title</label>
<div class="col-sm-10">
<input
type="text"
class="form-control title-input"
id="title"
placeholder="Enter your task name"
>
</div>
</div>
<div class="form-group row">
<label for="sub-title" class="col-sm-2 col-form-label">Sub Title</label>
<div class="col-sm-10">
<textarea
class="form-control sub-title"
id="sub-title"
placeholder="Enter your task details"
rows="2"
></textarea>
</div>
</div>
<div class="form-group row">
<label for="assignedTo" class="col-sm-2 col-form-label">Assigned To</label>
<div class="col-sm-10">
<input
type="text"
class="form-control assigned-to"
id="assignedTo"
placeholder="Enter name whom you have to assign to"
>
</div>
</div>
<div class="form-group row">
<label for="start" class="col-sm-2 col-form-label">Start</label>
<div class="col-sm-4">
<input
type="date"
data-date=""
data-date-format="DD MMMM YYYY"
class="form-control start-date"
id="start"
placeholder="Enter name whom you have to assign to"
>
</div>
<label for="end" class="col-sm-2 col-form-label">End</label>
<div class="col-sm-4">
<input
type="date"
data-date=""
data-date-format="DD MMMM YYYY"
class="form-control end-date"
id="end"
placeholder="Enter name whom you have to assign to"
>
</div>
</div>
<div class="form-group row">
<div class="col-sm-2">Priority</div>
<div class="col-sm-10">
<div class="form-check">
<input
class="form-check-input"
name="priority"
type="radio"
value="High"
id="high"
>
<label class="form-check-label mr-5" for="high">
High
</label>
<input
class="form-check-input"
name="priority"
type="radio"
value="Medium"
id="medium"
>
<label class="form-check-label mr-5" for="medium">
Medium
</label>
<input
class="form-check-input"
name="priority"
type="radio"
value="Low"
id="low"
>
<label class="form-check-label mr-5" for="low">
Low
</label>
</div>
</div>
</div>
<div class="form-group row">
<div class="col-sm-2">Status</div>
<div class="col-sm-10">
<div class="form-check">
<input
class="form-check-input"
name="status"
type="radio"
value="New"
id="new"
>
<label class="form-check-label mr-5" for="new">
New
</label>
<input
class="form-check-input"
name="status"
type="radio"
value="In Progress"
id="in-progress"
>
<label class="form-check-label mr-5" for="in-progress">
In Progress
</label>
<input
class="form-check-input"
name="status"
type="radio"
value="Completed"
id="completed"
>
<label class="form-check-label mr-5" for="completed">
Completed
</label>
</div>
</div>
</div>
<div class="form-group row">
<div class="col-sm-6 col-md-4">Completed in Percentage</div>
<input
class="ml-3 percentage-range"
id="char-range" type="range"
min="1"
max="100"
value="10"
>
<input
id="char-amount"
class="percentage-num"
type="number"
min="1"
max="100"
value="10"
>
</div>
<div class="form-group row">
<div class="col-sm-10">
<button type="submit" class="btn btn-primary add-btn">Add Task</button>
<button type="submit" class="btn btn-warning update-btn float-left mr-3">Update Task</button>
<button type="submit" class="btn btn-info back-btn">Back</button>
</div>
</div>
</form>
</div>
<div class="display-task-area">
<div class="row mr-auto ml-auto font-weight-bold ">
<div class="col text-left">Total: <span class="total"></span> </div>
<div class="col text-primary text-left">New: <span class="new"></span> </div>
<div class="col text-success text-left">In Progress: <span class="in-progress"></span> </div>
<div class="col text-danger text-left">Completed: <span class="completed"></span> </div>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Title</th>
<th scope="col">Priority</th>
<th scope="col">Status</th>
<th scope="col">Due Date</th>
<th scope="col">Assigned To</th>
<th scope="col">Completed (%)</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody id="task-body"></tbody>
</table>
</div>
</main>
<footer class="text-center">
<p>Developed by <span><a href="https://github.com/bdmostafa" target="_blank">Mostafa</a> </span> </p>
</footer>
<script src="js/Storage.js"></script>
<script src="js/Task.js"></script>
<script src="js/UI.js"></script>
<script type="module" src="js/app.js"></script>
</body>
</html>