Example #1
0
<?php

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets_b\AppAsset;
/* @var $this \yii\web\View */
/* @var $content string */
AppAsset::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 
Example #2
0
<?php

use app\assets_b\AppAsset;
use yii\helpers\Html;
$this->off(\yii\web\View::EVENT_END_BODY, [\yii\debug\Module::getInstance(), 'renderToolbar']);
\app\assets_b\AppAsset::register($this);
$directoryAsset = Yii::$app->assetManager->getPublishedUrl('@bower') . '/admin-lte';
$this->registerJsFile(Yii::$app->request->baseUrl . '/js/icheck.min.js', ['depends' => ['yii\\web\\YiiAsset', 'yii\\bootstrap\\BootstrapAsset', 'yii\\bootstrap\\BootstrapPluginAsset'], 'position' => \yii\web\View::POS_HEAD]);
?>

<?php 
$this->registerCssFile(Yii::$app->request->baseUrl . '/css/edusec-login.css', ['depends' => ['yii\\web\\YiiAsset', 'yii\\bootstrap\\BootstrapAsset', 'yii\\bootstrap\\BootstrapPluginAsset']], 'edusec-login-css');
?>
<style>
.icheckbox_square-blue,
.iradio_square-blue {
    display: inline-block;
    *display: inline;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url(<?php 
echo Yii::$app->request->baseUrl . '/images/blue.png';
?>
) no-repeat;
    border: none;
    cursor: pointer;
}
.icheckbox_square-blue {