snipe-it/resources/views/vendor/mail/html/layout.blade.php

55 lines
1.2 KiB
PHP
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
2020-10-23 06:55:23 -07:00
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
2020-10-23 06:55:23 -07:00
<style>
@media only screen and (max-width: 600px) {
.inner-body {
width: 100% !important;
}
2020-10-23 06:55:23 -07:00
.footer {
width: 100% !important;
}
}
2020-10-23 06:55:23 -07:00
@media only screen and (max-width: 500px) {
.button {
width: 100% !important;
}
}
</style>
2020-10-23 06:55:23 -07:00
<table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
{{ $header ?? '' }}
2020-10-23 06:55:23 -07:00
<!-- Email Body -->
<tr>
<td class="body" width="100%" cellpadding="0" cellspacing="0">
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<!-- Body content -->
<tr>
<td class="content-cell">
{{ Illuminate\Mail\Markdown::parse($slot) }}
2020-10-23 06:55:23 -07:00
{{ $subcopy ?? '' }}
</td>
</tr>
</table>
</td>
</tr>
2020-10-23 06:55:23 -07:00
{{ $footer ?? '' }}
</table>
</td>
</tr>
</table>
</body>
</html>