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

@@ -19,7 +19,7 @@
}
.rejected {
color: red;
font-size: 20px;
font-size: 18px;
font-weight: bold;
}
.footer {
@@ -38,14 +38,33 @@
border-radius: 5px;
font-weight: bold;
}
.pulse-darkred {
color: DarkRed; /* #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.2); /* Gentle 5% expansion */
}
}
</style>
</head>
<body>
<div class="card">
<div class="rejected"> Rejected Successfully</div>
<p>The rejection has been recorded.</p>
<p>You may now close this tab.</p>
<div class="rejected"><span class="pulse-darkred"></span> Rejected Successfully</div>
{{-- 🔴 --}}
<p>Your request has been rejected successfully.</p>
<!-- Footer -->
<div class="footer">