-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (209 loc) · 6.69 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Adding Favicon -->
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="styles/index.css" />
<title>Task Management Application</title>
</head>
<body onload="loadInitialData()">
<div class="add_new_btn_mobile_only d-md-none">
<button
class="btn btn-primary d-flex align-items-center"
data-bs-toggle="modal"
data-bs-target="#addNewTask"
type="submit"
>
<i class="fas fa-plus mx-2"></i>Add New
</button>
</div>
<div
class="modal fade"
id="addNewTask"
tabindex="-1"
aria-labelledby="addNewTaskLabel"
aria-hidden="true"
>
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="addNewTaskLabel">Add New Task</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<form onsubmit="return false">
<div class="mb-4">
<label for="imageURL">Image URL</label>
<input
type="url"
placeholder="https://example.com/image/png"
class="form-control"
id="imageURL"
/>
</div>
<div class="mb-4">
<label for="taskTitle">Task Title</label>
<input
type="text"
placeholder="Sample Title"
class="form-control"
id="taskTitle"
required
/>
</div>
<div class="mb-4">
<label for="tags">Task Type</label>
<input
type="text"
placeholder="Sample Type"
class="form-control"
id="tags"
required
/>
</div>
<div class="mb-4">
<label for="taskDescription">Task Description</label>
<textarea
rows="4"
placeholder="Explain more about it.."
class="form-control"
id="taskDescription"
required
></textarea>
</div>
<button
type="submit"
type="button"
class="btn btn-secondary"
data-bs-dismiss="modal"
>
Close
</button>
<button
type="submit"
type="button"
class="btn btn-primary"
onclick="handleSubmit()"
>
Save changes
</button>
</form>
</div>
</div>
</div>
</div>
<div
class="modal fade"
id="showTask"
tabindex="-1"
aria-labelledby="showTaskLabel"
aria-hidden="true"
>
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="showTaskLabel">Task Details</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body task__modal__body"></div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary"
data-bs-dismiss="modal"
>
Close
</button>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-expand-lg text-bg-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#">Tasky</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
</ul>
<button
class="btn btn-primary d-flex align-items-center"
data-bs-toggle="modal"
data-bs-target="#addNewTask"
type="submit"
>
<i class="fas fa-plus mx-2"></i>Add New
</button>
</div>
</div>
</nav>
<div class="container">
<section class="mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="input-group flex-nowrap shadow-sm rounded">
<input
type="search"
class="form-control"
placeholder="Search Task by Title.."
aria-label="Search Task"
aria-describedby="addon-wrapping"
oninput="searchTask.apply(this, arguments)"
/>
<span class="input-group-text" id="addon-wrapper">
<i class="fas fa-search"> </i>
</span>
</div>
</div>
</div>
</section>
<section class="mt-5">
<div class="row task__contents"></div>
</section>
</div>
<script src="scripts/index.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
crossorigin="anonymous"
></script>
</body>
</html>