Exemplo n.º 1
0
<?php

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAssetAdmin;
//mihaildev\elfinder\Assets::noConflict($this);
\app\assets\AppAssetAdmin::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);
?>
</title>
    <?php 
$this->head();
Exemplo n.º 2
0
<?php

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAssetAdmin;
use yii\helpers\Url;
AppAssetAdmin::register($this);
?>
 <?php 
echo Html::csrfMetaTags();
?>
 <?php 
$this->beginPage();
?>
 

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<?php 
$this->head();
?>
	
	<title><?php 
echo Html::encode($this->title);
?>
</title>
Exemplo n.º 3
0
<?php

/**
 * @var $this yii\web\View
 */
use app\assets\AppAssetAdmin;
use app\modules\backend\models\Menu;
use yii\helpers\ArrayHelper;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\Breadcrumbs;
$bundle = AppAssetAdmin::register($this);
$this->beginContent('@app/modules/backend/views/layouts/base.php');
?>
    <div class="wrapper">
        <!-- header logo: style can be found in header.less -->
        <header class="main-header">
            <a href="<?php 
echo Url::home();
?>
" class="logo">
                <!-- Add the class icon to your logo image or logo icon to add the margining -->
                <?php 
echo Yii::$app->name;
?>
            </a>
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" role="navigation">
                <!-- Sidebar toggle button-->
                <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">Навигация</span>