Пример #1
0
 /**
  * Renders the widget.
  */
 public function run()
 {
     AdminlteAsset::register($this->getView());
     $this->registerClientEvents();
     return $this->renderItems($this->items, $this->options);
 }
Пример #2
0
<?php

/* @var $this \yii\web\View */
/* @var $content string */
use dee\adminlte\AdminlteAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\helpers\Url;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;
AdminlteAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
?>
Пример #3
0
 /**
  * @inheritdoc
  */
 public function run()
 {
     AdminlteAsset::register($this->getView());
     echo '</div>';
     if ($this->footer) {
         echo Html::tag('div', $this->footer, ['class' => 'box-footer']);
     }
     if ($this->overlay) {
         $icon = FA::icon($this->overlay);
         if ($this->spinOverlayIcon) {
             $icon->spin();
         }
         echo Html::tag('div', $icon, ['class' => 'overlay']);
     }
     echo '</div>';
 }
Пример #4
0
 /**
  * Renders the widget.
  */
 public function run()
 {
     AdminlteAsset::register($this->getView());
     return $this->renderItems();
 }
Пример #5
0
 /**
  * @inheritdoc
  */
 public function run()
 {
     AdminlteAsset::register($this->getView());
     echo '</div></div>';
 }