2017 © Pedro Peláez
 

yii2-extension yii2-widgets-adminlte2

Set of widgets for AdminLTE2

image

jakim-pj/yii2-widgets-adminlte2

Set of widgets for AdminLTE2

  • Saturday, August 13, 2016
  • by jakim
  • Repository
  • 1 Watchers
  • 0 Stars
  • 59 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 20 % Grown

The README.md

Set of widgets for AdminLTE2

Set of widgets for AdminLTE2, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist jakim-pj/yii2-widgets-adminlte2

or add, (*4)

"jakim-pj/yii2-widgets-adminlte2": "^1.0"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

        InfoBox::widget([
            'color' => 'bg-green',
            'icon' => 'fa-calendar-check-o',
            'text' => 'Last Check In',
            'number' => [
                Yii::$app->formatter->asDatetime($lastCheckIn->start), //line #1
                $lastCheckIn->user->fullName // line #2
            ]
        ]);

, (*7)

        SmallBox::widget([
            'color' => 'bg-red',
            'icon' => 'fa-exclamation-triangle',
            'header' => $formatter->asInteger($incidents),
            'text' => 'Total number of incidents',
            'footerUrl' => Url::to(['incident/index']),
        ]);

, (*8)

The Versions

13/08 2016

dev-master

9999999-dev

Set of widgets for AdminLTE2

  Sources   Download

MIT

The Requires

 

extension yii2 widgets adminlte adminlte2 infobox smallbox

13/08 2016

1.0.0

1.0.0.0

Set of widgets for AdminLTE2

  Sources   Download

MIT

The Requires

 

extension yii2 widgets adminlte adminlte2 infobox smallbox