├── _config.yml
├── resources
└── views
│ ├── text
│ ├── alert
│ │ └── box.blade.php
│ └── invoice
│ │ ├── attributes.blade.php
│ │ └── table.blade.php
│ ├── templates
│ ├── alert.blade.php
│ ├── action.blade.php
│ └── invoice.blade.php
│ └── html
│ ├── alert
│ └── box.blade.php
│ ├── invoice
│ ├── attributes.blade.php
│ └── table.blade.php
│ └── themes
│ └── tuxedo.css
├── .gitignore
├── .travis.yml
├── src
├── Mailables
│ ├── ActionMailable.php
│ ├── AlertMailable.php
│ └── InvoiceMailable.php
├── Traits
│ ├── HasGreeting.php
│ ├── HasLine.php
│ └── HasAction.php
├── TuxedoMessage.php
└── TuxedoServiceProvider.php
├── phpunit.xml.dist
├── composer.json
├── LICENSE
├── tests
└── Unit
│ ├── ActionMailableTest.php
│ ├── AlertMailableTest.php
│ └── InvoiceMailableTest.php
└── readme.md
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-cayman
--------------------------------------------------------------------------------
/resources/views/text/alert/box.blade.php:
--------------------------------------------------------------------------------
1 | foo
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /vendor
2 | composer.lock
3 | .phpunit.result.cache
--------------------------------------------------------------------------------
/resources/views/text/invoice/attributes.blade.php:
--------------------------------------------------------------------------------
1 | {{ $slot }}
--------------------------------------------------------------------------------
/resources/views/text/invoice/table.blade.php:
--------------------------------------------------------------------------------
1 | {{ Illuminate\Mail\Markdown::parse($slot) }}
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 |
3 | php:
4 | - 7.0
5 | - 7.1
6 |
7 | sudo: false
8 |
9 | cache:
10 | directories:
11 | - $HOME/.composer/cache
12 |
13 | before_install:
14 | - travis_retry composer self-update
15 | - travis_retry composer update --no-interaction --prefer-dist
16 |
17 | script: vendor/bin/phpunit
18 |
--------------------------------------------------------------------------------
/resources/views/templates/alert.blade.php:
--------------------------------------------------------------------------------
1 | @component('mail::message')
2 |
3 | @component('mail::alert.box', ['type' => $type])
4 | {{ $text }}
5 | @endcomponent
6 |
7 | # {{ $greeting }}
8 |
9 | @foreach($outroLines as $line)
10 | {{ $line }}
11 | @endforeach
12 |
13 | Regards,
14 | {{ config('app.name') }}
15 |
16 | @endcomponent
--------------------------------------------------------------------------------
/resources/views/html/alert/box.blade.php:
--------------------------------------------------------------------------------
1 |
4 |
|
10 |
4 |
|
13 |
4 | {{ $data['id'] }} |
5 |
6 | {{ $data['date'] }}7 | |
8 | ||||||||||
11 |
|
56 | |||||||||||