Enhance approval email logic and update HTML templates for better user feedback
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-02-16 10:14:25 +05:30
parent 9212e2f937
commit ea39fb92de
7 changed files with 482 additions and 74 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Approval Recorded</title>
<title>Approved</title>
<style>
body {
font-family: Arial, sans-serif;
@@ -28,14 +28,33 @@
text-align: center;
margin-top: 20px;
}
.pulse-darkred {
color: Green; /* #8B0000 */
background-color: #fff; /* White bg for contrast */
display: inline-block;
padding: 0.5em 0.75em;
border-radius: 4px;
font-size: 1em;
line-height: 1;
animation: pulse 1.5s ease-in-out infinite; /* Duration, easing, infinite loop */
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.25); /* Gentle 5% expansion */
}
}
</style>
</head>
<body>
<div class="card">
<div class="success"> Approval Successful</div>
<p>Your action has been recorded.</p>
<p>You may now close this tab.</p>
<div class="success"><span class="pulse-darkred"></span> Approved Successfully</div>
{{-- 🟢 --}}
<p>Your request has been approved successfully.</p>
<!-- Footer -->
<div class="footer">