wip
This commit is contained in:
1 parent
7c65b5ccc9
commit
6792bcf4fa
3 files changed
+58
-43
No files matched your search
@@ -35,3 +35,6 @@ in supervisord
|
|||||||
MAIL
|
MAIL
|
||||||
php artisan vendor:publish --tag=laravel-notifications
|
php artisan vendor:publish --tag=laravel-notifications
|
||||||
php artisan vendor:publish --tag=laravel-mail
|
php artisan vendor:publish --tag=laravel-mail
|
||||||
|
|
||||||
|
php artisan tinker
|
||||||
|
Mail::raw('Hello World!', function($msg) {$msg->to('ht@webwerkstatt.tirol')->subject('Test Email'); });
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace App\Providers;
|
|
||||||
|
|
||||||
use Illuminate\Auth\Notifications\VerifyEmail;
|
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
|
||||||
use Illuminate\Support\ServiceProvider;
|
|
||||||
|
|
||||||
class AuthServiceProvider extends ServiceProvider
|
|
||||||
{
|
|
||||||
public function boot()
|
|
||||||
{
|
|
||||||
VerifyEmail::toMailUsing(function ($notifiable, $url) {
|
|
||||||
return (new MailMessage)
|
|
||||||
->subject('Verify Email Address')
|
|
||||||
->line('Click the button below to verify your email address.')
|
|
||||||
->action('Verify Email Address', $url);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+55
-23
@@ -1,24 +1,56 @@
|
|||||||
@props([
|
@props(['url', 'color' => 'primary', 'align' => 'center'])
|
||||||
'url',
|
<table class="wp-block-table action">
|
||||||
'color' => 'primary',
|
<tbody>
|
||||||
'align' => 'center',
|
<tr>
|
||||||
])
|
<td>
|
||||||
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
<table border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tbody>
|
||||||
<td align="{{ $align }}">
|
<tr>
|
||||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
|
<td align="center">
|
||||||
<tr>
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<td align="{{ $align }}">
|
<tbody>
|
||||||
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
|
<tr>
|
||||||
<tr>
|
<td><a class="button button-{{ $color or 'blue' }}"
|
||||||
<td>
|
href="{{ $url }}" target="_blank"
|
||||||
<a href="{{ $url }}" class="button button-{{ $color }}" target="_blank" rel="noopener">{!! $slot !!}</a>
|
rel="noopener">{{ $slot }}</a></td>
|
||||||
</td>
|
</tr>
|
||||||
</tr>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
</td>
|
</table>
|
||||||
</tr>
|
</td>
|
||||||
|
<td>
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a class="button button-{{ $color or 'blue' }}" href="{{ $url }}"
|
||||||
|
target="_blank" rel="noopener">{{ $slot }}</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td><a class="button button-{{ $color or 'blue' }}" href="{{ $url }}" target="_blank"
|
||||||
|
rel="noopener">{{ $slot }}</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td><a class="button button-{{ $color or 'blue' }}" href="{{ $url }}"
|
||||||
|
target="_blank" rel="noopener">{{ $slot }}</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td><a class="button button-{{ $color or 'blue' }}" href="{{ $url }}" target="_blank"
|
||||||
|
rel="noopener">{{ $slot }}</a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a class="button button-{{ $color or 'blue' }}" href="{{ $url }}" target="_blank"
|
||||||
|
rel="noopener">{{ $slot }}</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
Reference in new issue
Block a user