refactoring: update severals components
This commit is contained in:
+18
-18
@@ -119,26 +119,26 @@ class Application extends App implements IBootstrap
|
||||
|
||||
protected function addAssets()
|
||||
{
|
||||
Util::addScript(self::APP_ID, 'sideMenu');
|
||||
Util::addStyle(self::APP_ID, 'sideMenu');
|
||||
Util::addScript(self::APP_ID, 'side_menu-menu');
|
||||
//Util::addStyle(self::APP_ID, 'sideMenu');
|
||||
|
||||
$assets = [
|
||||
'stylesheet' => [
|
||||
'route' => 'side_menu.Css.stylesheet',
|
||||
'type' => 'link',
|
||||
'route_attr' => 'href',
|
||||
'attr' => [
|
||||
'rel' => 'stylesheet',
|
||||
],
|
||||
],
|
||||
'script' => [
|
||||
'route' => 'side_menu.Js.script',
|
||||
'type' => 'script',
|
||||
'route_attr' => 'src',
|
||||
'attr' => [
|
||||
'nonce' => $this->cspnm->getNonce(),
|
||||
],
|
||||
],
|
||||
// 'stylesheet' => [
|
||||
// 'route' => 'side_menu.Css.stylesheet',
|
||||
// 'type' => 'link',
|
||||
// 'route_attr' => 'href',
|
||||
// 'attr' => [
|
||||
// 'rel' => 'stylesheet',
|
||||
// ],
|
||||
// ],
|
||||
// 'script' => [
|
||||
// 'route' => 'side_menu.Js.script',
|
||||
// 'type' => 'script',
|
||||
// 'route_attr' => 'src',
|
||||
// 'attr' => [
|
||||
// 'nonce' => $this->cspnm->getNonce(),
|
||||
// ],
|
||||
// ],
|
||||
];
|
||||
|
||||
$cache = $this->config->getAppValue(self::APP_ID, 'cache', '0');
|
||||
|
||||
Reference in New Issue
Block a user