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
|
||||
php artisan vendor:publish --tag=laravel-notifications
|
||||
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([
|
||||
'url',
|
||||
'color' => 'primary',
|
||||
'align' => 'center',
|
||||
])
|
||||
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td align="{{ $align }}">
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td align="{{ $align }}">
|
||||
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="{{ $url }}" class="button button-{{ $color }}" target="_blank" rel="noopener">{!! $slot !!}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@props(['url', 'color' => 'primary', 'align' => 'center'])
|
||||
<table class="wp-block-table action">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</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>
|
||||
Reference in new issue
Block a user