From 981ae0977dbfc3586a0f2cc3809832bee0c4c6a3 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 8 Jan 2024 12:36:08 +0100 Subject: [PATCH 1/2] fix visual error um-offline pandora_enterprise#12399 --- .../resources/images/info-warning.svg | 11 +++++++++++ .../update_manager_client/resources/styles/um.css | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 pandora_console/update_manager_client/resources/images/info-warning.svg diff --git a/pandora_console/update_manager_client/resources/images/info-warning.svg b/pandora_console/update_manager_client/resources/images/info-warning.svg new file mode 100644 index 0000000000..f707aa9410 --- /dev/null +++ b/pandora_console/update_manager_client/resources/images/info-warning.svg @@ -0,0 +1,11 @@ + + + + Dark / 14 / info@svg + Created with Sketch. + + + + + + \ No newline at end of file diff --git a/pandora_console/update_manager_client/resources/styles/um.css b/pandora_console/update_manager_client/resources/styles/um.css index fe28eaa176..439e33c957 100644 --- a/pandora_console/update_manager_client/resources/styles/um.css +++ b/pandora_console/update_manager_client/resources/styles/um.css @@ -441,7 +441,7 @@ div#upload span.browse { span.warning { min-width: 10em; min-height: 10em; - background: url(../images/icono_warning.png); + background: url(../images/info-warning.svg); background-repeat: no-repeat; background-position: center; background-size: 80%; From bba32495a4f8518f92e8e1fa7f4d69f5120ede03 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 26 Jan 2024 10:15:01 +0100 Subject: [PATCH 2/2] fix visual errors in msg umc offline pandora_enterprise#12399 --- .../resources/javascript/umc_offline.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pandora_console/update_manager_client/resources/javascript/umc_offline.js b/pandora_console/update_manager_client/resources/javascript/umc_offline.js index ad2432a306..11e397d996 100644 --- a/pandora_console/update_manager_client/resources/javascript/umc_offline.js +++ b/pandora_console/update_manager_client/resources/javascript/umc_offline.js @@ -428,11 +428,14 @@ function install_package(url, auth, packageId, version, serverUpdate) { var response = d.result; document.getElementById("log_zone").innerText = response.result; - $("#input-progress") - .val(100) - .change(); + if (response.error == undefined || response.error == "") { + $("#input-progress") + .val(100) + .change(); + + $("#result li").removeClass("error"); + } - $("#result li").removeClass("error"); $("#result li") .find("p") .text(response.result);