Merge pull request #54 from DDynamic/feature-themes
add base support for different themes
0
bootstrap/cache/.gitignore
vendored
Normal file → Executable file
|
@ -26,7 +26,8 @@
|
||||||
"webpatser/laravel-uuid": "^2.0",
|
"webpatser/laravel-uuid": "^2.0",
|
||||||
"prologue/alerts": "^0.4.0",
|
"prologue/alerts": "^0.4.0",
|
||||||
"s1lentium/iptools": "^1.0",
|
"s1lentium/iptools": "^1.0",
|
||||||
"edvinaskrucas/settings": "^2.0"
|
"edvinaskrucas/settings": "^2.0",
|
||||||
|
"igaster/laravel-theme": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"fzaninotto/faker": "~1.4",
|
"fzaninotto/faker": "~1.4",
|
||||||
|
|
|
@ -154,6 +154,7 @@ return [
|
||||||
*/
|
*/
|
||||||
Barryvdh\Debugbar\ServiceProvider::class,
|
Barryvdh\Debugbar\ServiceProvider::class,
|
||||||
PragmaRX\Google2FA\Vendor\Laravel\ServiceProvider::class,
|
PragmaRX\Google2FA\Vendor\Laravel\ServiceProvider::class,
|
||||||
|
igaster\laravelTheme\themeServiceProvider::class,
|
||||||
Prologue\Alerts\AlertsServiceProvider::class,
|
Prologue\Alerts\AlertsServiceProvider::class,
|
||||||
Krucas\Settings\Providers\SettingsServiceProvider::class
|
Krucas\Settings\Providers\SettingsServiceProvider::class
|
||||||
|
|
||||||
|
@ -208,6 +209,7 @@ return [
|
||||||
'Settings' => Krucas\Settings\Facades\Settings::class,
|
'Settings' => Krucas\Settings\Facades\Settings::class,
|
||||||
'Session' => Illuminate\Support\Facades\Session::class,
|
'Session' => Illuminate\Support\Facades\Session::class,
|
||||||
'Storage' => Illuminate\Support\Facades\Storage::class,
|
'Storage' => Illuminate\Support\Facades\Storage::class,
|
||||||
|
'Theme' => igaster\laravelTheme\Facades\Theme::class,
|
||||||
'URL' => Illuminate\Support\Facades\URL::class,
|
'URL' => Illuminate\Support\Facades\URL::class,
|
||||||
'Uuid' => Webpatser\Uuid\Uuid::class,
|
'Uuid' => Webpatser\Uuid\Uuid::class,
|
||||||
'Validator' => Illuminate\Support\Facades\Validator::class,
|
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||||
|
|
16
config/themes.php
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'enabled' => true,
|
||||||
|
'themes_path' => realpath(base_path('resources/themes')),
|
||||||
|
'asset_not_found' => 'LOG_ERROR',
|
||||||
|
'active' => 'default',
|
||||||
|
|
||||||
|
'themes' => [
|
||||||
|
'default' => [
|
||||||
|
'extends' => null,
|
||||||
|
'views-path' => 'default',
|
||||||
|
'asset-path' => 'themes/default',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
];
|
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |