Beispiel #1
0
<?php

use im\backend\assets\DashboardAsset;
use im\backend\Module;
/* @var $this yii\web\View */
DashboardAsset::register($this);
$assetsPublishUrl = Yii::$app->assetManager->getPublishedUrl('@vendor/almasaeed2010/adminlte/dist');
$this->title = Module::t('dashboard', 'Dashboard');
$this->params['breadcrumbs'][] = $this->title;
?>
<!-- Info boxes -->
<div class="row">
    <div class="col-md-3 col-sm-6 col-xs-12">
        <div class="info-box">
            <span class="info-box-icon bg-aqua"><i class="ion ion-ios-gear-outline"></i></span>
            <div class="info-box-content">
                <span class="info-box-text">CPU Traffic</span>
                <span class="info-box-number">90<small>%</small></span>
            </div><!-- /.info-box-content -->
        </div><!-- /.info-box -->
    </div><!-- /.col -->
    <div class="col-md-3 col-sm-6 col-xs-12">
        <div class="info-box">
            <span class="info-box-icon bg-red"><i class="fa fa-google-plus"></i></span>
            <div class="info-box-content">
                <span class="info-box-text">Likes</span>
                <span class="info-box-number">41,410</span>
            </div><!-- /.info-box-content -->
        </div><!-- /.info-box -->
    </div><!-- /.col -->
Beispiel #2
0
<?php

use im\backend\Module;
/* @var $this yii\web\View */
$this->title = Module::t('module', 'Admin panel');
$this->params['subtitle'] = Module::t('module', 'Welcome');
$this->params['breadcrumbs'][] = $this->title;