2013-07-23 Sergio Martin <sergio.martin@artica.es>

* godmode/alerts/alert_list.builder.php: Fix layout
	of alerts editor for bug 2273 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-07-23 16:07:13 +00:00
parent cbfb82bc40
commit 829b6e591f
2 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -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">&nbsp;</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>';