<title><?php echo Html::encode($this->title); ?> </title> <?php $this->registerMetaTag(['charset' => Yii::$app->charset]); // css // $this->registerCssFile('/css/ui-jqwery/jquery-ui.css'); $this->registerCssFile('/adminka/css/bootstrap-cerulean.min.css'); $this->registerCssFile('/adminka/css/charisma-app.css'); $this->registerCssFile('/adminka/css/custom.css'); $pos = View::POS_HEAD; $this->registerJsFile('/js/jquery2.js', ['position' => $pos, 'depends' => AppAdmin::className()]); $this->registerJsFile('/bootstrap3/js/bootstrap.js', ['position' => $pos, 'depends' => AppAdmin::className()]); ?> <?php echo Html::csrfMetaTags(); ?> <?php $this->head(); ?> </head> <body> <div class="center960"> <?php echo $this->render('//layouts/admin/_top-menu'); ?>
<?php use frontend\assets\AppAdmin; use frontend\models\Brend; use frontend\models\Category; use yii\helpers\ArrayHelper; use yii\helpers\Html; use yii\helpers\Url; use yii\widgets\ActiveForm; use frontend\models\Photo; /* @var $this yii\web\View */ /* @var $model frontend\models\Items */ /* @var $form yii\widgets\ActiveForm */ $this->registerJsFile('/adminka/js/custom/ulpoad-image-items.js', ['depends' => AppAdmin::className()]); $this->registerJsFile('/adminka/js/custom/ulpoad-image-items-main.js', ['depends' => AppAdmin::className()]); ?> <div class="box col-md-10"> <div class="box-inner" style="padding:15px"> <div class="box-header well" data-original-title=""> <h2><i class="glyphicon glyphicon-th"></i><?php echo $this->title; ?> </h2> <div class="box-icon"> <a href="<?php echo Url::toRoute('/items/index'); ?> " class="btn btn-close btn-round btn-default"><i class="glyphicon glyphicon-remove"></i></a> </div>