-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemailjs_template.html
More file actions
82 lines (76 loc) · 4.39 KB
/
emailjs_template.html
File metadata and controls
82 lines (76 loc) · 4.39 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Leave Request Notification</title>
</head>
<body style="margin: 0; padding: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #f4f7fa; color: #333333;">
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #f4f7fa; padding: 40px 20px;">
<tr>
<td align="center">
<!-- Main Container -->
<table width="600" cellpadding="0" cellspacing="0" border="0" style="background-color: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: left;">
<!-- Header -->
<tr>
<td style="background-color: #4F46E5; padding: 30px 40px; text-align: center;">
<h1 style="color: #ffffff; margin: 0; font-size: 24px; font-weight: 600; letter-spacing: 0.5px;">New Leave Request</h1>
</td>
</tr>
<!-- Body -->
<tr>
<td style="padding: 40px;">
<p style="margin: 0 0 20px 0; font-size: 16px; line-height: 1.6; color: #4b5563;">
Hello Admin,
</p>
<p style="margin: 0 0 30px 0; font-size: 16px; line-height: 1.6; color: #4b5563;">
A new leave request has been submitted by <strong>{{employee_name}}</strong>. Please review the details below:
</p>
<!-- Details Table -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #f9fafb; border-radius: 8px; border: 1px solid #eaedf1;">
<tr>
<td style="padding: 15px 20px; border-bottom: 1px solid #eaedf1;">
<span style="color: #6b7280; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; display: block; margin-bottom: 4px;">Employee Name</span>
<span style="font-size: 16px; color: #111827; font-weight: 500;">{{employee_name}}</span>
</td>
</tr>
<tr>
<td style="padding: 15px 20px; border-bottom: 1px solid #eaedf1;">
<span style="color: #6b7280; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; display: block; margin-bottom: 4px;">Leave Type</span>
<span style="font-size: 16px; color: #111827; font-weight: 500;">{{leave_type}}</span>
</td>
</tr>
<tr>
<td style="padding: 15px 20px; border-bottom: 1px solid #eaedf1;">
<span style="color: #6b7280; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; display: block; margin-bottom: 4px;">Duration</span>
<span style="font-size: 16px; color: #111827; font-weight: 500;">{{start_date}} to {{end_date}} ({{total_days}} days)</span>
</td>
</tr>
<tr>
<td style="padding: 15px 20px;">
<span style="color: #6b7280; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; display: block; margin-bottom: 4px;">Reason</span>
<span style="font-size: 16px; color: #111827; line-height: 1.5;">{{reason}}</span>
</td>
</tr>
</table>
<!-- Call to Action -->
<div style="text-align: center; margin-top: 40px;">
<a href="{{app_url}}" style="display: inline-block; background-color: #4F46E5; color: #ffffff; text-decoration: none; padding: 14px 32px; border-radius: 6px; font-weight: 600; font-size: 16px; letter-spacing: 0.5px;">View Dashboard</a>
</div>
</td>
</tr>
<!-- Footer -->
<tr>
<td style="background-color: #f9fafb; padding: 25px 40px; text-align: center; border-top: 1px solid #eaedf1;">
<p style="margin: 0; font-size: 13px; color: #9ca3af; line-height: 1.5;">
This is an automated notification from your Leave Tracker application.<br>
Please do not reply directly to this email.
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>