Minor fixes in agent/module view

This commit is contained in:
Jose Gonzalez 2023-02-14 10:41:40 +01:00
parent 8f65ee4fb8
commit 1d682521e9
4 changed files with 8 additions and 7 deletions

View File

@ -356,7 +356,8 @@ $tableAgent->rowspan = [];
if ($new_agent === false) {
$tableAgent->data['caption_name'][0] = __('Agent name');
$tableAgent->rowclass['name'] = 'w540px';
$tableAgent->data['name'][0] = html_print_input_text('agente', $nombre_agente, '', 76, 100, true, false, false, '', 'w540px');
$tableAgent->cellstyle['name'][0] = 'width: 100%;';
$tableAgent->data['name'][0] = html_print_input_text('agente', $nombre_agente, '', 76, 100, true, false, false, '', 'w100p');
$tableAgent->data['name'][0] .= html_print_div(
[
'class' => 'moduleIdBox',
@ -841,7 +842,7 @@ if (enterprise_installed() === true) {
'',
true,
false,
'white_box white_box_opened',
'white_box white_box_opened white_table_graph_fixed',
'no-border flex'
);
}
@ -970,7 +971,7 @@ if (empty($fields) === false) {
'',
true,
false,
'white_box white_box_opened',
'white_box white_box_opened white_table_graph_fixed',
'no-border custom_fields_elements'
);
}

View File

@ -802,7 +802,7 @@ if ($id_agent_module) {
__('Delete'),
'deleteModule',
false,
'window.location.action(\'index.php?sec=gagente&tab=module&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&delete_module='.$id_agent_module.')',
'window.location.assign(\'index.php?sec=gagente&tab=module&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&delete_module='.$id_agent_module.')',
[
'icon' => 'delete',
'mode' => 'secondary',

View File

@ -1283,7 +1283,7 @@ if (check_login()) {
$linkCaption,
'additional_action_for_'.$idAgenteModulo,
false,
'window.location.action(\'index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module['id_agente_modulo'].'&refr=60'.$addedLinkParams.'\')',
'window.location.assign(\'index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module['id_agente_modulo'].'&refr=60'.$addedLinkParams.'\')',
[
'mode' => 'link',
'style' => 'justify-content: flex-end;',
@ -1300,7 +1300,7 @@ if (check_login()) {
__('Edit'),
'edit_module_'.$idAgenteModulo,
false,
'window.location.action(\'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&tab=module&id_agent_module='.$module['id_agente_modulo'].'&edit_module='.$module['id_modulo'].'\')',
'window.location.assign(\'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&tab=module&id_agent_module='.$module['id_agente_modulo'].'&edit_module='.$module['id_modulo'].'\')',
[
'mode' => 'link',
'style' => 'justify-content: flex-end;',

View File

@ -10404,7 +10404,7 @@ button.ui-button.ui-widget.submit-cancel:active {
}
.moduleIdBox {
height: 41px;
height: 40px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
margin-left: -56px;