diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index a983ebafbd..c158ec087d 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -241,6 +241,7 @@ config_check(); if ($check_minor_release_available) { set_pandora_error_for_header('There are one or more minor releases waiting for update, there are required administrator permissions', 'minor release/s available'); } + echo ''; if ($config["alert_cnt"] > 0) { $maintenance_link = 'javascript:'; diff --git a/pandora_console/include/javascript/jquery.pandora.js b/pandora_console/include/javascript/jquery.pandora.js index 8e1973846c..9bcbe1a8f9 100644 --- a/pandora_console/include/javascript/jquery.pandora.js +++ b/pandora_console/include/javascript/jquery.pandora.js @@ -59,24 +59,14 @@ $(document).ready (function () { }); $("a.show_systemalert_dialog").click (function () { + $('body').append( "
" ); jQuery.get ("ajax.php", {"page": "operation/system_alert"}, function (data, status) { - $("#alert_messages").html(data); - $("#alert_messages").dialog({ - resizable: false, - draggable: true, - width: 450, - modal: true, - overlay: { - opacity: 0.5, - background: "black" - }, - open: function (event, ui) { - dialog_open = this; - } - }); - $("#alert_messages").css('padding','0px'); + $("#alert_messages").hide () + .empty () + .append (data) + .show (); }, "html" ); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 9246d946d5..56f1cf631f 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -3595,8 +3595,10 @@ div.simple_value > a > span.text p border-bottom-left-radius: 5px; z-index:3; position:fixed; - width:650px; - top: 30%; + width:750px; + max-width:750px; + min-width:750px; + top: 20%; background:white; } .modalheader{ diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index a6c899860a..fea5aca60b 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -3219,13 +3219,12 @@ table#policy_modules td * { -webkit-border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; - z-index:2; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - -webkit-transform: translate(-50%, -50%); + z-index:3; position:fixed; - width:650px; + width:750px; + max-width:750px; + min-width:750px; + top: 20%; background:white; } .modalheader{ diff --git a/pandora_console/include/styles/pandora_green_old.css b/pandora_console/include/styles/pandora_green_old.css index b82020a161..90d15eb0d7 100644 --- a/pandora_console/include/styles/pandora_green_old.css +++ b/pandora_console/include/styles/pandora_green_old.css @@ -3222,13 +3222,12 @@ table#policy_modules td * { -webkit-border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; - z-index:2; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - -webkit-transform: translate(-50%, -50%); + z-index:3; position:fixed; - width:650px; + width:750px; + max-width:750px; + min-width:750px; + top: 20%; background:white; } .modalheader{ diff --git a/pandora_console/index.php b/pandora_console/index.php index 2765e56d8d..5b52479ac3 100755 --- a/pandora_console/index.php +++ b/pandora_console/index.php @@ -933,7 +933,6 @@ if ($config["pure"] == 0) { echo ''; } -echo ''; /// Clippy function require_once('include/functions_clippy.php'); clippy_start($sec2); diff --git a/pandora_console/operation/system_alert.php b/pandora_console/operation/system_alert.php index 31334e159a..b8b85553c6 100644 --- a/pandora_console/operation/system_alert.php +++ b/pandora_console/operation/system_alert.php @@ -18,7 +18,7 @@ echo " "; -echo "
"; +echo "
"; echo get_pandora_error_for_header(); echo "
"; @@ -32,7 +32,8 @@ echo "