Commit 9230f848db0baab4153c65426099c806740aa6c5

Authored by Виталий
1 parent 1b56164e

tokar commit

frontend/views/accounts/service.php
... ... @@ -32,19 +32,23 @@
32 32 $form = ActiveForm::begin();
33 33 ?>
34 34 <div class="input-blocks-wrapper">
35   - <div class="input-blocks">
36   - <?= $form->field($user_info, 'salary_currency')
37   - ->label(false)
38   - ->dropDownList($currencies); ?>
  35 + <div class="input-blocks admin-currency-first">
39 36 <?= $form->field($user_info, 'salary', [
40   - 'template' => "{label}<br /><span class='admn-input-txt'>от</span>{input}<span class='admn-input-txt'>за час</span>\n{hint}\n{error}",
  37 + 'template' => "{label}<br /><span class='admn-input-txt'>от</span>{input}\n{hint}\n{error}",
41 38 'options' => [ 'class' => 'form-inline' ],
42 39 ])
43   - ->label('Стоимость работ')
44   - ->textInput([
45   - 'class' => 'custom-input-2 custom-input-2-date',
46   - 'type' => 'number',
47   - ]); ?>
  40 + ->label('Стоимость работ')
  41 + ->textInput (['class'=> 'custom-input-2 custom-input-2-date','type'=>'number']);
  42 + ?>
  43 + </div>
  44 + <div class="input-blocks admin-currency-second">
  45 + <?=
  46 + $form->field($user_info, 'salary_currency', [
  47 + 'template' => "{input}<span class='admn-input-txt'>за час</span>\n{hint}\n{error}",
  48 + ])
  49 + ->label(false)
  50 + ->dropDownList(Currency::getCurrencyDropdown());
  51 + ?>
48 52 </div>
49 53 </div>
50 54  
... ...
frontend/web/css/style.css
... ... @@ -6015,3 +6015,18 @@ a {color: #0072bc}
6015 6015 vertical-align: baseline;
6016 6016 }
6017 6017 }
  6018 +.input-blocks.admin-currency-first .custom-input-2.custom-input-2-date {width: 66px}
  6019 +.input-blocks.admin-currency-first {width: 150px}
  6020 +.input-blocks.admin-currency-second {}
  6021 +.input-blocks.admin-currency-second select {
  6022 + border-radius: 0;
  6023 + line-height: normal;
  6024 +}
  6025 +.input-blocks.admin-currency-second select:focus{
  6026 + box-shadow: 1px 2px 2px 0px rgba(215, 215, 215, 0.75) inset;
  6027 + border: 1px solid #dcdcdc;
  6028 +
  6029 +}
  6030 +.input-blocks.admin-currency-second .has-success select {
  6031 + border: 1px solid #dcdcdc;
  6032 +}
6018 6033 \ No newline at end of file
... ...