Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard
Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist hosannahighertech/yii2-light-bootstrap "*"
or add, (*4)
"hosannahighertech/yii2-light-bootstrap": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your layout code as you wish. Below is an example that can be copied and pasted into your views/layouts/main.php
of Yii2 Basic Template., (*6)
beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yii::$app->charset ?>"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?= Html::csrfMetaTags() ?> <title><?= Html::encode($this->title) ?></title> <?php $this->head() ?> </head> <body> beginBody() ?>= \hosannahighertech\lbootstrap\widgets\SideBar::widget([ 'bgImage'=>'@web/img/sidebar-5.jpg', //Don't define it if there is none 'header'=>[ 'title'=>'Hosanna is Great!', 'url'=>['/default/index'] ], 'links'=>[ ['title'=>'Some URL', 'url'=>['/controller/action'], 'icon'=>'users'] ] ]) ?>endBody() ?> </body> </html> endPage() ?>= \hosannahighertech\lbootstrap\widgets\NavBar::widget([ 'theme'=>'red', 'brand'=>[ 'label'=>'Nasafiri' ], 'links'=>[ ['label' => 'Home', 'url' => ['/site/index']], ['label' => 'About', 'url' => ['/site/about']], ], ]) ?>= $content ?>
Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard
MIT
extension yii2 bootstrap admin themes
Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard
MIT
extension yii2 bootstrap admin themes