From ea9540ddced9a5cda0d048002c1fdd1d45357e31 Mon Sep 17 00:00:00 2001 From: Tatiana Llorente Date: Tue, 25 Jun 2019 09:19:47 +0200 Subject: [PATCH] Changed size for modal window for module graph- #4234 --- pandora_console/include/ajax/module.php | 2 +- pandora_console/include/styles/pandora.css | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index ef998be34a..64192fdedb 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1134,7 +1134,7 @@ if (check_login()) { urlencode( base64_encode($module['nombre']) ) - ).'&refresh='.SECONDS_10MINUTES.'&'."draw_events=$draw_events', 'day_".$win_handle."', 1000, 650)"; + ).'&refresh='.SECONDS_10MINUTES.'&'."draw_events=$draw_events', 'day_".$win_handle."', 1000, 700)"; if (!is_snapshot_data($module['datos'])) { $data[8] .= ''.html_print_image('images/chart_curve.png', true, ['border' => '0', 'alt' => '']).'   '; } diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 06507058ee..cb28653696 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -5803,3 +5803,32 @@ div#status_pie { align-items: center; grid-template-columns: 50px auto; } + +/* Table for show more info in events and config menu in modules graphs. (This class exists in events.css too) */ +.table_modal_alternate { + border-spacing: 0px; + text-align: left; +} + +table.table_modal_alternate tr:nth-child(odd) td { + background-color: #ffffff; +} + +table.table_modal_alternate tr:nth-child(even) td { + background-color: #f9f9f9; + border-top: 1px solid #e0e0e0; + border-bottom: 1px solid #e0e0e0; +} + +table.table_modal_alternate tr td { + height: 33px; + max-height: 33px; + min-height: 33px; +} + +table.table_modal_alternate tr td:first-child { + width: 35%; + font-weight: bold; + padding-left: 20px; +} +/* END - Table for show more info in events and config menu in modules graphs */