diff --git a/frontend/views/accounts/general.php b/frontend/views/accounts/general.php index 87ab1af..2f80576 100755 --- a/frontend/views/accounts/general.php +++ b/frontend/views/accounts/general.php @@ -124,40 +124,75 @@ ->textInput (['class'=> 'custom-input-2']); ?> - -
-
- field ($company_info, 'street', ['options' => ['class' => 'form-group company_info']]) - ->label ('Улица') - ->textInput (['class'=> 'custom-input-2']); - ?> + +
+ field ($company_info, 'street', ['options' => ['class' => 'form-group company_info']]) + ->label ('Улица') + ->textInput (['class'=> 'custom-input-2']); + ?>
-
-
-
- field ($company_info, 'house', ['options' => ['class' => 'form-group company_info']]) - ->label ('Дом') - ->textInput (['class'=> 'custom-input-2']); - ?> + +
+ field ($company_info, 'house', ['options' => ['class' => 'form-group company_info']]) + ->label ('Дом') + ->textInput (['class'=> 'custom-input-2']); + ?>
+
field ($user, 'email') ->label ('Email') ->textInput (['class'=> 'custom-input-2','disabled' => 'disabled']); ?> - - field ($company_info, 'hide_mail', ['options' => ['class' => 'form-group company_info'], 'template' => "{input}{label}\n{hint}\n{error}"]) - ->label ('Не публиковать Email') - ->checkbox (['checked'=>'checked'], false); +
+
+ field ($company_info, 'hide_mail', ['options' => ['class' => 'form-group company_info', ], 'template' => "{input}{label}\n{hint}\n{error}"]) + ->label ('не публиковать Email') + ->checkbox (['checked'=>'checked', 'class'=> 'custom-check'], false); ?>
+ +
+
+
Кто вы:
field ($user_info, 'busy') - ->label ('Статус') - ->radioList ([0 => 'Свободен', 1 => 'Занят']); + ->label (false) + ->radioList ( + [0 => 'Свободен', 1 => 'Занят'], + [ + 'item' => function($index, $label, $name, $checked, $value) { + $return = '
'; + $return .= ''; + $return .= ''; + $return .= '
'; + return $return; + } + ] + ); ?> +
+
+ + + + + + + + + + + + + + + + field ($user_info, 'member') ->label ('Членство в МФП') ->hint ('Выберите если хотите стать членом МФП и наш менеджер свяжется с Вами.') diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index 2a51e7e..62258c7 100755 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -4957,13 +4957,7 @@ input.disabled.admin-check:checked + label, input.disabled.admin-check:checked + } .input-blocks .has-success:before { - display: block; - content: "*"; - color: #D40000; - position: absolute; - top: 32px; - left: -15px; - width: 15px; + } .form-group.required:after { @@ -5143,3 +5137,25 @@ ul.menu-admin li.logout-li, ul.menu-admin li.logout-li a, ul.menu-admin li:last- .admin-who-check input.custom-radio + label span{ margin-top: 5px; } +.input-blocks.home-input { + width: 80px; + margin-left: 20px; +} +.input-blocks.home-input input{ + width: 80px; +} +.input-blocks.street-input {margin-left: 20px} +.input-blocks.hide-mail-check {height: 15px; margin-top: 30px;} +.input-blocks.hide-mail-check input.custom-check + label{ + color: #b7b7b7; + font-weight: normal; +} +.input-blocks.hide-mail-check input.custom-check:checked + label { + color: #b7b7b7; + border-bottom: none; +} +.input-blocks.hide-mail-check input.custom-check + label span { + margin-left: 20px; + margin-top: 5px; +} +.custom-input-2[disabled="disabled"] {background: #f1f1f1} \ No newline at end of file -- libgit2 0.21.4