<?php use frontend\assets\AppAdmin; use yii\helpers\Html; use frontend\assets\AppAsset; use yii\web\View; /** * @var \yii\web\View $this * @var string $content */ AppAdmin::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"> <meta content="IE=edge" http-equiv="X-UA-Compatible"> <title><?php echo Html::encode($this->title); ?>
<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>