2017 © Pedro Peláez
 

yii2-extension yii2-light-bootstrap

Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard

image

hosannahighertech/yii2-light-bootstrap

Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard

  • Friday, December 29, 2017
  • by Stefano Mtangoo
  • Repository
  • 1 Watchers
  • 4 Stars
  • 53 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 56 % Grown

The README.md

Light Bootstrap Admin Template

Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard, (*1)

Installation

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)

Usage

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'] ] ]) ?>
= \hosannahighertech\lbootstrap\widgets\NavBar::widget([ 'theme'=>'red', 'brand'=>[ 'label'=>'Nasafiri' ], 'links'=>[ ['label' => 'Home', 'url' => ['/site/index']], ['label' => 'About', 'url' => ['/site/about']], ], ]) ?>
= $content ?>
endBody() ?> </body> </html> endPage() ?>

To-Do-List

  1. Convert footer to a widget
  2. Convert Panel to Container widget with sidebar, navbar and, content and footer as attributes.

The Versions

29/12 2017

dev-master

9999999-dev

Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard

  Sources   Download

MIT

The Requires

 

by Avatar Stefano Mtangoo

extension yii2 bootstrap admin themes

29/12 2017

0.01

0.01.0.0

Yii2 Extension for Free Bootstrap Admin Template by Tim Creative. More details at https://www.creative-tim.com/product/light-bootstrap-dashboard

  Sources   Download

MIT

The Requires

 

by Avatar Stefano Mtangoo

extension yii2 bootstrap admin themes