diff --git a/frontend/views/accounts/_portfolio_form.php b/frontend/views/accounts/_portfolio_form.php index 7fd0873..97e0fa3 100644 --- a/frontend/views/accounts/_portfolio_form.php +++ b/frontend/views/accounts/_portfolio_form.php @@ -43,7 +43,7 @@ -
+
-
+
-
+
  • @@ -114,13 +114,17 @@ children as $child_second): ?>
  • - - field($vacancy, "specializationInput[{$child_second->specialization_id}]") - ->checkbox([ - 'value' => $child_second->specialization_id, - 'label' => $child_second->specialization_name, - 'uncheck' => NULL, - ]) ?> + + field($vacancy, "specializationInput[{$child_second->specialization_id}]", [ + 'template' => '{input}{label}{hint}{error}', + ]) + ->label('' . $child_second->specialization_name) + ->checkbox([ + 'value' => $child_second->specialization_id, + 'label' => NULL, + 'uncheck' => NULL, + 'class' => 'custom-check', + ], false) ?>
  • diff --git a/frontend/views/accounts/blog.php b/frontend/views/accounts/blog.php index 7faba8d..e1e4442 100644 --- a/frontend/views/accounts/blog.php +++ b/frontend/views/accounts/blog.php @@ -18,75 +18,79 @@
    'btn btn-success' ]) ?>
    - ['class'=>'style admin-all-pages-wr'], - 'dataProvider' => $dataProvider, - 'filterModel' => $searchModel, - 'columns' => [ - [ - 'attribute' => 'blog_id', - 'label' => 'ID', - ], - 'name', - [ - 'attribute' => 'date_add', - 'filter' => "
    + +
    + ['class'=>'style admin-all-pages-wr'], + 'dataProvider' => $dataProvider, + 'filterModel' => $searchModel, + 'columns' => [ + [ + 'attribute' => 'blog_id', + 'label' => 'ID', + ], + 'name', + [ + 'attribute' => 'date_add', + 'filter' => "
    ". -DatePicker::widget([ - 'model' => $searchModel, - 'attribute' => 'date_add_from', - 'language' => 'ru', - 'dateFormat' => 'yyyy-MM-dd', - 'clientOptions' => [ - 'changeYear' => true, - 'changeMonth' => true, - ], -]). -" + DatePicker::widget([ + 'model' => $searchModel, + 'attribute' => 'date_add_from', + 'language' => 'ru', + 'dateFormat' => 'yyyy-MM-dd', + 'clientOptions' => [ + 'changeYear' => true, + 'changeMonth' => true, + ], + ]). + " ". - DatePicker::widget([ - 'model' => $searchModel, - 'attribute' => 'date_add_to', - 'language' => 'ru', - 'dateFormat' => 'yyyy-MM-dd', - 'clientOptions' => [ - 'changeYear' => true, - 'changeMonth' => true, - ], - ]) -." + DatePicker::widget([ + 'model' => $searchModel, + 'attribute' => 'date_add_to', + 'language' => 'ru', + 'dateFormat' => 'yyyy-MM-dd', + 'clientOptions' => [ + 'changeYear' => true, + 'changeMonth' => true, + ], + ]) + ."
    ", - 'format' => 'html', - ], - 'view_count', - [ - 'class' => ActionColumn::className(), - 'buttons' => [ - 'update' => function($url, $model, $key) { - return Html::a('', [ - 'blog-update', - 'id' => $model->blog_id, - ],[ - 'title' => 'Редактировать', - ]); - }, - 'delete' => function($url, $model, $key) { - return Html::a('', [ - 'blog-delete', - 'id' => $model->blog_id, - ], [ - 'title' => 'Удалить', - 'aria-label' => 'Удалить', - 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?', - 'data-method' => 'post', - 'data-pjax' => '0', - ]); - }, + 'format' => 'html', + ], + 'view_count', + [ + 'class' => ActionColumn::className(), + 'buttons' => [ + 'update' => function($url, $model, $key) { + return Html::a('', [ + 'blog-update', + 'id' => $model->blog_id, + ],[ + 'title' => 'Редактировать', + ]); + }, + 'delete' => function($url, $model, $key) { + return Html::a('', [ + 'blog-delete', + 'id' => $model->blog_id, + ], [ + 'title' => 'Удалить', + 'aria-label' => 'Удалить', + 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?', + 'data-method' => 'post', + 'data-pjax' => '0', + ]); + }, + ], + 'template' => '{update} {delete}', ], - 'template' => '{update} {delete}', ], - ], -]); ?> + ]); ?> +
    + diff --git a/frontend/views/accounts/gallery.php b/frontend/views/accounts/gallery.php index 57b71fb..0acda8e 100755 --- a/frontend/views/accounts/gallery.php +++ b/frontend/views/accounts/gallery.php @@ -16,8 +16,8 @@
    'btn btn-success' ]) ?>
    - - + ['class'=>'style admin-all-pages-wr'], 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, @@ -84,3 +84,4 @@ ], ], ]) ?> +
    \ No newline at end of file diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index d70d5b3..637a818 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -6028,8 +6028,9 @@ a {color: #0072bc} width: 70px; float: left; margin-right: 10px; - + margin-top: 0; } +.admin-project-list-two.admin-currency-second {margin-top: 0} .input-blocks.admin-currency-second select:focus{ box-shadow: 1px 2px 2px 0px rgba(215, 215, 215, 0.75) inset; border: 1px solid #dcdcdc; @@ -6079,7 +6080,7 @@ a {color: #0072bc} .input-blocks.admin-project-list.admin-currency-second select {width: 100%} .input-blocks.admin-project-list-two.admin-currency-second { margin-left:0; - padding-top: 18px; + padding-top: 23px; width: 80px; } .input-blocks.admin-project-list-two.admin-currency-first { @@ -6216,9 +6217,35 @@ input[disabled], select[disabled] { line-height: 31px; } .admin-table-portfolio .input-group.input-group-xs.input-daterange {width: 200px} +.admin-table-gallery .input-group.input-group-xs input { + width: 131px; +} +.admin-table-gallery .input-group.input-group-xs.input-daterange { + width: 293px; +} .admin-page .content-menu-first {border-top: 1px solid #dfdfdf;} - - - - +.admin-menu-list label span {margin-left: 0 !important;margin-right: 0 !important} +.admin-page .third-ul-menu li { + overflow: hidden; + white-space: nowrap; + position: relative; + cursor: default; +} +.admin-page .third-ul-menu li:before { + content: ''; + height: 36px; + width: 20px; + background: #fff; + opacity: 1; + position: absolute; + top: 0; + right: 0; + background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); + background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); + background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); + z-index: 2; +} +.admin-page .third-ul-menu li a{cursor: default} +.admin-menu-list {margin-top: 37px} -- libgit2 0.21.4