2017 © Pedro Peláez
 

yii2-widget yii2-tiles

A Yii2 widget for the dashboard tiles.

image

armrck/yii2-tiles

A Yii2 widget for the dashboard tiles.

  • Thursday, September 28, 2017
  • by armandoricky
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2-Tiles

example, (*1)

A Yii2 widget for the dashboard tiles., (*2)

Installation

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

Either run, (*4)

composer require --prefer-dist armrck/yii2-tyles "*"

or add, (*5)

"armrck/yii2-tiles": "*"

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

Usage

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

<?=  
Tiles::widget([
    'icon' => '<i class="fa fa-database"></i>', // icon
    'iconBgColor' => '#ffa726', // hex color
    'category' => 'Space Used on DB', // category of stats info
    'title' => 670, // main stats info
    'title_small' => 'MB', // complement for stats info
    'moreInfo' => 'This info only appear if the icon "info" is clicked'
    'textFooter' => '<i class="fa fa-line-chart"></i> <a href="#">Show more details</a>'
]);
?>

The Versions

28/09 2017

dev-master

9999999-dev

A Yii2 widget for the dashboard tiles.

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 bootstrap widget dashboard tiles