vangogogo/yii2-bs4 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vangogogo/yii2-bs4

Composer 安装命令:

composer require vangogogo/yii2-bs4

包简介

Yii2 Inspinia Tpl

README 文档

README

  • Инициализация шаблона
'components' => [
    'view' => [
        'theme' => [
            'class' => 'Henakel\Yii2InspiniaTpl\Theme',
            'nowrap' => !YII_DEBUG,
            'menuItems' => [
                [
                    'icon' => 'cogs',
                    'noticeLabel' => '23',
                    'noticeType' => 'danger',
                    'label' => 'Ext',
                    'options' => ['class' => 'nav-header'],
                    'template' => '<div class="dropdown profile-element"><div class="logo-full"><a href="/">Exchange</a></div></div>'
                ],
                ['label' => 'Ссылка 2', 'url' => ['site/index']],
                [
                    'icon' => 'cogs',
                    'noticeLabel' => '23',
                    'noticeType' => 'danger',
                    'label' => 'Ссылка 1',
                    'url' => ['/site/about']
                ],
                [
                    'icon' => 'cogs',
                    'noticeLabel' => '23',
                    'noticeType' => 'danger',
                    'label' => 'Ссылка 2',
                    'url' => ['/site/contact']
                ],

                [
                    'label' => 'Элемент 1',
                    'icon' => 'cogs',
                    'noticeLabel' => '23',
                    'noticeType' => 'warning',
                    'options' => ['class' => 'dropdown'],
                    'items' => [
                        [
                            'icon' => 'cogs',
                            'noticeLabel' => '23',
                            'noticeType' => 'danger',
                            'label' => 'Ссылка 1',
                            'url' => ['/site/about']
                        ],
                        [
                            'icon' => 'cogs',
                            'noticeLabel' => '23',
                            'noticeType' => 'primary',
                            'label' => 'Ссылка 2',
                            'url' => '#',
                            'items' => [
                                [
                                    'icon' => 'cogs',
                                    'noticeLabel' => '23',
                                    'noticeType' => 'danger',
                                    'label' => 'Ссылка 1',
                                    'url' => ['/site/about']
                                ],
                                [
                                    'icon' => 'cogs',
                                    'noticeLabel' => '23',
                                    'noticeType' => 'danger',
                                    'label' => 'Ссылка 2',
                                    'url' => ['/site/contact']
                                ],
                            ]
                        ],
                    ]
                ],

            ],
            // footer
            'footer' => [
                'replaceTags' => [
                    'right' => '<b>Version</b> 2.0',
                    'left' => '<strong>&copy;2008- ' . date('Y') . '</strong>',
                ],
            ],
            'left' => [
                'replaceTags' => [
                    'dropdown' => 'fg dsfg dsfg dsfg sdg dsf g',
                ],
            ],
            'header' => [
                'replaceTags' => [
                    'nav_right' => '111'
                ]
            ]
        ],
    ],
],

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: CSS

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2023-11-13