48 lines
2.9 KiB
PHP
48 lines
2.9 KiB
PHP
<x-mail.layout
|
|
:heading="__('devices.mail_heading')"
|
|
:preheader="__('devices.mail_preheader', ['device' => $device->name])"
|
|
:greeting="$name !== '' ? __('devices.mail_greeting', ['name' => $name]) : null"
|
|
>
|
|
|
|
<tr><td style="padding:0 40px 24px 40px;">
|
|
<p style="margin:0;font-size:15px;line-height:24px;color:#43434e;">{{ __('devices.mail_intro') }}</p>
|
|
</td></tr>
|
|
|
|
{{-- The facts, as a table rather than a sentence: the reader is checking
|
|
whether this was them, and that is a comparison, not a story. --}}
|
|
<tr><td style="padding:0 40px;">
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;background-color:#fafafb;border:1px solid #e9e9ee;border-radius:8px;">
|
|
<tr>
|
|
<td style="padding:14px 16px 6px 16px;font-size:13px;line-height:20px;color:#6e6e7a;width:38%;">{{ __('devices.field_device') }}</td>
|
|
<td style="padding:14px 16px 6px 16px;font-size:13px;line-height:20px;color:#17171c;font-weight:600;">{{ $device->name }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:0 16px 6px 16px;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('devices.field_when') }}</td>
|
|
<td style="padding:0 16px 6px 16px;font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:20px;color:#43434e;">{{ $device->last_seen_at?->local()->isoFormat('LLLL') }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:0 16px 14px 16px;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('devices.field_ip') }}</td>
|
|
<td style="padding:0 16px 14px 16px;font-family:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:20px;color:#43434e;">{{ $device->last_ip ?? '—' }}</td>
|
|
</tr>
|
|
</table>
|
|
</td></tr>
|
|
|
|
<tr><td style="padding:24px 40px 0 40px;">
|
|
<p style="margin:0 0 16px 0;font-size:15px;line-height:24px;color:#43434e;">{{ __('devices.mail_if_you') }}</p>
|
|
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr><td align="center" bgcolor="#b8500a" style="background-color:#b8500a;border-radius:8px;">
|
|
<a href="{{ $sessionsUrl }}" style="display:inline-block;padding:13px 26px;font-family:'IBM Plex Sans',-apple-system,Helvetica,Arial,sans-serif;font-size:15px;line-height:20px;font-weight:600;color:#ffffff;text-decoration:none;border-radius:8px;">{{ __('devices.mail_action') }}</a>
|
|
</td></tr>
|
|
</table>
|
|
</td></tr>
|
|
|
|
<tr><td style="padding:24px 40px 32px 40px;">
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr><td style="border-top:1px solid #e9e9ee;padding-top:20px;">
|
|
<p style="margin:0;font-size:13px;line-height:20px;color:#6e6e7a;">{{ __('devices.mail_false_alarm') }}</p>
|
|
</td></tr>
|
|
</table>
|
|
</td></tr>
|
|
|
|
</x-mail.layout>
|