-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprogress.html
More file actions
463 lines (426 loc) · 14.5 KB
/
progress.html
File metadata and controls
463 lines (426 loc) · 14.5 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
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
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Progress</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="styles.css">
<style>
@media (width <= 1400px){
html{
font-size: 50%;
/* 1rem = 8.64px */
}
}
@media (max-width: 1210px) {
html {
font-size: 45%;
}
.attendance-record, .hours-leaves, .leave-apply, .attendance-correction {
margin-left: 15rem;
padding: 1rem;
}
/* .grid-two--cols {
grid-template-columns: 1fr;
} */
.grid-three--cols {
grid-template-columns: 1fr;
}
.hours-worked{
margin-left: 0rem;
}
}
@media (max-width:1080px) {
html {
font-size: 38%;
}
}
@media (max-width:900px) {
html {
font-size: 34%;
}
}
@media (max-width: 890px) {
html {
font-size:36%;
}
.navbar {
padding: 1rem;
}
.menu-toggle {
display: block;
}
.nav-links {
display: none;
flex-direction: column;
position: absolute;
top: 4rem;
right: 0;
background-color: #000;
width: 100%;
padding: 1rem;
}
.nav-links li {
margin: 1rem 0;
}
.task-completion, .project-progress, .goals {
margin-left: -20rem;
padding: 1rem;
}
.efficiency-skill, .milestone-achievements, .progress-task, .progress-feedback{
margin-left: 10rem;
}
.sidebar {
width: 100%;
height: auto;
position: static;
}
.grid-three--cols , .grid-two--cols{
grid-template-columns: 1fr;
}
/* .grid-two--cols{
width: 100rem;
} */
canvas {
width: 100%;
height: auto;
}
}
@media (max-width: 690px) {
html {
font-size: 32%;
}
.sidebar {
padding: 2rem 1rem;
}
.navbar {
flex-direction: column;
}
.nav-links {
width: 100%;
text-align: center;
}
}
@media (max-width: 625px) {
html {
font-size: 28%;
}
}
@media (max-width: 540px) {
html {
font-size: 26%;
}
}
@media (max-width: 502px) {
html {
font-size: 24%;
}
}
@media (max-width: 470px) {
html {
font-size: 22%;
}
}
@media (max-width: 430px) {
html {
font-size: 18%;
}
.sidebar {
padding: 2rem 1rem;
}
.navbar {
flex-direction: column;
}
.nav-links {
width: 100%;
text-align: center;
}
}
</style>
</head>
<body>
<!-- ========== Start navbar ========== -->
<nav class="navbar">
<div class="logo">
<a href="#">Dashboard</a>
</div>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="attendance.html">Attendance</a></li>
<li><a href="progress.html">Progress</a></li>
<li><a href="login.html">Login</a></li>
<!-- <button id="mode-toggle"><i class="fa-solid fa-toggle-on"></i></button> -->
</ul>
<div class="menu-toggle">
<span></span>
<span></span>
<span></span>
</div>
</nav>
<!-- ========== End navbar ========== -->
<!-- ========== Start sidebar Section ========== -->
<div class="sidebar">
<ul class="sidebar-menu">
<li><a href="#task-completion">Task Completion Rate</a></li>
<li><a href="#project-progress">Project Progress</a></li>
<li><a href="#goals">Goals</a></li>
<li><a href="#efficiency-and-skills">Efficiency and Skills</a></li>
<li><a href="#milestones-and-achievements">Milestones & Achievements</a></li>
<li><a href="#tasks">Tasks</a></li>
<li><a href="#feedback">Feedback Overview</a></li>
</ul>
</div>
<!-- ========== End sidebar Section ========== -->
<!-- ========== Start Tasks Section ========== -->
<section id="task-completion" class="task-completion">
<div class="task">
<h2>Task Completion Rate</h2>
<!-- <div class="progress"> -->
<div class="grid grid-two--cols">
<div class="chart-container">
<h3>Task Completion</h3>
<canvas id="barChart"></canvas>
</div>
<div class="chart-container">
<h3>Task Completion Rate - October 2024</h3>
<canvas id="taskCompletionChart"></canvas>
</div>
</div>
<!-- </div> -->
</div>
</section>
<!-- ========== End Tasks Section ========== -->
<!-- ========== Start Project Progress - monthly and yearly Section ========== -->
<section id="project-progress" class="project-progress">
<div class="chart-wrapper">
<h2>Project Progress</h2>
<!-- Monthly Project Progress Doughnut Chart -->
<div class="grid grid-two--cols">
<div class="chart-container">
<h3>Project Progress - October 2024 (Monthly)</h3>
<canvas id="monthlyProjectProgressChart"></canvas>
</div>
<!-- Yearly Project Progress Doughnut Chart -->
<div class="chart-container">
<h3>Project Progress - 2024 (Yearly)</h3>
<canvas id="yearlyProjectProgressChart"></canvas>
</div>
</div>
</div>
</section>
<!-- ========== End Project Progress - monthly and yearly Section ========== -->
<!-- ========== Start Daily/Weekly/Monthly Goals Section ========== -->
<section id="goals" class="goals">
<div class="goals-container">
<h2>Daily, Weekly, and Monthly Goals</h2>
<div class="goal">
<!-- Daily Goals Progress -->
<div class="goal-section">
<h3>Daily Goals</h3>
<div class="progress-bar-container">
<span>Completed: <span id="dailyCompleted"></span>/5</span>
<div class="progress-bar">
<div class="progress-fill" id="dailyProgressFill"></div>
</div>
</div>
</div>
<!-- Weekly Goals Progress -->
<div class="goal-section">
<h3>Weekly Goals</h3>
<div class="progress-bar-container">
<span>Completed: <span id="weeklyCompleted"></span>/10</span>
<div class="progress-bar">
<div class="progress-fill" id="weeklyProgressFill"></div>
</div>
</div>
</div>
<!-- Monthly Goals Progress -->
<div class="goal-section">
<h3>Monthly Goals</h3>
<div class="progress-bar-container">
<span>Completed: <span id="monthlyCompleted"></span>/20</span>
<div class="progress-bar">
<div class="progress-fill" id="monthlyProgressFill"></div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ========== End Daily/Weekly/Monthly Goals Section ========== -->
<!-- ========== Start Efficiency Rating and skill development Section ========== -->
<section class="efficiency-skill" id="efficiency-and-skills">
<div class="grid grid-two--cols">
<div class="efficiency">
<h2>Efficiency Rating</h2>
<div class="efficiency-container">
<div class="circular-progress">
<div class="inner-circle"></div>
<div class="outer-circle"></div>
<div class="percentage" id="efficiencyPercentage">0%</div>
</div>
<p class="rating-label">Employee Efficiency</p>
</div>
</div>
<div class="skill">
<h2>Skill Distribution</h2>
<div class="chart-container">
<canvas id="pieChart"></canvas>
</div>
</div>
</div>
</section>
<!-- ========== End Skill Development and skill development Section ========== -->
<!-- ========== Start Milestones & Achievements Section ========== -->
<section class="milestone-achievements" id="milestones-and-achievements">
<h2>Milestones & Achievements</h2>
<div class="milestones-container">
<!-- Completed Projects -->
<div class="milestone-item">
<div class="milestone-icon completed-projects-icon">
<i class="fas fa-check-circle"></i>
</div>
<div class="milestone-details">
<h3>Completed Projects</h3>
<p class="milestone-number" id="completedProjects">35</p>
</div>
</div>
<!-- Awards & Recognition -->
<div class="milestone-item">
<div class="milestone-icon awards-icon">
<i class="fas fa-award"></i>
</div>
<div class="milestone-details">
<h3>Awards & Recognition</h3>
<p class="milestone-number" id="awardsRecognition">5</p>
</div>
</div>
<!-- Years of Service -->
<div class="milestone-item">
<div class="milestone-icon service-icon">
<i class="fas fa-calendar-alt"></i>
</div>
<div class="milestone-details">
<h3>Years of Service</h3>
<p class="milestone-number" id="yearsOfService">7</p>
</div>
</div>
</div>
</section>
<!-- ========== End Milestones & Achievements Section ========== -->
<!-- ========== Start user's tasks ========== -->
<div class="progress-task" id="tasks">
<section class="tasks-container">
<div>
<h2>Today's Tasks</h2>
</div>
<div class="container grid grid-four--cols">
<div class="task-item">
<h3>Task 1</h3>
<p>Description of Task 1</p>
<span class="due-date">Due: 12:00 PM</span>
</div>
<div class="task-item">
<h3>Task 2</h3>
<p>Description of Task 2</p>
<span class="due-date">Due: 3:00 PM</span>
</div>
<div class="task-item">
<h3>Task 3</h3>
<p>Description of Task 3</p>
<span class="due-date">Due: 5:00 PM</span>
</div>
<div class="task-item">
<h3>Task 4</h3>
<p>Description of Task 4</p>
<span class="due-date">Due: 6:00 PM</span>
</div>
</div>
</section>
</div>
<!-- ========== End user's tasks ========== -->
<!-- ========== Start ongoing and upcoming tasksSection ========== -->
<div class="progress-task">
<!-- Ongoing Tasks Section -->
<div class="tasks-section">
<h3>Ongoing Tasks</h3>
<div class="task-element">
<h4>Task 1: Design Employee Dashboard</h4>
<p>Due Date: 25th October 2024</p>
<p>Status: In Progress</p>
</div>
<div class="task-element">
<h4>Task 2: Backend API Development</h4>
<p>Due Date: 27th October 2024</p>
<p>Status: 50% Complete</p>
</div>
<!-- Add more ongoing tasks as needed -->
</div>
<!-- Upcoming Tasks Section -->
<div class="tasks-section">
<h3>Upcoming Tasks</h3>
<div class="task-element">
<h4>Task 1: Final Testing Phase</h4>
<p>Start Date: 28th October 2024</p>
</div>
<div class="task-element">
<h4>Task 2: Project Deployment</h4>
<p>Start Date: 30th October 2024</p>
</div>
</div>
</div>
<!-- ========== End ongoing and upcoming tasksSection ========== -->
<!-- ========== Start Feedback Section ========== -->
<div class="progress-feedback" id="feedback">
<section class="feedback">
<h2>Feedback Overview</h2>
<div class="feedback-section">
<div class="grid grid-two--cols">
<div class="chart-container">
<h3>Average Rating Over Time</h3>
<canvas id="rating"></canvas> <!-- Line chart for average rating -->
</div>
<div class="chart-container">
<h3>Rating Breakdown by Criteria</h3>
<canvas id="rating-breakdown"></canvas> <!-- Stacked bar chart -->
</div>
<div class="chart-container">
<h3>Sentiment Analysis of Feedback</h3>
<canvas id="sentimentPieChart"></canvas> <!-- Pie chart -->
</div>
</div>
</div>
</section>
</div>
<!-- ========== End Feedback Section ========== -->
<!-- ========== Start Footer Section ========== -->
<footer>
<div class="attendance-footer">
<div class="footer-content">
<div class="footer-about">
<h3>About Us</h3>
<p>Your company's mission or a brief description here.</p>
<ul class="social-icons">
<li><a href="https://facebook.com"><i class="fa-brands fa-facebook"></i></a></li>
<li><a href="https://twitter.com"><i class="fa-brands fa-twitter"></i></a></li>
<li><a href="https://linkedin.com"><i class="fa-brands fa-linkedin"></i></a></li>
</ul>
</div>
<div class="footer-bottom">
<p>© 2024 [Your Company Name]. All rights reserved.</p>
<a href="#" class="back-to-top">Back to Top</a>
</div>
</div>
</div>
</footer>
<!-- ========== End Footer Section ========== -->
<!-- Chart.js CDN -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.4/main.min.js"></script> -->
<!-- External JS file -->
<script src="progress.js"></script>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<script src="feedback.js"></script>
</body>
</html>