10402 remove passwords box & 10856 vcard

This commit is contained in:
Pablo Aragon 2023-04-04 09:24:29 +02:00
parent 2dcba8c8fb
commit e4c8097e9c
3 changed files with 31 additions and 18 deletions

View File

@ -1045,6 +1045,22 @@ if (!$new_user) {
); );
$user_id .= $apiTokenContent; $user_id .= $apiTokenContent;
$CodeQRContent .= html_print_div(['id' => 'qr_container_image', 'class' => 'scale-0-8'], true);
$CodeQRContent .= html_print_anchor(
['id' => 'qr_code_agent_view'],
true
);
$CodeQRContent .= '<br/>'.$custom_id_div;
// QR code div.
$CodeQRTable = html_print_div(
[
'class' => 'agent_qr',
'content' => $CodeQRContent,
],
true
);
} else { } else {
$user_id = '<div class="label_select_simple">'.html_print_input_text_extended( $user_id = '<div class="label_select_simple">'.html_print_input_text_extended(
'id_user', 'id_user',

View File

@ -258,7 +258,7 @@ if (users_is_admin() === true) {
// Password management. // Password management.
$passwordManageTable = new stdClass(); $passwordManageTable = new stdClass();
$passwordManageTable->class = 'table_section full_section'; $passwordManageTable->class = 'full_section';
$passwordManageTable->id = 'password_manage'; $passwordManageTable->id = 'password_manage';
$passwordManageTable->style = []; $passwordManageTable->style = [];
$passwordManageTable->rowclass = []; $passwordManageTable->rowclass = [];
@ -605,7 +605,7 @@ $userManagementTable->data['fields_blocksize_eventfilter'][1] = html_print_selec
if (is_metaconsole() === false) { if (is_metaconsole() === false) {
// Home screen table. // Home screen table.
$homeScreenTable = new stdClass(); $homeScreenTable = new stdClass();
$homeScreenTable->class = 'w100p table_section full_section'; $homeScreenTable->class = 'w100p full_section';
$homeScreenTable->id = 'home_screen_table'; $homeScreenTable->id = 'home_screen_table';
$homeScreenTable->style = []; $homeScreenTable->style = [];
$homeScreenTable->rowclass = []; $homeScreenTable->rowclass = [];
@ -736,22 +736,6 @@ $userManagementTable->data['fields_addSettings'][1] .= html_print_div(
true true
); );
$CodeQRContent .= html_print_div(['id' => 'qr_container_image', 'class' => 'scale-0-8'], true);
$CodeQRContent .= html_print_anchor(
['id' => 'qr_code_agent_view'],
true
);
$CodeQRContent .= '<br/>'.$custom_id_div;
// QR code div.
$CodeQRTable = html_print_div(
[
'class' => 'agent_qr',
'content' => $CodeQRContent,
],
true
);
// QR Code and API Token advice. // QR Code and API Token advice.
html_print_div( html_print_div(
[ [

View File

@ -844,3 +844,16 @@ a.mini-pandora-pagination {
input.mini-search-input { input.mini-search-input {
height: 30px; height: 30px;
} }
td#password_manage-captions_newpassword-0,
td#password_manage-fields_newpassword-0,
td#password_manage-captions_repeatpassword-0,
td#password_manage-fields_repeatpassword-0,
td#password_manage-captions_currentpassword-0,
td#password_manage-fields_currentpassword-0,
td#advanced-passwordManage_table-0,
td#home_screen_table-captions_homescreen-0,
td#home_screen_table-fields_homescreen-0,
td#advanced-homescreen_table-0 {
padding: 0px;
}