Commit f479215b587c273f44cca41686db99793a93e97e
1 parent
74aca081
04.05.16 css fix
Showing
2 changed files
with
10 additions
and
4 deletions
Show diff stats
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>', |