Commit 8e5fa1e8bf686bb8467243c75d5e721042ac3a66
1 parent
f389cee6
tokar commit
Showing
9 changed files
with
313 additions
and
93 deletions
Show diff stats
frontend/views/accounts/_blog_form.php
| ... | ... | @@ -43,19 +43,20 @@ |
| 43 | 43 | </div> |
| 44 | 44 | |
| 45 | 45 | |
| 46 | +<div class="input-blocks-wrapper admin-avatar admin-blog-min-img"> | |
| 47 | + <?= ImageUploader::widget([ | |
| 48 | + 'model'=> $blog, | |
| 49 | + 'field'=>'cover', | |
| 50 | + 'width'=>340, | |
| 51 | + 'height'=>260, | |
| 52 | + 'multi'=>false, | |
| 53 | + 'gallery' =>$blog->cover, | |
| 54 | + 'name' => 'Загрузить миниатюру статьи' | |
| 55 | + ]); | |
| 56 | + ?> | |
| 57 | +</div> | |
| 46 | 58 | |
| 47 | -<?= ImageUploader::widget([ | |
| 48 | - 'model'=> $blog, | |
| 49 | - 'field'=>'cover', | |
| 50 | - 'width'=>340, | |
| 51 | - 'height'=>260, | |
| 52 | - 'multi'=>false, | |
| 53 | - 'gallery' =>$blog->cover, | |
| 54 | - 'name' => 'Загрузить главное фото' | |
| 55 | -]); | |
| 56 | -?> | |
| 57 | - | |
| 58 | -<div class="input-blocks-wrapper full-blocks"> | |
| 59 | +<div class="input-blocks-wrapper full-blocks" style="margin-top: 20px"> | |
| 59 | 60 | <div class="admin-save-btn style"> |
| 60 | 61 | <?= Html::submitButton('Добавить', ['class' => 'input-blocks-wrapper button']) ?> |
| 61 | 62 | <?= Html::submitButton('Удалить', ['class' => ' remove input-blocks-wrapper button']) ?> | ... | ... |
frontend/views/accounts/_portfolio_form.php
| ... | ... | @@ -88,6 +88,21 @@ use yii\web\JsExpression; |
| 88 | 88 | <div class="not-file-mb-adm">До 3 Мб файл</div> |
| 89 | 89 | </div> |
| 90 | 90 | |
| 91 | + <div class="input-blocks-wrapper admin-avatar portfolio-foto-admin hidden-foto foto-portfolio-adm"> | |
| 92 | + <div class="gen-admin-title">Фото главное</div> | |
| 93 | + <div class="not-file-txt-adm">Файл не выбран</div> | |
| 94 | + <?= ImageUploader::widget([ | |
| 95 | + 'model'=> $portfolio, | |
| 96 | + 'field'=>'cover', | |
| 97 | + 'width'=>100, | |
| 98 | + 'height'=>100, | |
| 99 | + 'multi'=>false, | |
| 100 | + 'gallery' =>$portfolio->cover, | |
| 101 | + 'name' => 'Загрузить' | |
| 102 | + ]); | |
| 103 | + ?> | |
| 104 | + <div class="not-file-mb-adm">До 3 Мб файл</div> | |
| 105 | + </div> | |
| 91 | 106 | |
| 92 | 107 | |
| 93 | 108 | |
| ... | ... | @@ -95,7 +110,7 @@ use yii\web\JsExpression; |
| 95 | 110 | <div class="input-blocks"> |
| 96 | 111 | <?= |
| 97 | 112 | $form->field($portfolio, 'city')->widget(Select2::classname(), [ |
| 98 | - 'options' => ['placeholder' => 'Выбор города ...'], | |
| 113 | + 'options' => ['class' => 'Выбор города ...'], | |
| 99 | 114 | 'pluginOptions' => [ |
| 100 | 115 | 'allowClear' => true, |
| 101 | 116 | 'minimumInputLength' => 3, |
| ... | ... | @@ -147,3 +162,8 @@ use yii\web\JsExpression; |
| 147 | 162 | <?php |
| 148 | 163 | $form->end(); |
| 149 | 164 | ?> |
| 165 | +<script> | |
| 166 | + $(document).ready(function(){ | |
| 167 | + | |
| 168 | + }) | |
| 169 | +</script> | |
| 150 | 170 | \ No newline at end of file | ... | ... |
frontend/views/accounts/_vacancy_form.php
| ... | ... | @@ -11,10 +11,10 @@ |
| 11 | 11 | use yii\helpers\Html; |
| 12 | 12 | use yii\widgets\ActiveForm; |
| 13 | 13 | |
| 14 | - $this->title = 'Мой профиль'; | |
| 14 | + $this->title = 'Вакансии'; | |
| 15 | 15 | $this->params[ 'breadcrumbs' ][] = $this->title; |
| 16 | 16 | ?> |
| 17 | -<h1><?= $this->title ?></h1> | |
| 17 | +<div class="login-left-column-title"><?= $this->title ?></div> | |
| 18 | 18 | |
| 19 | 19 | <?php |
| 20 | 20 | $form = ActiveForm::begin(); |
| ... | ... | @@ -40,10 +40,16 @@ |
| 40 | 40 | 'template' => 'requirements', 'item_id' => $vacancy->vacancy_id, 'model' => 'common\models\Vacancy', 'language' => 'ru', |
| 41 | 41 | ] |
| 42 | 42 | ); ?> |
| 43 | +<div class="input-blocks-wrapper full-blocks admin-editor-bl"> | |
| 44 | + <div class="input-blocks"> | |
| 45 | + <?= $form->field($vacancy, 'description')->widget(CKEditor::className()) ?> | |
| 46 | + </div> | |
| 47 | +</div> | |
| 43 | 48 | |
| 44 | -<?= $form->field($vacancy, 'description')->widget(CKEditor::className()) ?> | |
| 49 | +<div class="admin-save-btn skills-save-btn style"> | |
| 50 | + <?= Html::submitButton('Добавить') ?> | |
| 51 | +</div> | |
| 45 | 52 | |
| 46 | -<?= Html::submitButton('Добавить') ?> | |
| 47 | 53 | |
| 48 | 54 | <?php |
| 49 | 55 | $form->end(); | ... | ... |
frontend/views/accounts/contacts.php
| ... | ... | @@ -12,7 +12,14 @@ |
| 12 | 12 | $user = \Yii::$app->user->identity; |
| 13 | 13 | ?> |
| 14 | 14 | |
| 15 | -<div class="login-left-column-title style"><span><?= $this->title ?></span><p class="login-left-column-title-hint">Будут видны всем</p></div> | |
| 15 | +<div class="login-left-column-title style"> | |
| 16 | + <table cellpadding="0" cellspacing="0" border="0"> | |
| 17 | + <tr> | |
| 18 | + <td><?= $this->title ?></td> | |
| 19 | + <td style="font-size: 13px; color: #b7b7b7;padding-left: 15px;"> Будут видны всем</td> | |
| 20 | + </tr> | |
| 21 | + </table> | |
| 22 | + </div> | |
| 16 | 23 | |
| 17 | 24 | |
| 18 | 25 | <div class="admin-contacts-wr style"> | ... | ... |
frontend/views/accounts/portfolio.php
| ... | ... | @@ -35,13 +35,15 @@ |
| 35 | 35 | 'class' => ActionColumn::className(), |
| 36 | 36 | 'buttons' => [ |
| 37 | 37 | 'update' => function($url, $model, $key) { |
| 38 | - return Html::a('Update', [ | |
| 38 | + return Html::a('<img src="/images/ico_pencil.png" alt="">', [ | |
| 39 | 39 | 'portfolio-update', |
| 40 | 40 | 'id' => $model->portfolio_id, |
| 41 | + ],[ | |
| 42 | + 'title' => 'Редактировать', | |
| 41 | 43 | ]); |
| 42 | 44 | }, |
| 43 | 45 | 'delete' => function($url, $model, $key) { |
| 44 | - return Html::a('Delete', [ | |
| 46 | + return Html::a('<img src="/images/delete-ico.png" alt="">', [ | |
| 45 | 47 | 'portfolio-delete', |
| 46 | 48 | 'id' => $model->portfolio_id, |
| 47 | 49 | ], [ | ... | ... |
frontend/views/accounts/projects.php
| ... | ... | @@ -12,11 +12,12 @@ |
| 12 | 12 | $this->title = 'Проекты'; |
| 13 | 13 | $this->params[ 'breadcrumbs' ][] = $this->title; |
| 14 | 14 | ?> |
| 15 | -<h1><?= $this->title ?></h1> | |
| 15 | +<div class="login-left-column-title"><?= $this->title ?></div> | |
| 16 | 16 | <p> |
| 17 | 17 | <?= Html::a(Yii::t('app', 'Добавить'), [ 'projects-create' ], [ 'class' => 'btn btn-success' ]) ?> |
| 18 | 18 | </p> |
| 19 | 19 | <?= GridView::widget([ |
| 20 | + 'options' => ['class'=>'style admin-all-pages-wr'], | |
| 20 | 21 | 'dataProvider' => $dataProvider, |
| 21 | 22 | 'filterModel' => $searchModel, |
| 22 | 23 | 'columns' => [ |
| ... | ... | @@ -35,13 +36,15 @@ |
| 35 | 36 | 'class' => ActionColumn::className(), |
| 36 | 37 | 'buttons' => [ |
| 37 | 38 | 'update' => function($url, $model, $key) { |
| 38 | - return Html::a('Update', [ | |
| 39 | + return Html::a('<img src="/images/ico_pencil.png" alt="">', [ | |
| 39 | 40 | 'projects-update', |
| 40 | 41 | 'id' => $model->project_id, |
| 42 | + ],[ | |
| 43 | + 'title' => 'Редактировать', | |
| 41 | 44 | ]); |
| 42 | 45 | }, |
| 43 | 46 | 'delete' => function($url, $model, $key) { |
| 44 | - return Html::a('Delete', [ | |
| 47 | + return Html::a('<img src="/images/delete-ico.png" alt="">', [ | |
| 45 | 48 | 'projects-delete', |
| 46 | 49 | 'id' => $model->project_id, |
| 47 | 50 | ], [ | ... | ... |
frontend/views/accounts/service.php
| ... | ... | @@ -10,63 +10,186 @@ |
| 10 | 10 | use yii\helpers\Html; |
| 11 | 11 | use yii\widgets\ActiveForm; |
| 12 | 12 | |
| 13 | - $this->title = 'Мой профиль'; | |
| 13 | + $this->title = 'Услуги'; | |
| 14 | 14 | $this->params[ 'breadcrumbs' ][] = $this->title; |
| 15 | 15 | ?> |
| 16 | -<h1><?= $this->title ?></h1> | |
| 17 | -<p>Рекомендуем детально заполнить для исполнителя. Это сильно влияет на количество заказов.</p> | |
| 18 | -<?php | |
| 19 | - $form = ActiveForm::begin(); | |
| 20 | -?> | |
| 21 | -<?= $form->field($user_info, 'salary', [ | |
| 22 | - 'template' => "{label}: от {input} за час\n{hint}\n{error}", | |
| 23 | - 'options' => [ 'class' => 'form-inline' ], | |
| 24 | -]) | |
| 25 | - ->label('Стоимость работ') | |
| 26 | - ->textInput() ?> | |
| 27 | -<?= $form->field($user, 'specializationInput') | |
| 28 | - ->label('Специализация услуг') | |
| 29 | - ->checkboxList($specialization) ?> | |
| 30 | -<?= $form->field($user_info, 'guarantee', [ | |
| 31 | - 'template' => "{label}: {input} лет\n{hint}\n{error}", | |
| 32 | - 'options' => [ 'class' => 'form-inline' ], | |
| 33 | -]) | |
| 34 | - ->label('Гарантия качества работ') | |
| 35 | - ->textInput() ?> | |
| 36 | -<?= $form->field($user_info, 'contract', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 37 | - ->label('Работа по договору') | |
| 38 | - ->radioList([ | |
| 39 | - 0 => 'Да', | |
| 40 | - 1 => 'Нет', | |
| 41 | - ], [ 'class' => 'form-control-static' ]) ?> | |
| 42 | -<?= $form->field($user_info, 'estimate', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 43 | - ->label('Предоставляете смету') | |
| 44 | - ->radioList([ | |
| 45 | - 0 => 'Да', | |
| 46 | - 1 => 'Нет', | |
| 47 | - ], [ 'class' => 'form-control-static' ]) ?> | |
| 48 | -<?= $form->field($user_info, 'purchase', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 49 | - ->label('Делаете сами закупку материалов') | |
| 50 | - ->radioList([ | |
| 51 | - 0 => 'Да', | |
| 52 | - 1 => 'Нет', | |
| 53 | - ], [ 'class' => 'form-control-static' ]) ?> | |
| 54 | -<?= $form->field($user_info, 'delivery', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 55 | - ->label('Занимаетесь сами доставкой материалов') | |
| 56 | - ->radioList([ | |
| 57 | - 0 => 'Да', | |
| 58 | - 1 => 'Нет', | |
| 59 | - ], [ 'class' => 'form-control-static' ]) ?> | |
| 60 | -<?= $form->field($user_info, 'prepayment', [ | |
| 61 | - 'template' => "{label}: {input} %\n{hint}\n{error}", | |
| 62 | - 'options' => [ 'class' => 'form-inline' ], | |
| 63 | -]) | |
| 64 | - ->label('Минимальная предоплата за работы') | |
| 65 | - ->textInput() ?> | |
| 66 | -<?= $form->field($user, 'paymentInput') | |
| 67 | - ->label('Способы оплаты') | |
| 68 | - ->checkboxList($payment) ?> | |
| 69 | -<?= Html::submitButton('Обновить') ?> | |
| 70 | -<?php | |
| 71 | - $form->end(); | |
| 72 | -?> | |
| 16 | +<div class="login-left-column-title style"> | |
| 17 | + <table cellpadding="0" cellspacing="0" border="0"> | |
| 18 | + <tr> | |
| 19 | + <td><?= $this->title ?></td> | |
| 20 | + <td style="font-size: 13px; color: #b7b7b7;padding-left: 15px;">Рекомендуем детально заполнить для исполнителя. Это сильно влияет на количество заказов.</td> | |
| 21 | + </tr> | |
| 22 | + </table> | |
| 23 | +</div> | |
| 24 | +<div class="admin-service-wr style"> | |
| 25 | + <?php | |
| 26 | + $form = ActiveForm::begin(); | |
| 27 | + ?> | |
| 28 | + <div class="input-blocks-wrapper"> | |
| 29 | + <div class="input-blocks"> | |
| 30 | + <?= $form->field($user_info, 'salary', [ | |
| 31 | + 'template' => "{label}<br /><span class='admn-input-txt'>от</span>{input}<span class='admn-input-txt'><span style='color: red'>ВЫБОР ВАЛЮТЫ!!!!!!!</span>за час</span>\n{hint}\n{error}", | |
| 32 | + 'options' => [ 'class' => 'form-inline' ], | |
| 33 | + ]) | |
| 34 | + ->label('Стоимость работ') | |
| 35 | + ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']); | |
| 36 | + ?> | |
| 37 | + </div> | |
| 38 | + </div> | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + <div class="input-blocks-wrapper"> | |
| 43 | + <div class="input-blocks"> | |
| 44 | + <?= $form->field($user, 'specializationInput') | |
| 45 | + ->label('Специализация услуг') | |
| 46 | + ->checkboxList($specialization) ?> | |
| 47 | + </div> | |
| 48 | + </div> | |
| 49 | + <div class="input-blocks-wrapper"> | |
| 50 | + <div class="input-blocks" style="color: red"> | |
| 51 | + Гоеграфия работ????????????? | |
| 52 | + </div> | |
| 53 | + </div> | |
| 54 | + <div class="input-blocks-wrapper"> | |
| 55 | + <div class="input-blocks"> | |
| 56 | + <?= $form->field($user_info, 'guarantee', [ | |
| 57 | + 'template' => "{label}<br />{input}<span class='admn-input-txt'>лет</span>\n{hint}\n{error}", | |
| 58 | + 'options' => [ 'class' => 'form-inline' ], | |
| 59 | + ]) | |
| 60 | + ->label('Гарантия качества работ') | |
| 61 | + ->textInput (['class'=> 'custom-input-2 custom-input-2-date custom-input-2-margin-r','type'=>'number']) ?> | |
| 62 | + </div> | |
| 63 | + </div> | |
| 64 | + | |
| 65 | + <div class="input-blocks-wrapper"> | |
| 66 | + <div class="input-blocks"> | |
| 67 | + <?= $form->field($user_info, 'contract', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 68 | + ->label('Работа по договору') | |
| 69 | + ->radioList([ | |
| 70 | + 0 => 'Да', | |
| 71 | + 1 => 'Нет', | |
| 72 | + ], | |
| 73 | + [ | |
| 74 | + 'item' => function($index, $label, $name, $checked, $value) { | |
| 75 | + $return = '<div class="admin-who-check">'; | |
| 76 | + $return .= '<input class="custom-radio" id="select_admin_doc'.$value.'" type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; | |
| 77 | + $return .= '<label for="select_admin_doc'.$value.'" >'; | |
| 78 | + $return .= '<span></span>' . ucwords($label); | |
| 79 | + $return .= '</label>'; | |
| 80 | + $return .= '</div>'; | |
| 81 | + return $return; | |
| 82 | + } | |
| 83 | + ]) ?> | |
| 84 | + </div> | |
| 85 | + </div> | |
| 86 | + | |
| 87 | + <div class="input-blocks-wrapper"> | |
| 88 | + <div class="input-blocks"> | |
| 89 | + <?= $form->field($user_info, 'estimate', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 90 | + ->label('Предоставляете смету') | |
| 91 | + ->radioList([ | |
| 92 | + 0 => 'Да', | |
| 93 | + 1 => 'Нет', | |
| 94 | + ], [ | |
| 95 | + 'item' => function($index, $label, $name, $checked, $value) { | |
| 96 | + $return = '<div class="admin-who-check">'; | |
| 97 | + $return .= '<input class="custom-radio" id="select_admin_estimate'.$value.'" type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; | |
| 98 | + $return .= '<label for="select_admin_estimate'.$value.'" >'; | |
| 99 | + $return .= '<span></span>' . ucwords($label); | |
| 100 | + $return .= '</label>'; | |
| 101 | + $return .= '</div>'; | |
| 102 | + return $return; | |
| 103 | + } | |
| 104 | + ]) ?> | |
| 105 | + </div> | |
| 106 | + </div> | |
| 107 | + | |
| 108 | + <div class="input-blocks-wrapper"> | |
| 109 | + <div class="input-blocks"> | |
| 110 | + <?= $form->field($user_info, 'purchase', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 111 | + ->label('Делаете сами закупку материалов') | |
| 112 | + ->radioList([ | |
| 113 | + 0 => 'Да', | |
| 114 | + 1 => 'Нет', | |
| 115 | + ], [ | |
| 116 | + 'item' => function($index, $label, $name, $checked, $value) { | |
| 117 | + $return = '<div class="admin-who-check">'; | |
| 118 | + $return .= '<input class="custom-radio" id="select_admin_purchase'.$value.'" type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; | |
| 119 | + $return .= '<label for="select_admin_purchase'.$value.'" >'; | |
| 120 | + $return .= '<span></span>' . ucwords($label); | |
| 121 | + $return .= '</label>'; | |
| 122 | + $return .= '</div>'; | |
| 123 | + return $return; | |
| 124 | + } | |
| 125 | + ]) ?> | |
| 126 | + </div> | |
| 127 | + </div> | |
| 128 | + <div class="input-blocks-wrapper"> | |
| 129 | + <div class="input-blocks"> | |
| 130 | + <?= $form->field($user_info, 'delivery', [ 'options' => [ 'class' => 'form-inline' ] ]) | |
| 131 | + ->label('Занимаетесь сами доставкой материалов') | |
| 132 | + ->radioList([ | |
| 133 | + 0 => 'Да', | |
| 134 | + 1 => 'Нет', | |
| 135 | + ], [ | |
| 136 | + 'item' => function($index, $label, $name, $checked, $value) { | |
| 137 | + $return = '<div class="admin-who-check">'; | |
| 138 | + $return .= '<input class="custom-radio" id="select_admin_delivery'.$value.'" type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; | |
| 139 | + $return .= '<label for="select_admin_delivery'.$value.'" >'; | |
| 140 | + $return .= '<span></span>' . ucwords($label); | |
| 141 | + $return .= '</label>'; | |
| 142 | + $return .= '</div>'; | |
| 143 | + return $return; | |
| 144 | + } | |
| 145 | + ]) ?> | |
| 146 | + </div> | |
| 147 | + </div> | |
| 148 | + | |
| 149 | + <div class="input-blocks-wrapper"> | |
| 150 | + <div class="input-blocks"> | |
| 151 | + <?= $form->field($user_info, 'prepayment', [ | |
| 152 | + 'template' => "{label}<br />{input}<span class='admn-input-txt'>%</span>\n{hint}\n{error}", | |
| 153 | + 'options' => [ 'class' => 'form-inline' ], | |
| 154 | + ]) | |
| 155 | + ->label('Минимальная предоплата за работы') | |
| 156 | + ->textInput (['class'=> 'custom-input-2 custom-input-2-date custom-input-2-margin-r','type'=>'number'])?> | |
| 157 | + </div> | |
| 158 | + </div> | |
| 159 | + | |
| 160 | + <div class="input-blocks-wrapper style border-general"> | |
| 161 | + <div class="input-blocks"> | |
| 162 | + <?= $form->field($user, 'paymentInput', [ 'template' => "{label}\n{input}\n{error}" ]) | |
| 163 | + ->label('Способы оплаты') | |
| 164 | + ->checkboxList($payment, | |
| 165 | + [ | |
| 166 | + 'item' => function($index, $label, $name, $checked, $value) { | |
| 167 | + $return = '<div class="admin-who-check-payment">'; | |
| 168 | + $return .= '<input class="custom-check" id="select_admin_payment'.$value.'" type="checkbox" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; | |
| 169 | + $return .= '<label for="select_admin_payment'.$value.'" >'; | |
| 170 | + $return .= '<span></span>' . ucwords($label); | |
| 171 | + $return .= '</label>'; | |
| 172 | + $return .= '</div>'; | |
| 173 | + return $return; | |
| 174 | + } | |
| 175 | + ] | |
| 176 | + ) ?> | |
| 177 | + </div> | |
| 178 | + </div> | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + <div class="input-blocks-wrapper"> | |
| 187 | + <div class="admin-save-btn style admin-save-btn-fix-line"> | |
| 188 | + <?= Html::submitButton('Сохранить') ?> | |
| 189 | + </div> | |
| 190 | + </div> | |
| 191 | + | |
| 192 | + <?php | |
| 193 | + $form->end(); | |
| 194 | + ?> | |
| 195 | +</div> | |
| 73 | 196 | \ No newline at end of file | ... | ... |
frontend/views/accounts/vacancy.php
| ... | ... | @@ -12,11 +12,12 @@ |
| 12 | 12 | $this->title = 'Вакансии'; |
| 13 | 13 | $this->params[ 'breadcrumbs' ][] = $this->title; |
| 14 | 14 | ?> |
| 15 | -<h1><?= $this->title ?></h1> | |
| 16 | -<p> | |
| 15 | +<div class="login-left-column-title"><?= $this->title ?></div> | |
| 16 | +<div class="admin-all-pages-add"> | |
| 17 | 17 | <?= Html::a(Yii::t('app', 'Добавить'), [ 'vacancy-create' ], [ 'class' => 'btn btn-success' ]) ?> |
| 18 | -</p> | |
| 18 | +</div> | |
| 19 | 19 | <?= GridView::widget([ |
| 20 | + 'options' => ['class'=>'style admin-all-pages-wr'], | |
| 20 | 21 | 'dataProvider' => $dataProvider, |
| 21 | 22 | 'filterModel' => $searchModel, |
| 22 | 23 | 'columns' => [ |
| ... | ... | @@ -30,10 +31,10 @@ |
| 30 | 31 | 'class' => ActionColumn::className(), |
| 31 | 32 | 'buttons' => [ |
| 32 | 33 | 'update' => function($url, $model, $key) { |
| 33 | - return Html::a('Update', ['vacancy-update', 'id' => $model->vacancy_id]); | |
| 34 | + return Html::a('<img src="/images/ico_pencil.png" alt="">', ['vacancy-update', 'id' => $model->vacancy_id]); | |
| 34 | 35 | }, |
| 35 | 36 | 'delete' => function($url, $model, $key) { |
| 36 | - return Html::a('Delete', ['vacancy-delete', 'id' => $model->vacancy_id], [ | |
| 37 | + return Html::a('<img src="/images/delete-ico.png" alt="">', ['vacancy-delete', 'id' => $model->vacancy_id], [ | |
| 37 | 38 | 'title' => 'Удалить', |
| 38 | 39 | 'aria-label' => 'Удалить', |
| 39 | 40 | 'data-confirm' => 'Вы уверены, что хотите удалить этот элемент?', | ... | ... |
frontend/web/css/style.css
| ... | ... | @@ -4616,6 +4616,7 @@ input.custom-radio + label, input.custom-check + label { |
| 4616 | 4616 | cursor: pointer; |
| 4617 | 4617 | margin-left: 6px; |
| 4618 | 4618 | display: inline; |
| 4619 | + font-weight: normal; | |
| 4619 | 4620 | } |
| 4620 | 4621 | input.custom-radio:checked + label, input.custom-check:checked + label { |
| 4621 | 4622 | color: #0072bc; |
| ... | ... | @@ -5050,6 +5051,9 @@ input.disabled.admin-check:checked + label, input.disabled.admin-check:checked + |
| 5050 | 5051 | color: #fff; |
| 5051 | 5052 | } |
| 5052 | 5053 | |
| 5054 | + | |
| 5055 | + | |
| 5056 | + | |
| 5053 | 5057 | /***login***/ |
| 5054 | 5058 | .section-box.admin-page {margin-top: 30px} |
| 5055 | 5059 | .login-right-column { |
| ... | ... | @@ -5109,9 +5113,7 @@ ul.menu-admin li.logout-li, ul.menu-admin li.logout-li a, ul.menu-admin li:last- |
| 5109 | 5113 | } |
| 5110 | 5114 | |
| 5111 | 5115 | |
| 5112 | -.login-left-column-title {border-bottom: 1px solid #dbdbdb; margin-top: 15px; padding-bottom: 23px;} | |
| 5113 | -.login-left-column-title span {} | |
| 5114 | -.login-left-column-title p {font-size: 13px; color: #b7b7b7} | |
| 5116 | +.login-left-column-title {border-bottom: 1px solid #dbdbdb; margin-top: 15px; padding-bottom: 27px;} | |
| 5115 | 5117 | .login-left-column-title, .login-left-column-title h1{font-size: 18px} |
| 5116 | 5118 | .form-group{margin-bottom: 0} |
| 5117 | 5119 | .border-general { |
| ... | ... | @@ -5637,7 +5639,11 @@ a {color: #0072bc} |
| 5637 | 5639 | .admin-all-pages-wr table .form-control:focus {border: 1px solid #dcdcdc;box-shadow: 1px 2px 2px 0px rgba(215, 215, 215, 0.75) inset; transition: 0.1s; outline: none} |
| 5638 | 5640 | .admin-all-pages-wr table tbody tr td {padding: 4px 8px; vertical-align: middle} |
| 5639 | 5641 | .admin-all-pages-wr table {font-size: 13px} |
| 5640 | -.admin-all-pages-wr .table > thead > tr > th {vertical-align: middle} | |
| 5642 | +.admin-all-pages-wr table > thead > tr > th {vertical-align: middle} | |
| 5643 | +.admin-all-pages-wr table tr td:last-child{width: 52px; padding: 0 8px} | |
| 5644 | +.admin-all-pages-wr table tr td:last-child a{margin-left: 5px} | |
| 5645 | +.admin-all-pages-wr table tr td:last-child a:first-child{margin-left: 0} | |
| 5646 | +.admin-all-pages-wr table .empty{font-size: 15px; margin: 10px 0} | |
| 5641 | 5647 | .admin-all-pages-wr .pagination {float: right} |
| 5642 | 5648 | .admin-all-pages-wr .pagination > li > a, .pagination > li > span { |
| 5643 | 5649 | background: none; |
| ... | ... | @@ -5650,12 +5656,63 @@ a {color: #0072bc} |
| 5650 | 5656 | .admin-all-pages-wr .pagination > li.active > a, .admin-all-pages-wr .pagination > li.active > span { |
| 5651 | 5657 | color: inherit; |
| 5652 | 5658 | } |
| 5659 | + | |
| 5653 | 5660 | .admin-all-pages-wr .pagination > li.active a:hover, .admin-all-pages-wr .pagination > li.active span:hover { |
| 5654 | 5661 | color: inherit; |
| 5655 | 5662 | background: none; |
| 5656 | 5663 | } |
| 5664 | +.admin-all-pages-wr .pagination > li.active > a:focus, .admin-all-pages-wr .pagination > li.active > span:focus {background: none} | |
| 5665 | +.admin-all-pages-wr .summary{margin-bottom: 10px} | |
| 5657 | 5666 | |
| 5667 | +.admin-blog-min-img { | |
| 5658 | 5668 | |
| 5659 | - | |
| 5660 | - | |
| 5661 | - | |
| 5669 | +} | |
| 5670 | +.admin-blog-min-img .file-uploader-block {width: 340px} | |
| 5671 | +.admin-blog-min-img .tst { | |
| 5672 | + width: 100%; | |
| 5673 | + height: 260px; | |
| 5674 | + background: #f1f1f1; | |
| 5675 | +} | |
| 5676 | +.admin-blog-min-img .admin-avatar-pattern-wr { | |
| 5677 | + width: 340px; | |
| 5678 | +} | |
| 5679 | +.admin-blog-min-img .admin-avatar-pattern { | |
| 5680 | + width: 340px; | |
| 5681 | + height: 260px; | |
| 5682 | + background: none; | |
| 5683 | +} | |
| 5684 | +.admin-blog-min-img .admin-ava-wr { | |
| 5685 | + width: 340px; | |
| 5686 | + height: 260px; | |
| 5687 | +} | |
| 5688 | +.admin-blog-min-img .uploader-button { | |
| 5689 | + width: auto; | |
| 5690 | + padding: 0 10px; | |
| 5691 | + margin-left: 0} | |
| 5692 | +.admin-blog-min-img #cover_buttons_block { | |
| 5693 | + position: absolute; | |
| 5694 | + height: 29px; | |
| 5695 | + float: left; | |
| 5696 | + top: 260px; | |
| 5697 | + left: 199px; | |
| 5698 | +} | |
| 5699 | +.admin-blog-min-img .admin-ava-wr { | |
| 5700 | + background: none; | |
| 5701 | +} | |
| 5702 | +.admin-save-btn.admin-save-btn-fix-line {margin-top: 19px} | |
| 5703 | +.admin-save-btn.admin-save-btn-fix-line button { | |
| 5704 | + line-height: normal; | |
| 5705 | +} | |
| 5706 | +.custom-input-2-margin-r { | |
| 5707 | + margin-right: 10px; | |
| 5708 | +} | |
| 5709 | +.admn-input-txt { | |
| 5710 | + font-size: 13px; | |
| 5711 | +} | |
| 5712 | +.admin-who-check-payment .custom-check + label span { | |
| 5713 | + margin-left: 0; | |
| 5714 | +} | |
| 5715 | +.admin-who-check-payment .custom-check + label:hover {border-bottom: 1px solid #333333} | |
| 5716 | +.admin-service-wr .input-blocks-wrapper { | |
| 5717 | + margin-top: 24px; | |
| 5718 | +} | |
| 5662 | 5719 | \ No newline at end of file | ... | ... |