apskel-pos-backend/templates/monthly_points.html

155 lines
3.6 KiB
HTML
Raw Normal View History

2025-03-08 00:35:23 +07:00
<!doctype html>
2025-03-16 11:01:58 +08:00
<html xmlns="http://www.w3.org/1999/xhtml">
2025-03-08 00:35:23 +07:00
<head>
2025-03-16 11:01:58 +08:00
<title>Points Notification</title>
2025-03-08 00:35:23 +07:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body {
margin: 0;
padding: 0;
2025-03-16 11:01:58 +08:00
background-color: #f5f5f5;
font-family: Arial, sans-serif;
2025-03-08 00:35:23 +07:00
}
2025-05-06 15:21:12 +07:00
.container {
padding: 40px 20px;
background-color: #f5f5f5;
}
2025-03-08 00:35:23 +07:00
.content {
background-color: #ffffff;
max-width: 600px;
2025-05-06 15:21:12 +07:00
margin: 0 auto;
2025-03-16 11:01:58 +08:00
border-radius: 12px;
2025-05-06 15:21:12 +07:00
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
2025-03-16 11:01:58 +08:00
overflow: hidden;
2025-03-08 00:35:23 +07:00
}
.header {
2025-03-16 11:01:58 +08:00
background-color: #d90000;
padding: 25px 30px;
2025-03-08 00:35:23 +07:00
text-align: center;
}
2025-03-16 11:01:58 +08:00
.logo {
width: 120px;
margin-bottom: 15px;
}
.greeting {
2025-05-06 15:21:12 +07:00
color: #ffffff;
2025-03-16 11:01:58 +08:00
font-size: 22px;
font-weight: bold;
margin: 0;
2025-03-08 00:35:23 +07:00
}
2025-03-16 11:01:58 +08:00
.body-content {
padding: 30px;
}
2025-05-06 15:21:12 +07:00
.card {
2025-03-16 11:01:58 +08:00
border-radius: 10px;
padding: 20px;
2025-05-06 15:21:12 +07:00
margin-bottom: 20px;
2025-03-16 11:01:58 +08:00
}
2025-05-06 15:21:12 +07:00
.new-points-card {
background-color: #fff8f0;
border-left: 5px solid #f46f02;
2025-03-08 00:35:23 +07:00
}
2025-05-06 15:21:12 +07:00
.total-points-card {
background-color: #e8f5e9;
border-left: 5px solid #4caf50;
2025-03-08 00:35:23 +07:00
}
2025-05-06 15:21:12 +07:00
.card-heading {
2025-03-16 11:01:58 +08:00
font-size: 14px;
2025-05-06 15:21:12 +07:00
color: #666666;
margin: 0 0 5px;
2025-03-08 00:35:23 +07:00
}
2025-05-06 15:21:12 +07:00
.card-value {
font-size: 26px;
font-weight: bold;
margin: 0;
2025-03-08 00:35:23 +07:00
}
2025-05-06 15:21:12 +07:00
.subtitle {
2025-03-16 11:01:58 +08:00
font-size: 16px;
color: #333333;
2025-05-06 15:21:12 +07:00
line-height: 1.5;
2025-03-16 11:01:58 +08:00
margin-bottom: 25px;
2025-03-08 00:35:23 +07:00
}
.cta-button {
display: block;
2025-03-16 11:01:58 +08:00
width: 100%;
padding: 15px 0;
2025-03-08 00:35:23 +07:00
background-color: #d90000;
color: #ffffff !important;
font-size: 16px;
font-weight: bold;
text-align: center;
text-decoration: none;
2025-03-16 11:01:58 +08:00
border-radius: 8px;
2025-05-06 15:21:12 +07:00
margin-bottom: 20px;
}
.info {
font-size: 14px;
color: #555555;
line-height: 1.5;
margin-bottom: 25px;
2025-03-16 11:01:58 +08:00
}
.footer {
font-size: 12px;
color: #808080;
2025-05-06 15:21:12 +07:00
text-align: center;
padding: 20px;
2025-03-16 11:01:58 +08:00
border-top: 1px solid #eeeeee;
2025-03-08 00:35:23 +07:00
}
2025-05-06 15:21:12 +07:00
a {
color: #f46f02;
text-decoration: none;
}
2025-03-08 00:35:23 +07:00
</style>
</head>
<body>
2025-05-06 15:21:12 +07:00
<div class="container">
2025-03-08 00:35:23 +07:00
<div class="content">
2025-05-06 15:21:12 +07:00
<!-- HEADER -->
2025-03-16 11:01:58 +08:00
<div class="header">
2025-05-06 15:21:12 +07:00
<img src="https://res.cloudinary.com/dl0wpumax/image/upload/c_thumb,w_200,g_face/v1741363977/61747686_5_vtz0n4.png"
alt="Enaklo Logo" class="logo">
2025-03-16 11:01:58 +08:00
<h1 class="greeting">Hai {{ .UserName }}!</h1>
2025-03-08 00:35:23 +07:00
</div>
2025-03-16 11:01:58 +08:00
2025-05-06 15:21:12 +07:00
<!-- BODY -->
2025-03-16 11:01:58 +08:00
<div class="body-content">
2025-05-06 15:21:12 +07:00
<!-- New Points Earned -->
<div class="card new-points-card">
<p class="card-heading">Poin baru yang kamu dapat</p>
<p class="card-value">{{ .NewPoints }} {{ .PointsName }}</p>
2025-03-16 11:01:58 +08:00
</div>
2025-05-06 15:21:12 +07:00
<div class="card total-points-card">
<p class="card-heading">Total Poin Undian</p>
<p class="card-value">{{ .TotalPoints }} {{ .PointsName }}</p>
2025-03-16 11:01:58 +08:00
</div>
2025-05-06 15:21:12 +07:00
<p class="subtitle">
Poin kamu akan digunakan untuk undian pada tanggal <strong>{{ .UndianDate }}</strong>.
</p>
<p class="info">
Nantikan undian pada tanggal <strong>{{ .UndianDate }}</strong>
dan kunjungi <a href="{{ .WebURL }}">{{ .WebURL }}</a> untuk informasi lebih lanjut.
</p>
2025-03-16 11:01:58 +08:00
2025-05-06 15:21:12 +07:00
<!-- FOOTER -->
2025-03-16 11:01:58 +08:00
<div class="footer">
2025-05-06 15:21:12 +07:00
Email ini dikirim otomatis. Mohon jangan membalas email ini.<br>
Butuh bantuan? Hubungi tim support kami di
<a href="mailto:support@enaklo.com">support@enaklo.com</a>.
2025-03-16 11:01:58 +08:00
</div>
2025-05-06 15:21:12 +07:00
2025-03-08 00:35:23 +07:00
</div>
</div>
</div>
</body>
2025-05-06 15:21:12 +07:00
</html>