Change visual of metaconsole.

This commit is contained in:
m-lopez-f 2015-07-01 11:27:37 +02:00
parent b2af250070
commit 09bcaa42f5
4 changed files with 10 additions and 30 deletions

View File

@ -1380,7 +1380,6 @@ table.databox {
-webkit-border-radius: 0px;
border-radius: 0px;
border: 0px none #E2E2E2;
}
.databox th {

View File

@ -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 ();

View File

@ -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 ();

View File

@ -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 ();