fixed minnor error black theme 7376
This commit is contained in:
parent
ce72a5c6ee
commit
f818b86827
|
@ -1072,6 +1072,7 @@ foreach ($modules as $module) {
|
||||||
[
|
[
|
||||||
'alt' => __('Enable module'),
|
'alt' => __('Enable module'),
|
||||||
'title' => __('Enable module'),
|
'title' => __('Enable module'),
|
||||||
|
'class' => 'invert_filter_important',
|
||||||
]
|
]
|
||||||
).'</a>';
|
).'</a>';
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -4313,6 +4313,12 @@ function events_page_details($event, $server='')
|
||||||
$serverstring = '';
|
$serverstring = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$table_class = 'table_modal_alternate';
|
||||||
|
|
||||||
|
if ($config['style'] === 'pandora_black') {
|
||||||
|
$table_class = 'black_table_modal_alternate';
|
||||||
|
}
|
||||||
|
|
||||||
// Details.
|
// Details.
|
||||||
$table_details = new stdClass;
|
$table_details = new stdClass;
|
||||||
$table_details->width = '100%';
|
$table_details->width = '100%';
|
||||||
|
@ -4320,7 +4326,7 @@ function events_page_details($event, $server='')
|
||||||
$table_details->head = [];
|
$table_details->head = [];
|
||||||
$table_details->cellspacing = 0;
|
$table_details->cellspacing = 0;
|
||||||
$table_details->cellpadding = 0;
|
$table_details->cellpadding = 0;
|
||||||
$table_details->class = 'table_modal_alternate';
|
$table_details->class = $table_class;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Useless switch.
|
* Useless switch.
|
||||||
|
|
|
@ -236,6 +236,9 @@ function vbar_graph(
|
||||||
// Grid color axes x.
|
// Grid color axes x.
|
||||||
if (isset($options['x']['color']) === false) {
|
if (isset($options['x']['color']) === false) {
|
||||||
$options['x']['color'] = '#ffffff';
|
$options['x']['color'] = '#ffffff';
|
||||||
|
if ($config['style'] === 'pandora_black') {
|
||||||
|
$options['x']['color'] = '#222';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($options['x']['labelWidth']) === false) {
|
if (isset($options['x']['labelWidth']) === false) {
|
||||||
|
@ -300,7 +303,7 @@ function vbar_graph(
|
||||||
$options['y']['font']['color'] = '#545454';
|
$options['y']['font']['color'] = '#545454';
|
||||||
|
|
||||||
if ($config['style'] === 'pandora_black') {
|
if ($config['style'] === 'pandora_black') {
|
||||||
$options['y']['font']['color'] = '#fff';
|
$options['y']['font']['color'] = '#222';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -317,6 +320,9 @@ function vbar_graph(
|
||||||
// Grid color axes y.
|
// Grid color axes y.
|
||||||
if (isset($options['y']['color']) === false) {
|
if (isset($options['y']['color']) === false) {
|
||||||
$options['y']['color'] = '#ffffff';
|
$options['y']['color'] = '#ffffff';
|
||||||
|
if ($config['style'] === 'pandora_black') {
|
||||||
|
$options['y']['color'] = '#222';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($options['y']['labelWidth']) === false) {
|
if (isset($options['y']['labelWidth']) === false) {
|
||||||
|
@ -352,6 +358,9 @@ function vbar_graph(
|
||||||
|
|
||||||
if (isset($options['grid']['color']) === false) {
|
if (isset($options['grid']['color']) === false) {
|
||||||
$options['grid']['color'] = '#ffffff';
|
$options['grid']['color'] = '#ffffff';
|
||||||
|
if ($config['style'] === 'pandora_black') {
|
||||||
|
$options['grid']['color'] = '#222';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($options['grid']['backgroundColor']) === false) {
|
if (isset($options['grid']['backgroundColor']) === false) {
|
||||||
|
@ -361,6 +370,14 @@ function vbar_graph(
|
||||||
'#ffffff',
|
'#ffffff',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
if ($config['style'] === 'pandora_black') {
|
||||||
|
$options['grid']['backgroundColor'] = [
|
||||||
|
'colors' => [
|
||||||
|
'#222',
|
||||||
|
'#222',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($options['grid']['margin']) === false) {
|
if (isset($options['grid']['margin']) === false) {
|
||||||
|
|
|
@ -54,7 +54,8 @@ table.databox,
|
||||||
.white_box,
|
.white_box,
|
||||||
input.sub,
|
input.sub,
|
||||||
.introjs-tooltip,
|
.introjs-tooltip,
|
||||||
button.sub {
|
button.sub,
|
||||||
|
.bg_general {
|
||||||
background-color: #222 !important;
|
background-color: #222 !important;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
@ -242,11 +243,20 @@ div#foot {
|
||||||
|
|
||||||
/* events.css */
|
/* events.css */
|
||||||
table.table_modal_alternate tr:nth-child(odd) td {
|
table.table_modal_alternate tr:nth-child(odd) td {
|
||||||
background-color: #222;
|
background-color: #222 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.table_modal_alternate tr:nth-child(even) td {
|
table.table_modal_alternate tr:nth-child(even) td {
|
||||||
background-color: #111;
|
background-color: #111 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* events.css */
|
||||||
|
table.black_table_modal_alternate tr:nth-child(odd) td {
|
||||||
|
background-color: #222 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.black_table_modal_alternate tr:nth-child(even) td {
|
||||||
|
background-color: #111 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* tables.css */
|
/* tables.css */
|
||||||
|
@ -945,3 +955,11 @@ div.integria_details_description textarea {
|
||||||
.fill_fff {
|
.fill_fff {
|
||||||
fill: #fff !important;
|
fill: #fff !important;
|
||||||
}
|
}
|
||||||
|
.module_graph_menu_header,
|
||||||
|
.module_graph_menu_content {
|
||||||
|
background-color: #222 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.invert_filter_important {
|
||||||
|
filter: invert(100%) !important;
|
||||||
|
}
|
||||||
|
|
|
@ -64,8 +64,14 @@ if (file_exists('../../include/languages/'.$user_language.'.mo')) {
|
||||||
$l10n->load_tables();
|
$l10n->load_tables();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
global $config;
|
||||||
echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/css"/>';
|
echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/css"/>';
|
||||||
|
|
||||||
|
if ($config['style'] === 'pandora_black') {
|
||||||
|
echo '<link rel="stylesheet" href="../../include/styles/pandora_black.css" type="text/css"/>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$id = get_parameter('id');
|
$id = get_parameter('id');
|
||||||
$id_agent = db_get_value(
|
$id_agent = db_get_value(
|
||||||
'id_agente',
|
'id_agente',
|
||||||
|
@ -129,7 +135,7 @@ ui_print_message_dialog(
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body class='bg_white'>
|
<body class='bg_general'>
|
||||||
<?php
|
<?php
|
||||||
// Module id.
|
// Module id.
|
||||||
$id = (int) get_parameter('id', 0);
|
$id = (int) get_parameter('id', 0);
|
||||||
|
|
Loading…
Reference in New Issue