first commit
This commit is contained in:
164
admin/templates/email/base_admin_pretty.tpl
Normal file
164
admin/templates/email/base_admin_pretty.tpl
Normal file
@@ -0,0 +1,164 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="color-scheme" content="light dark">
|
||||
<meta name="supported-color-schemes" content="light dark">
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #000;
|
||||
font-size: 14px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #006CE5;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #006CE5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #006CE5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#content table,
|
||||
#content p {
|
||||
color: #000;
|
||||
font-size: 14px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
#content p {
|
||||
margin: 7px 0;
|
||||
}
|
||||
|
||||
#content table a,
|
||||
#content p a {
|
||||
color: #006CE5;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.label-severity {
|
||||
display: block;
|
||||
min-width: 120px;
|
||||
color: #fefefe !important;
|
||||
text-transform: uppercase;
|
||||
padding: 7px;
|
||||
text-align: center;
|
||||
}
|
||||
.label-severity-success {
|
||||
background: #b9eb83;
|
||||
}
|
||||
.label-severity-error {
|
||||
background: #eeb1b4;
|
||||
}
|
||||
.label-severity-warning {
|
||||
background: #ffd56d;
|
||||
}
|
||||
.label-severity-notice,
|
||||
.label-severity-recommendation {
|
||||
background: #95beff;
|
||||
}
|
||||
|
||||
.cls-1 {
|
||||
fill: #fff;
|
||||
}
|
||||
|
||||
u ~ .label-severity {
|
||||
color: #fefefe !important;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 544px) {
|
||||
#content {
|
||||
padding: 12px 18px !important;
|
||||
}
|
||||
|
||||
#report_activities {
|
||||
padding: 20px 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.label-severity {
|
||||
color: #fefefe !important;
|
||||
}
|
||||
}
|
||||
|
||||
[data-ogsb] .label-severity,
|
||||
[data-ogsc] .label-severity {
|
||||
color: #fefefe !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body bgcolor="#f7f6f6" style="background-color: #f7f6f6;">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#f7f6f6" style="background-color: #f7f6f6;">
|
||||
<tr>
|
||||
<td style="padding-top: 20px;">
|
||||
<div align="center"><!-- centruje se v obklopující 100% tabulce -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%!important;max-width: 680px!important; padding-top:10px;background-color: #f7f6f6;" bgcolor="#ffffff" class="wrapper">
|
||||
<tr>
|
||||
<td style="padding: 30px 50px 20px;text-align: center;" id="logo-wrapper" align="left">
|
||||
{svgToBase64 url="/admin/static/images/logo-white-bg.svg" assign='base64Logo'}
|
||||
<img src="{if $base64Logo}{$base64Logo}{else}{static_url url="/admin/static/images/logo-white-bg.svg" absolute=1}{/if}" alt="wpjshop" width="100" style="border:0;display: block;margin: 0 auto;text-align: center;" class="img-responsive logo"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#f7f6f6" style="background-color: #f7f6f6;">
|
||||
<tr>
|
||||
<td>
|
||||
<div align="center"><!-- centruje se v obklopující 100% tabulce -->
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%!important;max-width: 680px!important; padding-top:10px;background-color: #ffffff" bgcolor="#ffffff" class="wrapper">
|
||||
|
||||
<tr>
|
||||
<td align="left" style="text-align: left; padding: 30px 50px;" id="content">
|
||||
{block "content"}
|
||||
{/block}
|
||||
|
||||
{block email_bye}
|
||||
{if $body.footer}
|
||||
{$body.footer nofilter}
|
||||
{else}
|
||||
<p class="bye" style="text-align: center;">
|
||||
Tento e-mail dostáváte na základě nastavení notifikací z Activity logu.<br>Nastavení můžete v administraci e-shopu.
|
||||
</p>
|
||||
{/if}
|
||||
{/block}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#f7f6f6" style="background-color: #f7f6f6">
|
||||
<tr>
|
||||
<td style="padding-bottom: 20px;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user