From b6ea565118a53ab0785c11890bd6531e7de181d8 Mon Sep 17 00:00:00 2001 From: marcos Date: Wed, 14 Apr 2021 12:07:38 +0200 Subject: [PATCH] add black theme to widget dashboard --- pandora_console/include/functions_html.php | 12 +- pandora_console/include/functions_ui.php | 2 +- .../include/graphs/flot/jquery.flot.js | 1034 +++++++++-------- .../include/graphs/flot/jquery.flot.min.js | 4 +- .../include/graphs/functions_flot.php | 5 +- pandora_console/include/graphs/pandora.d3.js | 2 + .../include/lib/Dashboard/Widget.php | 6 + .../lib/Dashboard/Widgets/events_list.php | 7 +- .../Dashboard/Widgets/system_group_status.php | 2 +- .../lib/Dashboard/Widgets/tree_view.php | 3 + .../include/styles/pandora_black.css | 43 +- .../include/styles/select2_dark.min.css | 10 +- pandora_console/views/dashboard/cell.php | 3 + 13 files changed, 597 insertions(+), 536 deletions(-) diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index b566d376ec..c5a16434f8 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -885,6 +885,11 @@ function html_print_select( "; } + $select2 = 'select2.min'; + if ($config['style'] === 'pandora_black') { + $select2 = 'select2_dark.min'; + } + if ($multiple === false) { if (is_ajax()) { $output .= '