test email template
This commit is contained in:
parent
56394cdbd1
commit
303f3dc1f8
|
|
@ -219,6 +219,7 @@ class Plugin extends PluginBase
|
|||
return [
|
||||
'birzha_default' => 'tps.birzha::mail.layout-default',
|
||||
'birzha_system' => 'tps.birzha::mail.layout-system',
|
||||
'birzha_empty' => 'tps.birzha::mail.layout-empty',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -250,6 +251,9 @@ class Plugin extends PluginBase
|
|||
|
||||
// new message recieved
|
||||
'tps.birzha::mail.message_recieved',
|
||||
|
||||
// test email template
|
||||
'tps.birzha::mail.test',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
name = "Empty layout birzha"
|
||||
==
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
|
||||
<title>Email template</title>
|
||||
<style type="text/css">
|
||||
@media screen and (max-width: 450px) {
|
||||
.title {
|
||||
width: calc(100% - 54px);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body style="font-family: 'Poppins', sans-serif; font-size: 14px; color: #000; line-height: 1.4; font-weight: 400; background: #fff; position: relative; -webkit-font-smoothing: antialiased; -moz-font-smoothing: antialiased;">
|
||||
|
||||
{{ content|raw }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
layout="birzha_empty"
|
||||
==
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="wrapper" style=" margin: 10px;">
|
||||
<div class="inner">
|
||||
|
||||
<table class="mail" style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
|
||||
|
||||
<tr style="background-image: url({{ asset('themes/birzha/assets/images/footer-bg.png') }})">
|
||||
<th class="header" style="padding: 0; position: relative;">
|
||||
<div class="header_row" style=" display: flex; align-items: center; padding: 10px 20px;">
|
||||
<div class="logo" style="width: 44px; height: 44px; margin-right: 20px; position: relative; z-index: 2;">
|
||||
<img style=" width: 100%; height: 100%; object-fit: contain; -o-object-fit: contain;" src="images/mini-logo.png" alt="logo">
|
||||
</div>
|
||||
|
||||
<h1 class="title" style="font-size: 16px; text-align: left; font-weight: 700; line-height: 1.5; color: #fff; width: calc(100% - 60px);">
|
||||
Подтвердите адрес электронной почты.
|
||||
</h1>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
<tbody class="content">
|
||||
<tr>
|
||||
<td style="padding: 30px 0 0 20px;">
|
||||
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||
Здравствуйте, <span> (имя) </span>.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 20px 0 20px;">
|
||||
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||
Вы успешно зарегистрировались на сайте Государственной товарно-сырьевой биржи
|
||||
Туркменистана.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 0 20px 30px 20px;">
|
||||
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4;">
|
||||
Чтобы подтвердить адрес электронной почты и полностью активировать учетную запись,
|
||||
<a href="#"> перейдите по
|
||||
ссылке ...</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue