Files
openpanel/templates/tabler/system/new_user_email.html
2024-10-25 01:44:26 +02:00

163 lines
13 KiB
HTML

<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="width: 100% !important;">
<tbody>
<tr>
<td align="center">
<table width="600" border="0" cellspacing="0" cellpadding="40" style="border: 1px solid #eaeaea; border-radius: 5px; margin: 40px 0;">
<tbody>
<tr>
<td align="center">
<div
style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; text-align: left; width: 465px;"
>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="width: 100% !important;">
<tbody>
<tr>
<td align="center">
<div style="padding-top: 50px; font-weight: 1000; vertical-align: middle;">
<div>
<a href="https://openpanel.com" target="_blank">
<img src="https://openpanel.com/img/openpanel_logo.png" width="40" height="37" alt="OpenPanel" class="CToWUd" data-bit="iit">
</a>
</div>
</div>
<h1
style="
color: #000;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 24px;
font-weight: normal;
margin: 30px 0;
padding: 0;
"
>
{{ title }}
</h1>
</td>
</tr>
</tbody>
</table>
<table id="m_-78391128173992984898e7e1112-7980-4bdd-9db6-cdb6e0a4d77b" width="100%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding-bottom: 8px; padding-left: 4px; padding-right: 4px; padding-top: 8px;">
<table width="100%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<p
style="
color: #000;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-size: 14px;
line-height: 24px;
"
></p>
{% if 'OpenPanel URL:' in message %}
{% set parts = message.split('|') %}
{% set link = parts[0].split('OpenPanel URL:')[1].strip() %}
{% set username = parts[1].split('username:')[1].strip() %}
{% set password = parts[2].split('password:')[1].strip() %}
<p
style="
color: #000;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-size: 14px;
line-height: 24px;
"
>Your new OpenPanel account is all set to go! You can access it using the following credentials:</p>
<br>
<p
style="
color: #000;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-size: 14px;
line-height: 24px;
"
>OpenPanel URL: <a href="{{ link }} style="text-decoration: none;" target="_blank" data-saferedirecturl="{{ link }}">{{ link }}</a></p>
<p
style="
color: #000;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-size: 14px;
line-height: 24px;
"
>Username: <strong style="color:#000;font-weight:bold">{{ username }}</strong></p>
<p
style="
color: #000;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-size: 14px;
line-height: 24px;
"
>Password: <code style="color:rgb(189,16,224);font-family:Menlo,Monaco,&quot;Lucida Console&quot;,&quot;Liberation Mono&quot;,&quot;DejaVu Sans Mono&quot;,&quot;Bitstream Vera Sans Mono&quot;,&quot;Courier New&quot;,monospace,serif;font-size:0.9em;text-decoration:none">{{ password }}</code></p>
{% else %}
<p
style="
color: #000;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-size: 14px;
line-height: 24px;
"
>{{ message }}</p>
{% endif %}
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<hr style="border: none; border-top: 1px solid #eaeaea; margin: 26px 0; width: 100%;" />
<p
style="
color: #666666;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 12px;
line-height: 24px;
"
>
This email was send by OpenPanel server: <strong style="color: #000; font-weight: bold;">{{ hostname }}</strong>
</p>
<p
style="
color: #666666;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 12px;
line-height: 24px;
"
>
OpenPanel B.V. -
<a href="https://openpanel.com" style="color: #067df7; text-decoration: none;" target="_blank" data-saferedirecturl="https://openpanel.com">
openpanel.com
</a>
</p>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>