diff --git a/pandora_console/godmode/agentes/agent_template.php b/pandora_console/godmode/agentes/agent_template.php index 819318a61f..127bd0ab8b 100644 --- a/pandora_console/godmode/agentes/agent_template.php +++ b/pandora_console/godmode/agentes/agent_template.php @@ -176,12 +176,12 @@ foreach ($nps as $row) { $select[$row["id_np"]] = $row["name"]; } -echo ''; +echo '
'; echo "'; echo ''; echo ''; echo ""; @@ -213,8 +213,8 @@ if ($result === false) { } $table->width = '100%'; -$table->cellpadding = 4; -$table->cellspacing = 4; +$table->cellpadding = 0; +$table->cellspacing = 0; $table->class = "databox data"; $table->head = array (); $table->data = array (); @@ -225,13 +225,16 @@ $table->head[1] = __('Type'); $table->head[2] = __('Description'); $table->head[3] = __('Action'); -$table->align[1] = "center"; -$table->align[3] = "center"; +$table->align[1] = "left"; +$table->align[3] = "left"; +$table->size[0] = "30%"; +$table->size[1] = "5%"; +$table->size[3] = "8%"; foreach ($result as $row) { $data = array (); - $data[0] = '' . $row["nombre"]; + $data[0] = '' . $row["nombre"]; if ($row["id_tipo_modulo"] > 0) { $data[1] = html_print_image("images/" . modules_show_icon_type ($row["id_tipo_modulo"]), true, array("border" => "0")); } diff --git a/pandora_console/godmode/alerts/alert_list.list.php b/pandora_console/godmode/alerts/alert_list.list.php index 8100675159..10594ea283 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -142,8 +142,9 @@ $form_filter .= ""; $form_filter .= "\n"; $form_filter .= "
"; html_print_select ($select, "template_id", '', '', '', 0, false, false, true, '', false, 'max-width: 200px !important'); echo ''; -html_print_submit_button (__('Assign'), 'crt', false, 'class="sub next"'); +html_print_submit_button (__('Assign'), 'crt', false, 'class="sub next" style="margin-top:0px;"'); echo '
\n"; $form_filter .= "\n"; +if ( defined("METACONSOLE")) + echo "
"; -echo "
"; ui_toggle($form_filter, __('Alert control filter'), __('Toggle filter(s)')); $simple_alerts = array(); @@ -323,9 +324,14 @@ if (!$id_agente) { else { $url = 'index.php?sec='.$sec.'&sec2=godmode/agentes/configurar_agente&pure='.$pure.'&tab=alert&id_agente=' . $id_agente . '&offset=' . $offset . $form_params; } - -$table->class = 'alert_list databox'; +if ( defined("METACONSOLE") ) + $table->class = 'alert_list databox'; +else + $table->class = 'databox filters'; + $table->width = '100%'; +$table->cellpadding = 0; +$table->cellspacing = 0; $table->size = array (); $table->align[2] = 'left';