Password Reset work
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
@component('mail::message',['site_name'=>$site_name,'logo'=>$logo])
|
||||
# Password Reset
|
||||
@component('mail::message',['site'=>$site,'heading'=>'Password Reset'])
|
||||
Hi {{ isset($user) ? $user->name.',' : '' }}
|
||||
|
||||
You are receiving this email because we received a password reset request for your account.
|
||||
|
||||
If you did not request a password reset, no further action is required.
|
||||
|
||||
To reset your password, please follow this link, or click on the URL below:
|
||||
@component('mail::button', ['url' => $reset_link])
|
||||
@component('mail::panel',['url'=>$reset_link])
|
||||
Reset Password
|
||||
@endcomponent
|
||||
|
||||
@component('mail::panel')
|
||||
@component('mail::subcopy')
|
||||
Reset password: {{ $reset_link }}
|
||||
@endcomponent
|
||||
|
||||
Thanks,<br>
|
||||
{{ $site_name }}
|
||||
@endcomponent
|
||||
{{ config('mail.from.name') }}
|
||||
@endcomponent
|
@@ -1,6 +1,6 @@
|
||||
<div class="header">
|
||||
<div class="fixedw">
|
||||
<img src="{{ $logo }}"><br>
|
||||
<img src="{{ url($site->email_logo) }}"><br>
|
||||
<div class="subject">{{ $slot }}</div>
|
||||
</div>
|
||||
</div>
|
@@ -1,7 +1,7 @@
|
||||
@component('mail::layout')
|
||||
{{-- Header --}}
|
||||
@slot('header')
|
||||
@component('mail::header', ['url' => config('app.url'),'logo'=>url($site->email_logo)])
|
||||
@component('mail::header',['site'=>$site])
|
||||
{{ $heading }}
|
||||
@endcomponent
|
||||
@endslot
|
||||
|
@@ -1,5 +1,9 @@
|
||||
<div style="margin: auto; text-align: center; padding-bottom: 20px;">
|
||||
<div class="panel">
|
||||
{{ $slot }}
|
||||
@isset($url)
|
||||
<a href="{{ $url }}">{{ $slot }}</a>
|
||||
@else
|
||||
{{ $slot }}
|
||||
@endisset
|
||||
</div>
|
||||
</div>
|
@@ -41,8 +41,9 @@ body{
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
font-weight: 300;
|
||||
margin-top: 20px;
|
||||
margin-top: 10px;
|
||||
font-size: 0.8em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.main-body{
|
||||
background: #ffffff;
|
||||
@@ -74,13 +75,16 @@ body{
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
/* -- TO VALIDATE -- */
|
||||
a{
|
||||
.panel a{
|
||||
text-decoration: underline;
|
||||
color: #1cbbb4
|
||||
color: #f4f4f4;
|
||||
}
|
||||
.panel a:hover{
|
||||
text-decoration: none;
|
||||
color: #ffffff;
|
||||
}
|
||||
a:hover{text-decoration: none;}
|
||||
|
||||
/* -- TO VALIDATE -- */
|
||||
h1{
|
||||
font-weight: 300;
|
||||
color: #121212;
|
||||
|
Reference in New Issue
Block a user