refactoring: update severals components
This commit is contained in:
parent
4f261c434d
commit
d8a622ce0f
37 changed files with 1870 additions and 1795 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue