Added missing vendor resources
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,4 +1,4 @@
|
||||
/node_modules
|
||||
/vendor
|
||||
.env
|
||||
node_modules
|
||||
phpunit.xml
|
||||
vendor
|
||||
|
||||
29
resources/views/vendor/feed/atom.blade.php
vendored
Normal file
29
resources/views/vendor/feed/atom.blade.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
{!! '<'.'?'.'xml version="1.0" encoding="UTF-8" ?>' !!}
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"<?php foreach($namespaces as $n) echo " ".$n; ?>>
|
||||
<title type="text">{!! $channel['title'] !!}</title>
|
||||
<subtitle type="html"><![CDATA[{!! $channel['description'] !!}]]></subtitle>
|
||||
<link href="{{ Request::url() }}"></link>
|
||||
<id>{{ $channel['link'] }}</id>
|
||||
<link rel="alternate" type="text/html" href="{{ Request::url() }}" ></link>
|
||||
<link rel="self" type="application/atom+xml" href="{{ $channel['link'] }}" ></link>
|
||||
@if (!empty($channel['logo']))
|
||||
<logo>{{ $channel['logo'] }}</logo>
|
||||
@endif
|
||||
@if (!empty($channel['icon']))
|
||||
<icon>{{ $channel['icon'] }}</icon>
|
||||
@endif
|
||||
<updated>{{ $channel['pubdate'] }}</updated>
|
||||
@foreach($items as $item)
|
||||
<entry>
|
||||
<author>
|
||||
<name>{{ $item['author'] }}</name>
|
||||
</author>
|
||||
<title type="text"><![CDATA[{!! $item['title'] !!}]]></title>
|
||||
<link rel="alternate" type="text/html" href="{{ $item['link'] }}"></link>
|
||||
<id>{{ $item['link'] }}</id>
|
||||
<summary type="html"><![CDATA[{!! $item['description'] !!}]]></summary>
|
||||
<content type="html"><![CDATA[{!! $item['content'] !!}]]></content>
|
||||
<updated>{{ $item['pubdate'] }}</updated>
|
||||
</entry>
|
||||
@endforeach
|
||||
</feed>
|
||||
89
resources/views/vendor/feed/rss.blade.php
vendored
Normal file
89
resources/views/vendor/feed/rss.blade.php
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
{!! '<'.'?'.'xml version="1.0" encoding="UTF-8" ?>' !!}
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0" xmlns:media="http://search.yahoo.com/mrss/"<?php foreach($namespaces as $n) echo " ".$n; ?>>
|
||||
<channel>
|
||||
<title>{!! $channel['title'] !!}</title>
|
||||
<link>{{ Request::url() }}</link>
|
||||
<description><![CDATA[{!! $channel['description'] !!}]]></description>
|
||||
<atom:link href="{{ $channel['link'] }}" rel="self"></atom:link>
|
||||
@if (!empty($channel['copyright']))
|
||||
<copyright>{{ $channel['copyright'] }}</copyright>
|
||||
@endif
|
||||
@if (!empty($channel['color']))
|
||||
<webfeeds:accentColor>{{ $channel['color'] }}</webfeeds:accentColor>
|
||||
@endif
|
||||
@if (!empty($channel['cover']))
|
||||
<webfeeds:cover image="{{ $channel['cover'] }}">
|
||||
@endif
|
||||
@if (!empty($channel['icon']))
|
||||
<webfeeds:icon>{{ $channel['icon'] }}</webfeeds:icon>
|
||||
@endif
|
||||
@if (!empty($channel['logo']))
|
||||
<webfeeds:logo>{{ $channel['logo'] }}</webfeeds:logo>
|
||||
<image>
|
||||
<url>{{ $channel['logo'] }}</url>
|
||||
<title>{{ $channel['title'] }}</title>
|
||||
<link>{{ Request::url() }}</link>
|
||||
</image>
|
||||
@endif
|
||||
@if (!empty($channel['related']))
|
||||
<webfeeds:related layout="card" target="browser">
|
||||
@endif
|
||||
@if (!empty($channel['ga']))
|
||||
<webfeeds:analytics id="{{ $channel['ga'] }}" engine="GoogleAnalytics">
|
||||
@endif
|
||||
<language>{{ $channel['lang'] }}</language>
|
||||
<lastBuildDate>{{ $channel['pubdate'] }}</lastBuildDate>
|
||||
@foreach($items as $item)
|
||||
<item>
|
||||
<title><![CDATA[{!! $item['title'] !!}]]></title>
|
||||
@if (!empty($item['category']))
|
||||
<category>{{ $item['category'] }}</category>
|
||||
@endif
|
||||
<link>{{ $item['link'] }}</link>
|
||||
<guid isPermaLink="true">{{ $item['link'] }}</guid>
|
||||
<description><![CDATA[{!! $item['description'] !!}]]></description>
|
||||
@if (!empty($item['content']))
|
||||
<content:encoded><![CDATA[{!! $item['content'] !!}]]></content:encoded>
|
||||
@endif
|
||||
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">{{ $item['author'] }}</dc:creator>
|
||||
<pubDate>{{ $item['pubdate'] }}</pubDate>
|
||||
@if (!empty($item['enclosure']))
|
||||
<enclosure
|
||||
@foreach ($item['enclosure'] as $k => $v)
|
||||
{!! $k.'="'.$v.'" ' !!}
|
||||
@endforeach
|
||||
/>
|
||||
@endif
|
||||
@if (!empty($item['media:content']))
|
||||
<media:content
|
||||
@foreach ($item['media:content'] as $k => $v)
|
||||
{!! $k.'="'.$v.'" ' !!}
|
||||
@endforeach
|
||||
/>
|
||||
@endif
|
||||
@if (!empty($item['media:thumbnail']))
|
||||
<media:thumbnail
|
||||
@foreach ($item['media:thumbnail'] as $k => $v)
|
||||
{!! $k.'="'.$v.'" ' !!}
|
||||
@endforeach
|
||||
/>
|
||||
@endif
|
||||
@if (!empty($item['media:title']))
|
||||
<media:title type="plain">{{ $item['media:title'] }}</media:title>
|
||||
@endif
|
||||
@if (!empty($item['media:description']))
|
||||
<media:description type="plain">{{ $item['media:description'] }}</media:description>
|
||||
@endif
|
||||
@if (!empty($item['media:keywords']))
|
||||
<media:keywords>{{ $item['media:title'] }}</media:keywords>
|
||||
@endif
|
||||
@if (!empty($item['media:rating']))
|
||||
<media:rating>{{ $item['media:rating'] }}</media:rating>
|
||||
@endif
|
||||
@if (!empty($item['creativeCommons:license']))
|
||||
<creativeCommons:license>{{ $item['creativeCommons:license'] }}</creativeCommons:license>
|
||||
@endif
|
||||
</item>
|
||||
@endforeach
|
||||
</channel>
|
||||
</rss>
|
||||
22
resources/views/vendor/notifications/email-plain.blade.php
vendored
Normal file
22
resources/views/vendor/notifications/email-plain.blade.php
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
if (! empty($greeting)) {
|
||||
echo $greeting, "\n\n";
|
||||
} else {
|
||||
echo $level == 'error' ? 'Whoops!' : 'Hello!', "\n\n";
|
||||
}
|
||||
|
||||
if (! empty($introLines)) {
|
||||
echo implode("\n", $introLines), "\n\n";
|
||||
}
|
||||
|
||||
if (isset($actionText)) {
|
||||
echo "{$actionText}: {$actionUrl}", "\n\n";
|
||||
}
|
||||
|
||||
if (! empty($outroLines)) {
|
||||
echo implode("\n", $outroLines), "\n\n";
|
||||
}
|
||||
|
||||
echo 'Regards,', "\n";
|
||||
echo config('app.name'), "\n";
|
||||
192
resources/views/vendor/notifications/email.blade.php
vendored
Normal file
192
resources/views/vendor/notifications/email.blade.php
vendored
Normal file
@@ -0,0 +1,192 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
<style type="text/css" rel="stylesheet" media="all">
|
||||
/* Media Queries */
|
||||
@media only screen and (max-width: 500px) {
|
||||
.button {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<?php
|
||||
|
||||
$style = [
|
||||
/* Layout ------------------------------ */
|
||||
|
||||
'body' => 'margin: 0; padding: 0; width: 100%; background-color: #F2F4F6;',
|
||||
'email-wrapper' => 'width: 100%; margin: 0; padding: 0; background-color: #F2F4F6;',
|
||||
|
||||
/* Masthead ----------------------- */
|
||||
|
||||
'email-masthead' => 'padding: 25px 0; text-align: center;',
|
||||
'email-masthead_name' => 'font-size: 16px; font-weight: bold; color: #2F3133; text-decoration: none; text-shadow: 0 1px 0 white;',
|
||||
|
||||
'email-body' => 'width: 100%; margin: 0; padding: 0; border-top: 1px solid #EDEFF2; border-bottom: 1px solid #EDEFF2; background-color: #FFF;',
|
||||
'email-body_inner' => 'width: auto; max-width: 570px; margin: 0 auto; padding: 0;',
|
||||
'email-body_cell' => 'padding: 35px;',
|
||||
|
||||
'email-footer' => 'width: auto; max-width: 570px; margin: 0 auto; padding: 0; text-align: center;',
|
||||
'email-footer_cell' => 'color: #AEAEAE; padding: 35px; text-align: center;',
|
||||
|
||||
/* Body ------------------------------ */
|
||||
|
||||
'body_action' => 'width: 100%; margin: 30px auto; padding: 0; text-align: center;',
|
||||
'body_sub' => 'margin-top: 25px; padding-top: 25px; border-top: 1px solid #EDEFF2;',
|
||||
|
||||
/* Type ------------------------------ */
|
||||
|
||||
'anchor' => "color: {$theme_links};",
|
||||
'header-1' => 'margin-top: 0; color: #2F3133; font-size: 19px; font-weight: bold; text-align: left;',
|
||||
'paragraph' => 'margin-top: 0; color: #74787E; font-size: 16px; line-height: 1.5em;',
|
||||
'paragraph-sub' => 'margin-top: 0; color: #74787E; font-size: 12px; line-height: 1.5em;',
|
||||
'paragraph-center' => 'text-align: center;',
|
||||
|
||||
/* Buttons ------------------------------ */
|
||||
|
||||
'button' => 'display: block; display: inline-block; width: 200px; min-height: 20px; padding: 10px;
|
||||
background-color: #3869D4; border-radius: 3px; color: #ffffff; font-size: 15px; line-height: 25px;
|
||||
text-align: center; text-decoration: none; -webkit-text-size-adjust: none;',
|
||||
|
||||
'button--green' => "background-color: {$theme_greens};",
|
||||
'button--red' => "background-color: {$theme_reds};",
|
||||
'button--blue' => "background-color: {$theme_blues};",
|
||||
];
|
||||
?>
|
||||
|
||||
<?php $fontFamily = 'font-family: Arial, \'Helvetica Neue\', Helvetica, sans-serif;'; ?>
|
||||
|
||||
<body style="{{ $style['body'] }}">
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="{{ $style['email-wrapper'] }}" align="center">
|
||||
<table width="100%" cellpadding="0" cellspacing="0">
|
||||
<!-- Logo -->
|
||||
<tr>
|
||||
<td style="{{ $style['email-masthead'] }}">
|
||||
<a style="{{ $fontFamily }} {{ $style['email-masthead_name'] }}" href="{{ url('/') }}" target="_blank">
|
||||
{{ config('app.name') }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Email Body -->
|
||||
<tr>
|
||||
<td style="{{ $style['email-body'] }}" width="100%">
|
||||
<table style="{{ $style['email-body_inner'] }}" align="center" width="570" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="{{ $fontFamily }} {{ $style['email-body_cell'] }}">
|
||||
<!-- Greeting -->
|
||||
<h1 style="{{ $style['header-1'] }}">
|
||||
@if (! empty($greeting))
|
||||
{{ $greeting }}
|
||||
@else
|
||||
@if ($level == 'error')
|
||||
Whoops!
|
||||
@else
|
||||
Hello!
|
||||
@endif
|
||||
@endif
|
||||
</h1>
|
||||
|
||||
<!-- Intro -->
|
||||
@foreach ($introLines as $line)
|
||||
<p style="{{ $style['paragraph'] }}">
|
||||
{{ $line }}
|
||||
</p>
|
||||
@endforeach
|
||||
|
||||
<!-- Action Button -->
|
||||
@if (isset($actionText))
|
||||
<table style="{{ $style['body_action'] }}" align="center" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<?php
|
||||
switch ($level) {
|
||||
case 'success':
|
||||
$actionColor = 'button--green';
|
||||
break;
|
||||
case 'error':
|
||||
$actionColor = 'button--red';
|
||||
break;
|
||||
default:
|
||||
$actionColor = 'button--blue';
|
||||
}
|
||||
?>
|
||||
|
||||
<a href="{{ $actionUrl }}"
|
||||
style="{{ $fontFamily }} {{ $style['button'] }} {{ $style[$actionColor] }}"
|
||||
class="button"
|
||||
target="_blank">
|
||||
{{ $actionText }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
<!-- Outro -->
|
||||
@foreach ($outroLines as $line)
|
||||
<p style="{{ $style['paragraph'] }}">
|
||||
{{ $line }}
|
||||
</p>
|
||||
@endforeach
|
||||
|
||||
<!-- Salutation -->
|
||||
<p style="{{ $style['paragraph'] }}">
|
||||
Regards,<br>{{ config('app.name') }}
|
||||
</p>
|
||||
|
||||
<!-- Sub Copy -->
|
||||
@if (isset($actionText))
|
||||
<table style="{{ $style['body_sub'] }}">
|
||||
<tr>
|
||||
<td style="{{ $fontFamily }}">
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
If you’re having trouble clicking the "{{ $actionText }}" button,
|
||||
copy and paste the URL below into your web browser:
|
||||
</p>
|
||||
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
<a style="{{ $style['anchor'] }}" href="{{ $actionUrl }}" target="_blank">
|
||||
{{ $actionUrl }}
|
||||
</a>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td>
|
||||
<table style="{{ $style['email-footer'] }}" align="center" width="570" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="{{ $fontFamily }} {{ $style['email-footer_cell'] }}">
|
||||
<p style="{{ $style['paragraph-sub'] }}">
|
||||
© {{ date('Y') }}
|
||||
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ config('app.name') }}</a>.
|
||||
All rights reserved.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
36
resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
36
resources/views/vendor/pagination/bootstrap-4.blade.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled"><span class="page-link">«</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="page-item disabled"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active"><span class="page-link">{{ $page }}</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
||||
@else
|
||||
<li class="page-item disabled"><span class="page-link">»</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
36
resources/views/vendor/pagination/default.blade.php
vendored
Normal file
36
resources/views/vendor/pagination/default.blade.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="disabled"><span>«</span></li>
|
||||
@else
|
||||
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="disabled"><span>{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="active"><span>{{ $page }}</span></li>
|
||||
@else
|
||||
<li><a href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
||||
@else
|
||||
<li class="disabled"><span>»</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
17
resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
17
resources/views/vendor/pagination/simple-bootstrap-4.blade.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled"><span class="page-link">«</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
||||
@else
|
||||
<li class="page-item disabled"><span class="page-link">»</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
17
resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
17
resources/views/vendor/pagination/simple-default.blade.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
@if ($paginator->hasPages())
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="disabled"><span>«</span></li>
|
||||
@else
|
||||
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">«</a></li>
|
||||
@endif
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">»</a></li>
|
||||
@else
|
||||
<li class="disabled"><span>»</span></li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
Reference in New Issue
Block a user