-
-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
71 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,8 +56,8 @@ | |
*/ | ||
|
||
'from' => [ | ||
'address' => env('MAIL_FROM_ADDRESS', '[email protected]'), | ||
'name' => env('MAIL_FROM_NAME', 'Example'), | ||
'address' => env('MAIL_FROM_ADDRESS', '[email protected]'), | ||
'name' => env('MAIL_FROM_NAME', 'Laravel Boilerplate'), | ||
], | ||
|
||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,9 @@ public function run() | |
|
||
$data = [ | ||
'[email protected]' => ['administrator', 'authenticated'], | ||
'demo@Demo.com' => 'authenticated', | ||
'demo@demo.com' => 'authenticated', | ||
]; | ||
|
||
|
||
foreach ($data as $email => $role) { | ||
/** @var $user \App\Models\Auth\User\User */ | ||
$user = \App\Models\Auth\User\User::whereEmail($email)->first(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ FROM centos:7 | |
MAINTAINER Labs64 GmbH [email protected] | ||
|
||
# Install some must-haves | ||
RUN yum -y install vim wget | ||
RUN yum -y install vim wget sendmail | ||
RUN yum -y install libtool make automake autoconf nasm libpng-static | ||
RUN yum -y install git | ||
RUN git --version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php phpinfo(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="pull-right"> | ||
© {{ date('Y') }} {{ config('app.name') }}. {{ __('views.backend.section.footer.copyright') }} | ||
© {{ date('Y') }} {{ config('app.name') }}. {{ __('views.backend.section.footer.copyright') }} | ||
</div> | ||
<div class="clearfix"></div> | ||
<div class="clearfix"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,15 @@ | |
text-transform: uppercase; | ||
} | ||
.footer { | ||
position:fixed; | ||
width:100%; | ||
height:20px; | ||
padding:5px; | ||
bottom:0px; | ||
font-size: smaller; | ||
} | ||
.m-b-md { | ||
margin-bottom: 30px; | ||
} | ||
|
@@ -74,12 +83,13 @@ | |
@if (Route::has('login')) | ||
<div class="top-right links"> | ||
@if (!Auth::check()) | ||
<a href="{{ url('/login') }}">{{ __('views.welcome.login') }}</a> | ||
<a href="{{ url('/register') }}">{{ __('views.welcome.register') }}</a> | ||
<a href="{{ url('/login') }}">{{ __('views.welcome.login') }}</a> | ||
@else | ||
@if(auth()->user()->hasRole('administrator')) | ||
<a href="{{ url('/admin') }}">{{ __('views.welcome.admin') }}</a> | ||
@endif | ||
<a href="{{ url('/logout') }}">{{ __('views.welcome.logout') }}</a> | ||
@endif | ||
</div> | ||
@endif | ||
|
@@ -88,6 +98,16 @@ | |
<div class="title m-b-md"> | ||
{{ config('app.name') }} | ||
</div> | ||
<div class="m-b-md"> | ||
Sample users:<br/> | ||
Admin user: [email protected] / password: admin<br/> | ||
Demo user: [email protected] / password: demo | ||
</div> | ||
<div class="footer"> | ||
Credits: | ||
<a href="http://netlicensing.io/?utm_source=Laravel_Boilerplate&utm_medium=github&utm_campaign=laravel_boilerplate&utm_content=credits" target="_blank" title="Online Software License Management"><i class="fa fa-lock" aria-hidden="true"></i>NetLicensing</a> • | ||
<a href="https://photolancer.zone/?utm_source=Laravel_Boilerplate&utm_medium=github&utm_campaign=laravel_boilerplate&utm_content=credits" target="_blank" title="Individual digital content for your next campaign"><i class="fa fa-camera-retro" aria-hidden="true"></i>Photolancer Zone</a> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|