diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 57a271f804..0c7e5b434e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-07-23 Sergio Martin <sergio.martin@artica.es> + + * godmode/alerts/alert_list.builder.php: Fix layout + of alerts editor for bug 2273 + 2013-07-23 Sergio Martin <sergio.martin@artica.es> * include/functions_reporting.php: Few improvements diff --git a/pandora_console/godmode/alerts/alert_list.builder.php b/pandora_console/godmode/alerts/alert_list.builder.php index d45a94e0dc..b37513bb2d 100644 --- a/pandora_console/godmode/alerts/alert_list.builder.php +++ b/pandora_console/godmode/alerts/alert_list.builder.php @@ -70,7 +70,7 @@ if ($id_agente) $modules = agents_get_modules ($id_agente, false, array("delete_pending" => 0)); $table->data[0][1] = html_print_select ($modules, 'id_agent_module', 0, true, - __('Select'), 0, true, false, true, '', ($id_agente == 0)); + __('Select'), 0, true, false, true, '', ($id_agente == 0), 'width: 250px;'); $table->data[0][1] .= ' <span id="latest_value" class="invisible">'.__('Latest value').': '; $table->data[0][1] .= '<span id="value"> </span></span>'; $table->data[0][1] .= ' <span id="module_loading" class="invisible">'; @@ -88,7 +88,7 @@ else{ } $table->data[1][1] = html_print_select (index_array ($templates, 'id', 'name'), - 'template', '', '', __('Select'), 0, true); + 'template', '', '', __('Select'), 0, true, false, true, '', false, 'width: 250px;'); $table->data[1][1] .= ' <a class="template_details invisible" href="#">' . html_print_image("images/zoom.png", true, array("class" => 'img_help')) . '</a>'; if (check_acl ($config['id_user'], 0, "LM")) { @@ -108,8 +108,8 @@ if (!empty($groups_user)) { } $table->data[2][1] = '<div class="actions_container">'; -$table->data[2][1] = html_print_select(index_array ($actions, 'id', 'name'),'action_select','','','','',true, '', true); -$table->data[2][1] .= ' <span id="advanced_action" class="advanced_actions invisible">'; +$table->data[2][1] = html_print_select(index_array ($actions, 'id', 'name'),'action_select','','','','',true, '', true, '', false, 'width: 250px;'); +$table->data[2][1] .= '<span id="advanced_action" class="advanced_actions"><br>'; $table->data[2][1] .= __('Number of alerts match from').' '; $table->data[2][1] .= html_print_input_text ('fires_min', '', '', 4, 10, true); $table->data[2][1] .= ' '.__('to').' '; @@ -118,7 +118,7 @@ $table->data[2][1] .= ui_print_help_icon ("alert-matches", true, ui_get_full_url $table->data[2][1] .= '</span>'; $table->data[2][1] .= '</div>'; if (check_acl ($config['id_user'], 0, "LM")) { - $table->data[2][1] .= html_print_image ('images/add.png', true); + $table->data[2][1] .= '<br>' . html_print_image ('images/add.png', true); $table->data[2][1] .= '<a href="index.php?sec=galertas&sec2=godmode/alerts/configure_alert_action&pure='.$pure.'">'; $table->data[2][1] .= __('Create Action'); $table->data[2][1] .= '</a>';