grozzzny/adminlte_easyiicms

为 EasyiiCMS 定制的 Adminlte

安装: 67

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

公开问题: 0

类型:yii2-extension

dev-master 2021-01-21 11:54 UTC

This package is auto-updated.

Last update: 2024-09-21 20:28:49 UTC


README

此模块允许使用 Easy yii2 cms

基于 Bootstrap 3 构建,AdminLTE 提供了一系列响应式、可重用且常用的组件。 更多...

安装指南

$ php composer.phar require grozzzny/adminlte_easyiicms "dev-master"

或者

$ composer require grozzzny/adminlte_easyiicms "dev-master"

或者 composer.json

"require": {
  "grozzzny/adminlte_easyiicms": "dev-master"
}

配置文件

$config = [
   ...
   'components' => [
       'view' => [
            'theme' => [
                'pathMap' => [
                    '@vendor/noumo/easyii/views' => '@grozzzny/adminlte_easyiicms/views',
                ],
            ],
        ]
   ]
   ...
];
$config['modules']['admin']['layout'] = '@grozzzny/adminlte_easyiicms/views/layouts/main';
return $config;

皮肤

默认情况下,扩展使用蓝色皮肤为 AdminLTE。您可以在配置文件中更改它。

'components' => [
    'assetManager' => [
        'bundles' => [
            'grozzzny\adminlte_easyiicms\assets\AdminLteAsset' => [
                'skin' => 'skin-black',
            ],
        ],
    ],
],

以下是可用的皮肤列表

"skin-blue",
"skin-black",
"skin-red",
"skin-yellow",
"skin-purple",
"skin-green",
"skin-blue-light",
"skin-black-light",
"skin-red-light",
"skin-yellow-light",
"skin-purple-light",
"skin-green-light"

屏幕截图

alt text alt text alt text alt text