Commit e559e7db295357ba0a43749097c536f58ed8b72c

Authored by Karnovsky A
2 parents a123b4b4 f479215b

Merge remote-tracking branch 'origin/master'

backend/views/blog/_form.php
@@ -31,7 +31,8 @@ use common\components\Request; @@ -31,7 +31,8 @@ use common\components\Request;
31 ) 31 )
32 ]) ?> 32 ]) ?>
33 33
34 - <?= ImageUploader::widget([ 34 + <?=
  35 + ImageUploader::widget([
35 'model'=> $model, 36 'model'=> $model,
36 'field'=>'cover', 37 'field'=>'cover',
37 'size' => [ 38 'size' => [
backend/views/layouts/main-sidebar.php
@@ -46,9 +46,14 @@ use yii\widgets\Menu; @@ -46,9 +46,14 @@ use yii\widgets\Menu;
46 ] 46 ]
47 ], 47 ],
48 48
49 - ['label' => 'Статические страницы', 'url' => ['/page/index']],  
50 - ['label' => 'Акции', 'url' => ['/event/index']],  
51 - ['label' => 'Услуги', 'url' => ['/service/index']], 49 + ['label' => 'Статические страницы', 'url' => ['/page/index'],
  50 + 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-file"></i> <span>{label}</span></a>',],
  51 + ['label' => 'Акции',
  52 + 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-piggy-bank"></i> <span>{label}</span></a>',
  53 + 'url' => ['/event/index']],
  54 + ['label' => 'Услуги',
  55 + 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-briefcase"></i> <span>{label}</span></a>',
  56 + 'url' => ['/service/index']],
52 [ 57 [
53 'label' => 'SEO', 58 'label' => 'SEO',
54 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-search"></i> <span>{label}</span></a>', 59 'template'=>'<a href="{url}"> <i class="glyphicon glyphicon-search"></i> <span>{label}</span></a>',