Path: blob/1.0-develop/resources/views/vendor/notifications/email.blade.php
7461 views
<!DOCTYPE html>1<html>23<head>4<meta name="viewport" content="width=device-width, initial-scale=1.0" />5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />67<style type="text/css" rel="stylesheet" media="all">8/* Media Queries */9@media only screen and (max-width: 500px) {10.button {11width: 100% !important;12}13}14</style>15</head>1617<?php1819$style = [20/* Layout ------------------------------ */2122'body' => 'margin: 0; padding: 0; width: 100%; background-color: #F2F4F6;',23'email-wrapper' => 'width: 100%; margin: 0; padding: 0; background-color: #F2F4F6;',2425/* Masthead ----------------------- */2627'email-masthead' => 'padding: 25px 0; text-align: center;',28'email-masthead_name' => 'font-size: 16px; font-weight: bold; color: #2F3133; text-decoration: none; text-shadow: 0 1px 0 white;',2930'email-body' => 'width: 100%; margin: 0; padding: 0; border-top: 1px solid #EDEFF2; border-bottom: 1px solid #EDEFF2; background-color: #FFF;',31'email-body_inner' => 'width: auto; max-width: 570px; margin: 0 auto; padding: 0;',32'email-body_cell' => 'padding: 35px;',3334'email-footer' => 'width: auto; max-width: 570px; margin: 0 auto; padding: 0; text-align: center;',35'email-footer_cell' => 'color: #AEAEAE; padding: 35px; text-align: center;',3637/* Body ------------------------------ */3839'body_action' => 'width: 100%; margin: 30px auto; padding: 0; text-align: center;',40'body_sub' => 'margin-top: 25px; padding-top: 25px; border-top: 1px solid #EDEFF2;',4142/* Type ------------------------------ */4344'anchor' => 'color: #3869D4;',45'header-1' => 'margin-top: 0; color: #2F3133; font-size: 19px; font-weight: bold; text-align: left;',46'paragraph' => 'margin-top: 0; color: #74787E; font-size: 16px; line-height: 1.5em;',47'paragraph-sub' => 'margin-top: 0; color: #74787E; font-size: 12px; line-height: 1.5em;',48'paragraph-center' => 'text-align: center;',4950/* Buttons ------------------------------ */5152'button' => 'display: block; display: inline-block; width: 200px; min-height: 20px; padding: 10px;53background-color: #3869D4; border-radius: 3px; color: #ffffff; font-size: 15px; line-height: 25px;54text-align: center; text-decoration: none; -webkit-text-size-adjust: none;',5556'button--green' => 'background-color: #22BC66;',57'button--red' => 'background-color: #dc4d2f;',58'button--blue' => 'background-color: #3869D4;',59];60?>6162<?php $fontFamily = 'font-family: Arial, \'Helvetica Neue\', Helvetica, sans-serif;'; ?>6364<body style="{{ $style['body'] }}">65<table width="100%" cellpadding="0" cellspacing="0">66<tr>67<td style="{{ $style['email-wrapper'] }}" align="center">68<table width="100%" cellpadding="0" cellspacing="0">69<!-- Logo -->70<tr>71<td style="{{ $style['email-masthead'] }}">72<a style="{{ $fontFamily }} {{ $style['email-masthead_name'] }}" href="{{ url('/') }}" target="_blank">73{{ config('app.name') }}74</a>75</td>76</tr>7778<!-- Email Body -->79<tr>80<td style="{{ $style['email-body'] }}" width="100%">81<table style="{{ $style['email-body_inner'] }}" align="center" width="570" cellpadding="0" cellspacing="0">82<tr>83<td style="{{ $fontFamily }} {{ $style['email-body_cell'] }}">84<!-- Greeting -->85<h1 style="{{ $style['header-1'] }}">86@if (! empty($greeting))87{{ $greeting }}88@else89@if ($level == 'error')90Whoops!91@else92Hello!93@endif94@endif95</h1>9697<!-- Intro -->98@foreach ($introLines as $line)99<p style="{{ $style['paragraph'] }}">100{{ $line }}101</p>102@endforeach103104<!-- Action Button -->105@if (isset($actionText))106<table style="{{ $style['body_action'] }}" align="center" width="100%" cellpadding="0" cellspacing="0">107<tr>108<td align="center">109<?php110switch ($level) {111case 'success':112$actionColor = 'button--green';113break;114case 'error':115$actionColor = 'button--red';116break;117default:118$actionColor = 'button--blue';119}120?>121122<a href="{{ $actionUrl }}"123style="{{ $fontFamily }} {{ $style['button'] }} {{ $style[$actionColor] }}"124class="button"125target="_blank">126{{ $actionText }}127</a>128</td>129</tr>130</table>131@endif132133<!-- Outro -->134@foreach ($outroLines as $line)135<p style="{{ $style['paragraph'] }}">136{{ $line }}137</p>138@endforeach139140<!-- Salutation -->141<p style="{{ $style['paragraph'] }}">142Regards,<br>{{ config('app.name') }}143</p>144145<!-- Sub Copy -->146@if (isset($actionText))147<table style="{{ $style['body_sub'] }}">148<tr>149<td style="{{ $fontFamily }}">150<p style="{{ $style['paragraph-sub'] }}">151If you’re having trouble clicking the "{{ $actionText }}" button,152copy and paste the URL below into your web browser:153</p>154155<p style="{{ $style['paragraph-sub'] }}">156<a style="{{ $style['anchor'] }}" href="{{ $actionUrl }}" target="_blank">157{{ $actionUrl }}158</a>159</p>160</td>161</tr>162</table>163@endif164</td>165</tr>166</table>167</td>168</tr>169170<!-- Footer -->171<tr>172<td>173<table style="{{ $style['email-footer'] }}" align="center" width="570" cellpadding="0" cellspacing="0">174<tr>175<td style="{{ $fontFamily }} {{ $style['email-footer_cell'] }}">176<p style="{{ $style['paragraph-sub'] }}">177© {{ date('Y') }}178<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ config('app.name') }}</a>.179All rights reserved.180</p>181</td>182</tr>183</table>184</td>185</tr>186</table>187</td>188</tr>189</table>190</body>191</html>192193194