From 510041713ce8cb8cb0c00180ae21cb7b68671b9b Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Wed, 29 Mar 2023 12:48:04 -0300 Subject: [PATCH] Remove lock icon for runtime config overrides - Also changed the lock icon color - Fixes #32229 --- .../io.quarkus.quarkus-vertx-http/config.html | 2 -- .../src/main/resources/dev-ui/qwc/qwc-configuration.js | 10 ++-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html b/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html index b93b6ac279830..2df31d7407937 100644 --- a/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html +++ b/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html @@ -419,8 +419,6 @@ {#if item.configPhase?? && (item.configPhase == "BUILD_AND_RUN_TIME_FIXED" || item.configPhase == "BUILD_TIME")} - {#else} - {/if} {item.configValue.name} diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js index f122686e226af..349e397c98156 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js @@ -65,11 +65,11 @@ export class QwcConfiguration extends LitElement { } .lock-icon { - color: var(--lumo-error-color-50pct); + color: var(--lumo-contrast-60pct); font-size: small; } .unlock-icon { - color: var(--lumo-success-color-50pct); + color: var(--lumo-contrast-60pct); font-size: small; } `; @@ -158,12 +158,6 @@ export class QwcConfiguration extends LitElement { ` - } else { - return html` - - - ` } }