Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/armandoricky/yii2-tiles
A Yii2 widget for the dashboard tiles.
https://github.com/armandoricky/yii2-tiles
dashboard-tiles dashboards yii2-extension yii2-tiles yii2-widgets
Last synced: about 2 months ago
JSON representation
A Yii2 widget for the dashboard tiles.
- Host: GitHub
- URL: https://github.com/armandoricky/yii2-tiles
- Owner: armandoricky
- Created: 2017-09-25T11:56:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-28T05:47:39.000Z (over 7 years ago)
- Last Synced: 2024-11-13T14:55:55.679Z (2 months ago)
- Topics: dashboard-tiles, dashboards, yii2-extension, yii2-tiles, yii2-widgets
- Language: CSS
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yii2-Tiles
==============![example](https://w3bsistemas.com/shared/yii2-tiles/armrck-tiles-demo.gif)
A Yii2 widget for the dashboard tiles.
Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
composer require --prefer-dist armrck/yii2-tyles "*"
```or add
```
"armrck/yii2-tiles": "*"
```to the require section of your `composer.json` file.
Usage
-----Once the extension is installed, simply use it in your code by :
```php
=
Tiles::widget([
'icon' => '', // 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' => ' Show more details'
]);
?>
```