New view user edit
Former-commit-id: 584df7ff9cca2b5898cdbcaec1d27ce8264a71cd
This commit is contained in:
parent
9a702a90a1
commit
c5722d2e10
Binary file not shown.
After Width: | Height: | Size: 674 B |
Binary file not shown.
After Width: | Height: | Size: 453 B |
Binary file not shown.
After Width: | Height: | Size: 459 B |
Binary file not shown.
After Width: | Height: | Size: 480 B |
|
@ -4778,7 +4778,7 @@ input:checked + .p-slider:before {
|
|||
}
|
||||
|
||||
.edit_user_info {
|
||||
width: 65%;
|
||||
width: 58%;
|
||||
margin-right: 20px;
|
||||
display: flex;
|
||||
}
|
||||
|
@ -4801,12 +4801,13 @@ input:checked + .p-slider:before {
|
|||
border: none;
|
||||
border-radius: 0 !important;
|
||||
border-bottom: 2px solid #343434;
|
||||
padding: 1px 3px;
|
||||
height: 26px;
|
||||
text-indent: 30px;
|
||||
padding: 8px 0px 2px 35px;
|
||||
/* height: 28px; */
|
||||
box-sizing: border-box;
|
||||
/*text-indent: 30px;*/
|
||||
background-repeat: no-repeat;
|
||||
background-position: left bottom 2px;
|
||||
/* margin-bottom: 15px;*/
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.edit_user_info_right #fullname {
|
||||
|
@ -4817,8 +4818,20 @@ input:checked + .p-slider:before {
|
|||
background-image: url("http://172.16.0.2/pandora_console/images/header_user_admin_green.png");
|
||||
}
|
||||
|
||||
.edit_user_info_right #phone {
|
||||
background-image: url("http://172.16.0.2/pandora_console/images/header_user_admin_green.png");
|
||||
}
|
||||
|
||||
.edit_user_info_right #password_new {
|
||||
background-image: url("http://172.16.0.2/pandora_console/images/header_user_admin_green.png");
|
||||
}
|
||||
|
||||
.edit_user_info_right #password_conf {
|
||||
background-image: url("http://172.16.0.2/pandora_console/images/header_user_admin_green.png");
|
||||
}
|
||||
|
||||
.edit_user_autorefresh {
|
||||
width: 35%;
|
||||
width: 42%;
|
||||
padding: 20px 30px;
|
||||
}
|
||||
|
||||
|
|
|
@ -246,8 +246,8 @@ if ($view_mode === false) {
|
|||
|
||||
// $email = '<div><span class="edit_user_labels">'.__('E-mail').'</span>';
|
||||
$email = '<div>'.html_print_input_text_extended('email', $user_info['email'], 'email', '', '25', '100', $view_mode, '', ['class' => 'input', 'placeholder' => __('E-mail')], true).'</div>';
|
||||
$phone = '<div><span class="edit_user_labels">'.__('Phone number').'</span>';
|
||||
$phone .= html_print_input_text_extended('phone', $user_info['phone'], 'phone', '', '20', '30', $view_mode, '', 'class="input"', true).'</div>';
|
||||
// $phone = '<div><span class="edit_user_labels">'.__('Phone number').'</span>';
|
||||
$phone = '<div>'.html_print_input_text_extended('phone', $user_info['phone'], 'phone', '', '20', '30', $view_mode, '', ['class' => 'input', 'placeholder' => __('Phone number')], true).'</div>';
|
||||
|
||||
/*
|
||||
$table->rowclass[] = '';
|
||||
|
@ -258,10 +258,10 @@ $phone .= html_print_input_text_extended('phone', $user_info['phone'], 'phone',
|
|||
if ($view_mode === false) {
|
||||
if ($config['user_can_update_password']) {
|
||||
// $data = [];
|
||||
$new_pass = '<div><span class="edit_user_labels">'.__('New Password').'</span>';
|
||||
$new_pass .= '<span>'.html_print_input_text_extended('password_new', '', 'password_new', '', '25', '45', $view_mode, '', 'class="input"', true, true).'</span></div>';
|
||||
$new_pass_confirm = '<div><span class="edit_user_labels">'.__('Password confirmation').'</span>';
|
||||
$new_pass_confirm .= '<span>'.html_print_input_text_extended('password_conf', '', 'password_conf', '', '20', '45', $view_mode, '', 'class="input"', true, true).'</span></div>';
|
||||
// $new_pass = '<div><span class="edit_user_labels">'.__('New Password').'</span>';
|
||||
$new_pass = '<div><span>'.html_print_input_text_extended('password_new', '', 'password_new', '', '25', '45', $view_mode, '', ['class' => 'input', 'placeholder' => __('New Password')], true, true).'</span></div>';
|
||||
// $new_pass_confirm = '<div><span class="edit_user_labels">'.__('Password confirmation').'</span>';
|
||||
$new_pass_confirm = '<div><span>'.html_print_input_text_extended('password_conf', '', 'password_conf', '', '20', '45', $view_mode, '', ['class' => 'input', 'placeholder' => __('Password confirmation')], true, true).'</span></div>';
|
||||
|
||||
/*
|
||||
$table->rowclass[] = '';
|
||||
|
|
Loading…
Reference in New Issue