Commit 1cb2c1d1 authored by Marco Schmiedel's avatar Marco Schmiedel

fix

parent 9bece57e
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Commands\BashColorDemoCommand;
......@@ -30,7 +30,7 @@
| Class "BashColorDemoCommand"
|------------------------------------------------------------------------------------------------
*/
class BashColorDemoCommand extends Command
class BashColorDemoCommand extends Command
{
/*
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Commands\CodebeautifierCommand;
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Managers\BeautifyManager;
......@@ -28,7 +28,7 @@
| Class "BeautifyManager"
|------------------------------------------------------------------------------------------------
*/
class BeautifyManager
class BeautifyManager
{
/*
|--------------------------------------------------------------------------------------------
......@@ -204,8 +204,17 @@
return $this->tpl;
}
// Its better to abort here when the class does not have any methods...
if(!isset($this->classes['Methods']))
/*
|----------------------------------------------------------------------------------------
| Its better to abort here when the class does not have any methods to render. Its
| probably a wrong file...
*/
if(!isset($this->classes[0]['Methods']))
{
return false;
}
if(empty($this->classes[0]['Methods']))
{
return false;
}
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Managers\DirectoryManager;
......@@ -28,7 +28,7 @@
| Class "DirectoryManager"
|------------------------------------------------------------------------------------------------
*/
class DirectoryManager
class DirectoryManager
{
/*
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Sidekick\Managers\PicassoManager;
......@@ -30,7 +30,7 @@
| Class "AssetHelper"
|------------------------------------------------------------------------------------------------
*/
class AssetHelper
class AssetHelper
{
/*
......@@ -43,7 +43,6 @@
*/
static function generateAssetTag($configCls, $currentNamespace, $currentFolder, $currentKey)
{
/*
|----------------------------------------------------------------------------------------
| Define a defaultempty return value.
......@@ -62,7 +61,6 @@
*/
foreach ($configCls->assetAllocation[$currentKey] as $asset)
{
/*
|--------------------------------------------------------------------------------
| Check if the asset is a external url or a private hostet path.
......@@ -73,13 +71,11 @@
|----------------------------------------------------------------------------
| Build array for the secure publisher in case of a private path.
*/
$path = __DIR__ . '/../../Views/' . $currentNamespace . '/' . $currentFolder . '/' . $asset;
$array = [
'path' => $path,
'code' => md5(env('APP_KEY') . $path)
];
}
else
{
......@@ -134,8 +130,6 @@
*/
static function resolveAssetTagCategory($__env, $type)
{
/*
|----------------------------------------------------------------------------------------
| First define a virtual storage for all elements that should be send to the master
......@@ -155,7 +149,6 @@
*/
foreach ($__env->getSections() as $section)
{
/*
|------------------------------------------------------------------------------------
| Filter the picasso tags with preg_match_all.
......@@ -168,8 +161,6 @@
*/
if ($picassoTag[0])
{
/*
|--------------------------------------------------------------------------------
| Loop all found picasso tags.
......@@ -227,7 +218,6 @@
*/
if ($type == 'javascript')
{
$storage .= '<script src="' . $url . '"></script>';
}
}
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Sidekick\Managers\PicassoManager;
......@@ -30,7 +30,7 @@
| Class "BladeManagement"
|------------------------------------------------------------------------------------------------
*/
class BladeManagement
class BladeManagement
{
/*
......@@ -149,7 +149,7 @@
| Class "ViewStorage"
|------------------------------------------------------------------------------------------------
*/
class ViewStorage extends ServiceProvider
class ViewStorage extends ServiceProvider
{
/*
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Sidekick\Managers\ResourcePublisherManager;
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Managers\TerminalManager;
......@@ -28,7 +28,7 @@
| Class "TerminalManager"
|------------------------------------------------------------------------------------------------
*/
class TerminalManager
class TerminalManager
{
/*
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Providers\CommandServiceProvider;
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Providers;
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 08:07:22
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Providers\PicassoServiceProvider;
......@@ -31,7 +31,7 @@
| Class "PicassoServiceProvider"
|------------------------------------------------------------------------------------------------
*/
class PicassoServiceProvider extends ServiceProvider
class PicassoServiceProvider extends ServiceProvider
{
/*
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Date: 2022-04-12 14:01:45
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Sidekick\Views\Limitless\Element;
......@@ -29,7 +29,7 @@
| Class "Config"
|------------------------------------------------------------------------------------------------
*/
class Config
class Config
{
/*
|--------------------------------------------------------------------------------------------
......@@ -38,22 +38,23 @@
*/
public $methodAllocation = [
'Limitless::ElementCardStart' => 'cardStart',
'Limitless::ElementCardStop' => 'cardStop',
'Limitless::Example' => 'example',
'Limitless::ElementCardStop' => 'cardStop',
'Limitless::Example' => 'example',
];
public $assetAllocation = [
'Limitless::Example' => [
'Example/example.js',
'Example/example.css'
]
'Limitless::Example' => [
'Example/example.js',
'Example/example.css'
]
];
/*
|--------------------------------------------------------------------------------------------
| Method "CardStart"
| Method "cardStart"
|--------------------------------------------------------------------------------------------
| Method "CardStart"
*/
public function cardStart($parameters)
{
......@@ -63,16 +64,31 @@
->withCollapsable( (isset($parameters['collapsable']) ? $parameters['collapsable'] : true) )
->withRemoveable( (isset($parameters['removeable']) ? $parameters['removeable'] : false) )
->withExtra( (isset($parameters['extra']) ? $parameters['extra'] : [] ) );
}
/*
|--------------------------------------------------------------------------------------------
| Method "cardStop"
|--------------------------------------------------------------------------------------------
*/
public function cardStop()
{
return View('Limitless::Element.Card.Stop');
}
public function example()
/*
|--------------------------------------------------------------------------------------------
| Method "example"
|--------------------------------------------------------------------------------------------
*/
public function example()
{
return View('Limitless::Element.Example.Div');
}
}
......
......@@ -10,7 +10,7 @@
| sidekick package.
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Date: 2022-04-12 14:01:45
| Update: 2022-04-13 09:16:43
|
*/
namespace Ceetrox\Sidekick\Views\Limitless\Help;
......@@ -29,7 +29,7 @@
| Class "Config"
|------------------------------------------------------------------------------------------------
*/
class Config
class Config
{
/*
|--------------------------------------------------------------------------------------------
......@@ -41,7 +41,11 @@
];
/*
|--------------------------------------------------------------------------------------------
| Method "internalNavigation"
|--------------------------------------------------------------------------------------------
*/
public function internalNavigation($parameters)
{
return View('Limitless::Help.Pages.Home');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment