Skip to content

Commit

Permalink
Ignore published Blade files
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Jul 11, 2023
1 parent e8faf70 commit ae2634f
Show file tree
Hide file tree
Showing 14 changed files with 223 additions and 231 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
resources/views/tasks/**/*.blade.php
resources/views/vendor/**/*.blade.php
resources/views/components/server/**/*.blade.php
resources/views/components/task-shell-defaults.blade.php
34 changes: 17 additions & 17 deletions resources/views/vendor/mail/html/button.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
'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>
<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>
</table>
18 changes: 9 additions & 9 deletions resources/views/vendor/mail/html/footer.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<tr>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="content-cell" align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>
</td>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="content-cell" align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>
</td>
</tr>
18 changes: 9 additions & 9 deletions resources/views/vendor/mail/html/header.blade.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@props(['url'])
<tr>
<td class="header">
<a href="{{ $url }}" style="display: inline-block">
@if (trim($slot) === 'Laravel')
<img src="https://laravel.com/img/notification-logo.png" class="logo" alt="Laravel Logo" />
@else
{{ $slot }}
@endif
</a>
</td>
<td class="header">
<a href="{{ $url }}" style="display: inline-block;">
@if (trim($slot) === 'Laravel')
<img src="https://laravel.com/img/notification-logo.png" class="logo" alt="Laravel Logo">
@else
{{ $slot }}
@endif
</a>
</td>
</tr>
97 changes: 49 additions & 48 deletions resources/views/vendor/mail/html/layout.blade.php
Original file line number Diff line number Diff line change
@@ -1,56 +1,57 @@
<!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>
<title>{{ config('app.name') }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="color-scheme" content="light" />
<meta name="supported-color-schemes" content="light" />
<style>
@media only screen and (max-width: 600px) {
.inner-body {
width: 100% !important;
}
<head>
<title>{{ config('app.name') }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="color-scheme" content="light">
<meta name="supported-color-schemes" content="light">
<style>
@media only screen and (max-width: 600px) {
.inner-body {
width: 100% !important;
}
.footer {
width: 100% !important;
}
}
.footer {
width: 100% !important;
}
}
@media only screen and (max-width: 500px) {
.button {
width: 100% !important;
}
}
</style>
</head>
<body>
<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 ?? '' }}
@media only screen and (max-width: 500px) {
.button {
width: 100% !important;
}
}
</style>
</head>
<body>

<!-- Email Body -->
<tr>
<td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important">
<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) }}
<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 ?? '' }}

{{ $subcopy ?? '' }}
</td>
</tr>
</table>
</td>
</tr>
<!-- Email Body -->
<tr>
<td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;">
<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) }}

{{ $footer ?? '' }}
</table>
</td>
</tr>
</table>
</body>
{{ $subcopy ?? '' }}
</td>
</tr>
</table>
</td>
</tr>

{{ $footer ?? '' }}
</table>
</td>
</tr>
</table>
</body>
</html>
45 changes: 22 additions & 23 deletions resources/views/vendor/mail/html/message.blade.php
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
<x-mail::layout>
{{-- Header --}}
<x-slot:header>
<x-mail::header :url="config('app.url')">
<img src="{{ asset('logo.png') }}" class="logo" alt="{{ config('app.name') }} Logo" />
</x-mail::header>
</x-slot>
{{-- Header --}}
<x-slot:header>
<x-mail::header :url="config('app.url')">
<img src="{{ asset('logo.png') }}" class="logo" alt="{{ config('app.name') }} Logo">
</x-mail::header>
</x-slot:header>

{{-- Body --}}
{{ $slot }}
{{-- Body --}}
{{ $slot }}

{{-- Subcopy --}}
@isset($subcopy)
<x-slot:subcopy>
<x-mail::subcopy>
{{ $subcopy }}
</x-mail::subcopy>
</x-slot>
@endisset
{{-- Subcopy --}}
@isset($subcopy)
<x-slot:subcopy>
<x-mail::subcopy>
{{ $subcopy }}
</x-mail::subcopy>
</x-slot:subcopy>
@endisset

{{-- Footer --}}
<x-slot:footer>
<x-mail::footer>
© {{ date('Y') }} {{ config('app.name') }}.
@lang('All rights reserved.')
</x-mail::footer>
</x-slot>
{{-- Footer --}}
<x-slot:footer>
<x-mail::footer>
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
</x-mail::footer>
</x-slot:footer>
</x-mail::layout>
23 changes: 12 additions & 11 deletions resources/views/vendor/mail/html/panel.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<table class="panel" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="panel-content">
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="panel-item">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="panel-content">
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="panel-item">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>
</td>
</tr>
</table>

10 changes: 5 additions & 5 deletions resources/views/vendor/mail/html/subcopy.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
<tr>
<td>
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>
2 changes: 1 addition & 1 deletion resources/views/vendor/mail/html/table.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="table">
{{ Illuminate\Mail\Markdown::parse($slot) }}
{{ Illuminate\Mail\Markdown::parse($slot) }}
</div>
23 changes: 12 additions & 11 deletions resources/views/vendor/mail/html/themes/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
body,
body *:not(html):not(style):not(br):not(tr):not(code) {
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
position: relative;
}

body {
-webkit-text-size-adjust: none;
background-color: #ffffff;
color: #64748b;
color: #64748B;
height: 100%;
line-height: 1.4;
margin: 0;
Expand All @@ -37,7 +38,7 @@ a img {
/* Typography */

h1 {
color: #2b323b;
color: #2B323B;
font-size: 18px;
font-weight: bold;
margin-top: 0;
Expand Down Expand Up @@ -79,7 +80,7 @@ img {
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
background-color: #f6f7f9;
background-color: #F6F7F9;
margin: 0;
padding: 0;
width: 100%;
Expand All @@ -102,7 +103,7 @@ img {
}

.header a {
color: #2b323b;
color: #2B323B;
font-size: 19px;
font-weight: bold;
text-decoration: none;
Expand All @@ -122,9 +123,9 @@ img {
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
background-color: #f6f7f9;
border-bottom: 1px solid #f6f7f9;
border-top: 1px solid #f6f7f9;
background-color: #F6F7F9;
border-bottom: 1px solid #F6F7F9;
border-top: 1px solid #F6F7F9;
margin: 0;
padding: 0;
width: 100%;
Expand Down Expand Up @@ -264,13 +265,13 @@ img {
}

.panel-content {
background-color: #f6f7f9;
color: #64748b;
background-color: #F6F7F9;
color: #64748B;
padding: 16px;
}

.panel-content p {
color: #64748b;
color: #64748B;
}

.panel-item {
Expand Down
3 changes: 2 additions & 1 deletion resources/views/vendor/mail/text/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

{!! strip_tags($slot) !!}
@isset($subcopy)
{!! strip_tags($subcopy) !!}

{!! strip_tags($subcopy) !!}
@endisset

{!! strip_tags($footer) !!}
Loading

0 comments on commit ae2634f

Please sign in to comment.