';
+ $canvas .= '
';
$width = 800;
$height = 300;
@@ -239,7 +243,9 @@ function pandora_realtime_graphs()
echo '';
echo '';
- echo '
';
+ if ($config['style'] !== 'pandora_black') {
+ echo '
';
+ }
// Store servers timezone offset to be retrieved from js.
set_js_value('timezone_offset', date('Z', time()));
diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css
index d654d1219f..f5e971c065 100644
--- a/pandora_console/include/styles/pandora_black.css
+++ b/pandora_console/include/styles/pandora_black.css
@@ -999,6 +999,23 @@ table.databox {
.tactical_set {
border-color: #707070;
}
+
li.ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab {
border: 1px solid #707070;
}
+.chartLegend {
+ width: 100%;
+ position: relative;
+ height: 30px;
+}
+
+.chartLegend table {
+ position: absolute;
+ right: 0px;
+}
+
+.graph_container {
+ width: 800px;
+ margin: 20px auto;
+ border-radius: 3px;
+}
diff --git a/pandora_console/operation/agentes/interface_traffic_graph_win.php b/pandora_console/operation/agentes/interface_traffic_graph_win.php
index cb06076ac2..dd3b36d546 100644
--- a/pandora_console/operation/agentes/interface_traffic_graph_win.php
+++ b/pandora_console/operation/agentes/interface_traffic_graph_win.php
@@ -68,6 +68,9 @@ if (file_exists('../../include/languages/'.$user_language.'.mo')) {
}
echo '
';
+if ($config['style'] === 'pandora_black') {
+ ui_require_css_file('pandora_black', 'include/styles/', true);
+}
$interface_name = (string) $params['interface_name'];
$agent_id = (int) $params['agent_id'];
@@ -190,6 +193,7 @@ $data[1] .= html_print_image(
[
'onclick' => "scwShow(scwID('text-start_date'),this);",
'style' => 'vertical-align: bottom;',
+ 'class' => 'invert_filter',
],
false,
false,
@@ -251,7 +255,8 @@ $options[2] = 'x2';
$options[3] = 'x3';
$options[4] = 'x4';
$options[5] = __('Full');
-$data[1] = html_print_select(
+/*
+ $data[1] = html_print_select(
$options,
'zoom',
$zoom,
@@ -261,9 +266,9 @@ $data[1] = html_print_select(
true,
false,
false
-);
-$table->data[] = $data;
-$table->rowclass[] = '';
+ );
+ $table->data[] = $data;
+$table->rowclass[] = '';*/
$form_table = html_print_table($table, true);
$form_table .= '
';
@@ -284,7 +289,7 @@ if (empty($server_id) === false) {
$menu_form .= html_print_input_hidden('server', $server_id, true);
}
-$menu_form .= '