diff --git a/mailling/dpr.html b/mailling/dpr.html index c3d9b64..aefe0f8 100644 --- a/mailling/dpr.html +++ b/mailling/dpr.html @@ -57,6 +57,8 @@ } .card { + display: flex; + flex-direction: column; flex: 1; min-width: 200px; border: 1px solid #ddd; @@ -67,7 +69,7 @@ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* <-- added shadow */ transition: transform 0.2s ease, box-shadow 0.2s ease; - border-top: 1px solid #e63946; + border-top: 1px solid #49bf3c; } @@ -82,13 +84,24 @@ justify-content: center; border-radius: 6px; text-decoration: none; - color: #49bf3c; /* arrow color */ background: #f5f5f5; /* badge background */ box-shadow: 0 1px 3px rgba(0, 0, 0, .15); } + .card-link-success { + color: #49bf3c; + } + + .card-link-warning { + color: #ffc107; + } + + .card-link-primary { + color: #007bff; + } + .card-link:hover { background: #ececec; } @@ -207,7 +220,7 @@ .legend { margin-top: 10px; display: flex; - justify-content: center; + justify-content: flex-start; flex-wrap: wrap; gap: 8px; font-size: 12px; @@ -228,7 +241,7 @@ } .legend-red { - background: #49bf3c; + background: #e63946; } .legend-blue { @@ -243,6 +256,10 @@ background: #ccc; } + .legend-yellow { + background: #ffc107; + } + .donut { @@ -251,11 +268,11 @@ --danger: #e63946; --primary: #007bff; --warning: #ffc107; - --success: #198754; + --success: #28a745; /* Fill color */ --track: #e9ecef; /* Background track */ - --size: 120px; + --size: 200px; /* Default size */ --thickness: 20px; /* Default thickness */ @@ -288,6 +305,13 @@ .donut span { position: absolute; font-size: calc(var(--size) / 6); + width:80%; + box-sizing:border-box; + display:flex; + gap: 4px; + flex-wrap: wrap; + justify-content:center; + align-items:center; } /* Variants */ @@ -298,7 +322,7 @@ .donut.medium { --size: 120px; - --thickness: 25px; + --thickness: 15px; } .donut.large { @@ -310,25 +334,21 @@ .donut-success { background: conic-gradient(var(--success) calc(var(--percentage) * 1%), var(--track) 0); - color: var(--success) } .donut-warning { background: conic-gradient(var(--warning) calc(var(--percentage) * 1%), var(--track) 0); - color: var(--warning) } .donut-danger { background: conic-gradient(var(--danger) calc(var(--percentage) * 1%), var(--track) 0); - color: var(--danger) } .donut-primary { background: conic-gradient(var(--primary) calc(var(--percentage) * 1%), var(--track) 0); - color: var(--primary) } .values { @@ -353,7 +373,7 @@
{{todaysAttendances}}
/{{totalEmployees}}
+{{todaysAttendances}}
/
{{totalEmployees}}
{{totalCompletedTask}}
/{{totalPlannedTask}}
+ +{{totalCompletedTask}}
/
{{totalPlannedTask}}
*Today's total work
+*Today's Total Work
{{totalCompletedWork}}
/{{totalPlannedWork}}
+{{totalCompletedWork}}
/
{{totalPlannedWork}}
*Project's Total Work
+*Project's total work
+Regularization Pending | +{{regularizationPending}} | +
Checkout Pending | +{{checkoutPending}} | +
{{regularizationPending}}
- -{{checkoutPending}}
-{{reportPending}}
/{{todaysAssignTasks}}
- -Total Pending Tasks | +{{reportPending}} | +
Today's Assigned Tasks | +{{todaysAssignTasks}} | +
Today's Completed Tasks | +{{todaysCompletedTasks}} | +