%PDF- %PDF-
| Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/twofa/views/mails/ |
| Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/twofa/views/mails/VerifyingCode.php |
<?php
use humhub\modules\ui\mail\DefaultMailStyle;
use humhub\modules\user\models\User;
use yii\helpers\Html;
/** @var string $code */
/** @var User $user */
$colorPrimary = Yii::$app->view->theme->variable('primary', '#708fa0')
?>
<tr>
<td align="center" valign="top" class="fix-box">
<!-- start container width 600px -->
<table width="600" align="center" border="0" cellspacing="0" cellpadding="0" class="container"
style="background-color: <?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; ">
<tr>
<td valign="top">
<!-- start container width 560px -->
<table width="540" align="center" border="0" cellspacing="0" cellpadding="0" class="full-width"
style="background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>;">
<!-- start text content -->
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top" width="auto" align="center">
<!-- start button -->
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="auto" align="center" valign="middle" height="28"
style="background-color: <?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; background-clip: padding-box; font-size: 26px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', DefaultMailStyle::DEFAULT_FONT_FAMILY) ?>; text-align: center; font-weight: 300; padding-left: 18px; padding-right: 18px; ">
<span style="color: <?= Yii::$app->view->theme->variable('text-color-highlight', '#555') ?>; font-weight: 300;">
<?= Yii::t('TwofaModule.base', 'Your login verification code'); ?>
</span>
</td>
</tr>
</table>
<!-- end button -->
</td>
</tr>
</table>
</td>
</tr>
<!-- end text content -->
</table>
<!-- end container width 560px -->
</td>
</tr>
</table>
<!-- end container width 600px -->
</td>
</tr>
<tr>
<td align="center" valign="top" class="fix-box">
<!-- start container width 600px -->
<table width="600" align="center" border="0" cellspacing="0" cellpadding="0" class="container"
style="background-color: <?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px;">
<tr>
<td valign="top">
<!-- start container width 560px -->
<table width="540" align="center" border="0" cellspacing="0" cellpadding="0" class="full-width"
style="background-color:<?= Yii::$app->view->theme->variable('background-color-main', '#fff') ?>;">
<!-- start text content -->
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="left">
<!-- start text content -->
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" align="left">
<!--start space height -->
<tr>
<td height="30"></td>
</tr>
<!--end space height -->
<tr>
<td style="font-size: 14px; line-height: 22px; font-family: <?= Yii::$app->view->theme->variable('mail-font-family', DefaultMailStyle::DEFAULT_FONT_FAMILY) ?>; color: <?= Yii::$app->view->theme->variable('text-color-main', '#777') ?>; font-weight: 300; text-align: left; ">
<?= Yii::t('TwofaModule.base', 'Hello {displayName}!', ['{displayName}' => Html::encode($user->displayName)]) ?>
<br><br>
<?= Yii::t('TwofaModule.base', 'Your account is secured by a two-factor authentication system. Please use the following code to proceed.'); ?>
<br><br>
<strong><?= Yii::t('TwofaModule.base', 'Date and time:'); ?></strong><br/>
<?= Yii::$app->formatter->asDatetime(time()); ?><br/>
<br/>
<strong><?= Yii::t('TwofaModule.base', 'Code:'); ?></strong><br/>
<div style="font-size:30px;line-height:36px;font-weight:bold;color:<?= $colorPrimary ?>"><?= $code ?></div>
</td>
</tr>
<!--start space height -->
<tr>
<td height="30"></td>
</tr>
<!--end space height -->
</table>
</td>
</tr>
<!-- end text content -->
</table>
</td>
</tr>
<!-- end text content -->
</table>
<!-- end container width 560px -->
</td>
</tr>
</table>
<!-- end container width 600px -->
</td>
</tr>