Exemple #1
0
<!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(\common\helpers\SiteHelper::getBackendTitle($this->title));
?>
</title>
    <?php 
$this->head();
?>
</head>
<body>
    <?php 
$this->beginBody();
?>
    <div class="wrap">
        <?php 
NavBar::begin(['brandLabel' => Yii::$app->name, 'brandUrl' => Yii::$app->homeUrl, 'options' => ['class' => 'navbar-inverse navbar-fixed-top']]);
$leftMenuItems = [];
$rightMenuItems = [];
Exemple #2
0
                <a class="branding" href="<?php 
echo \yii\helpers\Url::home();
?>
" title="<?php 
echo \common\helpers\SiteHelper::getTitle();
?>
"><img src="<?php 
echo \yii\helpers\Url::to('@web/image/logo.png');
?>
" alt="<?php 
echo \common\helpers\SiteHelper::getTitle();
?>
"></a>
                <!-- end logo -->
                <h2 class="text-hide"><?php 
echo \common\helpers\SiteHelper::getDescription();
?>
</h2>
            </div>
        </div>
    </div>
    </header>
    <!-- end header -->

    <!-- start navigation -->
    <nav class="main-navigation">
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <div class="navbar-header">
                        <span class="nav-toggle-button collapsed" data-toggle="collapse" data-target="#main-menu">