-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
366 lines (298 loc) · 13.5 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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<!DOCTYPE html>
<html lang="en" theme="">
<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">
<title>Issue Tracker</title>
<!-- <link href="fontawesome-free-5.15.4-web/css/all.css" rel="stylesheet"> -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css"
integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="responsive.css">
</head>
<body>
<!-- Applying theme before loading the html page.
If this executes after loading html page, whole page will flash for 20/50 ms -->
<script>
let html = document.querySelector("html");
if (localStorage.getItem("theme")) {
html.setAttribute("theme", localStorage.getItem("theme"));
}
//
else if (!localStorage.getItem("theme")) {
if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
html.setAttribute("theme", "dark");
localStorage.setItem("theme", "dark");
} else {
html.setAttribute("theme", "light");
localStorage.setItem("theme", "light");
}
}
</script>
<!-- Main Html page -->
<div class="container">
<!-- Header -->
<header id="header">
<div id="logo" class="logo">
<h1>Issue Tracker</h1>
</div>
<div class="nav">
<div class="theme-toggle">
<button class="theme-change">
<div class="button-round"></div>
<div class="theme-change--names">
<p class="theme-change--names_light">Light</p>
<p class="theme-change--names_dark">Dark</p>
</div>
</button>
</div>
<!-- <div>
<button>Clear localStorage</button>
</div> -->
</div>
</header>
<!-- Action -->
<section class="actionMsg_section">
<p></p>
</section>
<!-- Main Form -->
<section class="mainForm_section">
<h2>Add New Issue</h2>
<form>
<!-- Description -->
<div class="form-control descriptionSection">
<!--Title-->
<div>
<label for="description">
<p class="title">Description</p>
</label>
</div>
<!--Input-->
<div>
<input type="text" placeholder="Describe the issue" name="description" id="description">
</div>
<!--Error-->
<div>
<small class="error tiny">Type description</small>
</div>
</div>
<!-- Priority -->
<div class="form-control prioritySection">
<!--Title-->
<div>
<label for="priority">
<p class="title">Priority</p>
</label>
</div>
<!--Input-->
<div>
<select name="priority" id="priority">
<option selected hidden value="false">Select Priority</option>
<!--Watch on it-->
<option value="low">Low</option>
<option value="medium">Medium</option>
<option value="high">High</option>
</select>
</div>
<!--Error-->
<div>
<small class="error tiny">Select Priority</small>
</div>
</div>
<!-- Assigned To -->
<div class="form-control assignedToSection">
<!--Title-->
<div>
<label for="assigned">
<p class="title">Assigned To</p>
</label>
</div>
<!--Input-->
<div>
<select name="assigned" id="assigned">
<option selected hidden value="false">Select employee</option>
<!--Watch on it-->
<option value="mehedi_10">Mehedi_10</option>
<option value="alif_11">Alif_11</option>
<option value="hasan_12">Hasan_12</option>
</select>
</div>
<!--Error-->
<div>
<small class="error tiny">Select Employee</small>
</div>
</div>
<!-- Add/Submit Button -->
<div class="submitButton">
<button type="submit" id="submit">Add</button>
</div>
</form>
</section>
<!-- Delete Checked or Close Checked Button -->
<div class="deleteAll_section">
<div class="deleteMarkedButton hidden">
<button class="delete-marked" id="delete-marked">Delete Marked</button>
</div>
<div class="confirmation hidden">
<div>
<p>Do you really want to delete marked issues?</p>
</div>
<div>
<button id="confirm_yes">Yes</button>
<button id="confirm_no">No</button>
</div>
</div>
</div>
<!-- Title and Issues -->
<section class="issueInfo_section">
<!-- All headings and buttons -->
<div class="heading_buttons">
<!-- Checklist -->
<div class="titleCenter noHover">
<!-- <p>Serial</p> -->
<!-- <label for="mainCheckbox"></label>
<input type="checkbox" name="" id="mainCheckbox" class="mark-checkbox"> -->
<label class="checkbox-label">
<input type="checkbox" id="mainCheckbox" class="mark-checkbox hidden">
<!-- <i class="fas fa-minus"></i> -->
<!-- <i class="fas fa-check"></i> -->
<span class="checkbox-icon">
<i class="fas fa-minus"></i>
</span>
</label>
</div>
<!-- Description -->
<div class="doublePart noHover">
<div class="titleCenter">
<p>Description</p>
</div>
<div class="descriptionSearch">
<div class="icon_Input">
<label for="search">
<button class="searchField_open" title="Search on description">
<i class="fas fa-search"></i>
</button>
</label>
<input id="search" class="close" type="text" placeholder="Search on description">
<button class="searchField_close close" title="Close">
<i class="fas fa-times"></i>
</button>
</div>
</div>
</div>
<!-- It will sort by date -->
<div class="singlePart sortBtn ">
<div class="dateDiv">
<button class="date_sort" order="neutral">
<p>Date</p>
<p class="sorting_icons">
<span class="default inactive">
<i class="fas fa-long-arrow-alt-down "></i><i class="fas fa-long-arrow-alt-up"></i>
</span>
<span class="active descending">
<i class="active fas fa-sort-amount-down"></i>
</span>
<span class="active ascending">
<i class="active fas fa-sort-amount-down-alt"></i>
</span>
</p>
</button>
</div>
</div>
<!-- It will sort by priority -->
<div class="singlePart sortBtn " selectSort>
<div class="" selectSort>
<button class="priority_sort select_sort_btn" list-shown="no" order="neutral" selectSort>
<p selectSort>Priority</p>
<span>
<i class="fas fa-chevron-down" selectSort></i>
</span>
</button>
</div>
<div class="sortBtn-List" selectSort>
<ul class="priority_sort--list" sort-on="priorityStatus" selectSort>
<li selectSort serial="0">Low</li>
<li selectSort serial="1">Medium</li>
<li selectSort serial="2">High</li>
</ul>
</div>
</div>
<!-- It will sort by Assigned to -->
<div class="singlePart sortBtn assignedTo" selectSort>
<div class="" selectSort>
<button class="assignedTo_sort select_sort_btn" list-shown="no" order="neutral" selectSort>
<p selectSort>Assigned To</p>
<span>
<i class="fas fa-chevron-down" selectSort></i>
</span>
</button>
</div>
<div class="sortBtn-List" selectSort>
<ul class="assignedTo_sort--list" sort-on="employee-name" selectSort>
<li selectSort serial="0">Mehedi_10</li>
<li selectSort serial="1">Alif_11</li>
<li selectSort serial="2">Hasan_12</li>
</ul>
</div>
</div>
<!-- It will sort by status -->
<div class="singlePart sortBtn ">
<button class="status_sort" order="neutral">
<p>Status</p>
<p class="sorting_icons">
<span class="default inactive">
<i class="fas fa-long-arrow-alt-down "></i><i class="fas fa-long-arrow-alt-up"></i>
</span>
<span class="active descending">
<i class="fas fa-sort-alpha-down"></i>
</span>
<span class="active ascending">
<i class="fas fa-sort-alpha-down-alt"></i>
</span>
</p>
</button>
</div>
</div>
<!-- Shows the issue -->
<div class="issue_info">
<!--
Issues will appear here.
-->
</div>
</section>
<!-- Calculated and others Section -->
<section class="calculation_section">
<div class="total_opened">Opened Issue: <span></span></div>
<div class="total_closed">Closed Issue: <span></span></div>
<div class="total">Total Issue: <span></span></div>
<div class="local_storage_clear_content">
<button class="local_storage_clear_btn">
Clear localStorage
</button>
</div>
</section>
</div>
<!-- Small Device Warning Message -->
<div class="small-device-warning" style="display: none">
<div class="small-device-warning--content">
<div class="small-device-warning--content--close">
<button id="warning-close">
</button>
</div>
<hr>
<div>
You are visiting from a low screen size device.
Issue Tracker doesn't fit well with low screen size devices. Switch to desktop or laptop for best
experience.
<br><br>
<ul>
<li>Drag left to see other information about the issues.</li>
</ul>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>