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;
......
......@@ -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;
......@@ -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;
......
......@@ -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;
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......
......@@ -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;
......@@ -42,7 +42,6 @@
'Limitless::Example' => 'example',
];
public $assetAllocation = [
'Limitless::Example' => [
'Example/example.js',
......@@ -50,10 +49,12 @@
]
];
/*
|--------------------------------------------------------------------------------------------
| 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');
}
/*
|--------------------------------------------------------------------------------------------
| 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;
......@@ -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