From 09bcaa42f54b28833efa884b5e8ea5678c0fe88b Mon Sep 17 00:00:00 2001
From: m-lopez-f <miguel.lopez@artica.es>
Date: Wed, 1 Jul 2015 11:27:37 +0200
Subject: [PATCH] Change visual of metaconsole.

---
 pandora_console/include/styles/pandora.css    |  1 -
 .../operation/agentes/alerts_status.php       |  5 ----
 .../operation/agentes/status_monitor.php      | 29 ++++++-------------
 .../operation/events/events.build_table.php   |  5 +---
 4 files changed, 10 insertions(+), 30 deletions(-)

diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css
index 802f23935c..c8e690c814 100755
--- a/pandora_console/include/styles/pandora.css
+++ b/pandora_console/include/styles/pandora.css
@@ -1380,7 +1380,6 @@ table.databox {
 	-webkit-border-radius: 0px;
 	border-radius: 0px;
 	border: 0px none #E2E2E2;
-
 }
 
 .databox th {
diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php
index bd309a131d..e9877cb272 100755
--- a/pandora_console/operation/agentes/alerts_status.php
+++ b/pandora_console/operation/agentes/alerts_status.php
@@ -392,11 +392,6 @@ $table->width = '100%';
 $table->class = "databox data";
 $table->cellpadding = '0';
 $table->cellspacing = '0';
-if(defined('METACONSOLE')) {
-	$table->class = "databox";
-	$table->cellpadding = '0';
-	$table->cellspacing = '0';
-}
 $table->size = array ();
 $table->head = array ();
 $table->align = array ();
diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php
index aa41d32214..68f6392913 100644
--- a/pandora_console/operation/agentes/status_monitor.php
+++ b/pandora_console/operation/agentes/status_monitor.php
@@ -408,20 +408,14 @@ if (defined('METACONSOLE')) {
 	if ($key_group_all !== false)
 		unset($groups_select[$key_group_all]);
 }
-if(defined("METACONSOLE")) {
-	$table->style[0] = 'vertical-align:middle; font-weight: bold;';
-	$table->style[1] = 'vertical-align:middle; font-weight: bold;';
-	$table->style[2] = 'vertical-align:middle; font-weight: bold;';
-	$table->style[3] = 'vertical-align:middle; font-weight: bold;';
-	$table->style[4] = 'vertical-align:middle; font-weight: bold;';
-}
-else {
-	$table->style[0] = 'font-weight: bold;';
-	$table->style[1] = 'font-weight: bold;';
-	$table->style[2] = 'font-weight: bold;';
-	$table->style[3] = 'font-weight: bold;';
-	$table->style[4] = 'font-weight: bold;';
-}
+
+
+$table->style[0] = 'font-weight: bold;';
+$table->style[1] = 'font-weight: bold;';
+$table->style[2] = 'font-weight: bold;';
+$table->style[3] = 'font-weight: bold;';
+$table->style[4] = 'font-weight: bold;';
+
 $table->data[0][0] = __('Group');
 
 $table->data[0][1] = html_print_select_groups($config['id_user'], "AR", true, "ag_group",
@@ -496,6 +490,7 @@ else {
 $table_custom_fields = new stdClass();
 $table_custom_fields->class = 'filters';
 $table_custom_fields->width = '100%';
+
 if (defined('METACONSOLE')) {
 		$table_custom_fields->width = '100%';
 		$table_custom_fields->class = 'filters';
@@ -908,12 +903,6 @@ $table->cellpadding = 0;
 $table->cellspacing = 0;
 $table->width = "100%";
 $table->class = "databox data";
-if(defined('METACONSOLE')) {
-	$table->width = "100%";
-	$table->cellpadding = '0';
-	$table->cellspacing = '0';
-	$table->class = "databox";
-}
 $table->head = array ();
 $table->data = array ();
 $table->size = array ();
diff --git a/pandora_console/operation/events/events.build_table.php b/pandora_console/operation/events/events.build_table.php
index 7f437b0845..327256bc00 100644
--- a/pandora_console/operation/events/events.build_table.php
+++ b/pandora_console/operation/events/events.build_table.php
@@ -21,10 +21,7 @@ $table->id = "eventtable";
 $table->cellpadding = 4;
 $table->cellspacing = 4;
 if(!isset($table->class)) {
-	if (defined("METACONSOLE"))
-		$table->class = "databox";
-	else
-		$table->class = "databox data";
+	$table->class = "databox data";
 }
 $table->head = array ();
 $table->data = array ();