Minor fixes in agent/module view
This commit is contained in:
parent
8f65ee4fb8
commit
1d682521e9
|
@ -356,7 +356,8 @@ $tableAgent->rowspan = [];
|
||||||
if ($new_agent === false) {
|
if ($new_agent === false) {
|
||||||
$tableAgent->data['caption_name'][0] = __('Agent name');
|
$tableAgent->data['caption_name'][0] = __('Agent name');
|
||||||
$tableAgent->rowclass['name'] = 'w540px';
|
$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(
|
$tableAgent->data['name'][0] .= html_print_div(
|
||||||
[
|
[
|
||||||
'class' => 'moduleIdBox',
|
'class' => 'moduleIdBox',
|
||||||
|
@ -841,7 +842,7 @@ if (enterprise_installed() === true) {
|
||||||
'',
|
'',
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
'white_box white_box_opened',
|
'white_box white_box_opened white_table_graph_fixed',
|
||||||
'no-border flex'
|
'no-border flex'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -970,7 +971,7 @@ if (empty($fields) === false) {
|
||||||
'',
|
'',
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
'white_box white_box_opened',
|
'white_box white_box_opened white_table_graph_fixed',
|
||||||
'no-border custom_fields_elements'
|
'no-border custom_fields_elements'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -802,7 +802,7 @@ if ($id_agent_module) {
|
||||||
__('Delete'),
|
__('Delete'),
|
||||||
'deleteModule',
|
'deleteModule',
|
||||||
false,
|
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',
|
'icon' => 'delete',
|
||||||
'mode' => 'secondary',
|
'mode' => 'secondary',
|
||||||
|
|
|
@ -1283,7 +1283,7 @@ if (check_login()) {
|
||||||
$linkCaption,
|
$linkCaption,
|
||||||
'additional_action_for_'.$idAgenteModulo,
|
'additional_action_for_'.$idAgenteModulo,
|
||||||
false,
|
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',
|
'mode' => 'link',
|
||||||
'style' => 'justify-content: flex-end;',
|
'style' => 'justify-content: flex-end;',
|
||||||
|
@ -1300,7 +1300,7 @@ if (check_login()) {
|
||||||
__('Edit'),
|
__('Edit'),
|
||||||
'edit_module_'.$idAgenteModulo,
|
'edit_module_'.$idAgenteModulo,
|
||||||
false,
|
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',
|
'mode' => 'link',
|
||||||
'style' => 'justify-content: flex-end;',
|
'style' => 'justify-content: flex-end;',
|
||||||
|
|
|
@ -10404,7 +10404,7 @@ button.ui-button.ui-widget.submit-cancel:active {
|
||||||
}
|
}
|
||||||
|
|
||||||
.moduleIdBox {
|
.moduleIdBox {
|
||||||
height: 41px;
|
height: 40px;
|
||||||
border-top-right-radius: 8px;
|
border-top-right-radius: 8px;
|
||||||
border-bottom-right-radius: 8px;
|
border-bottom-right-radius: 8px;
|
||||||
margin-left: -56px;
|
margin-left: -56px;
|
||||||
|
|
Loading…
Reference in New Issue