Skip to content

Commit

Permalink
Remove lock icon for runtime config overrides
Browse files Browse the repository at this point in the history
- Also changed the lock icon color
- Fixes quarkusio#32229
  • Loading branch information
gastaldi committed Mar 30, 2023
1 parent ed40a15 commit 5100417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,6 @@
<td class="filterableConfigKey">
{#if item.configPhase?? && (item.configPhase == "BUILD_AND_RUN_TIME_FIXED" || item.configPhase == "BUILD_TIME")}
<i class="fas fa-lock" data-toggle="tooltip" data-placement="top" title="Fixed at build time (not overridable at runtime)"></i>
{#else}
<i class="fas fa-lock-open text-white" data-placement="top" title="Overridable at runtime"></i>
{/if}

{item.configValue.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
`;
Expand Down Expand Up @@ -158,12 +158,6 @@ export class QwcConfiguration extends LitElement {
<vaadin-tooltip for="icon-lock-${prop.name}" text="Fixed at build time (not overridable at runtime)"
position="top-start"></vaadin-tooltip>
`
} else {
return html`
<vaadin-icon theme="small" class="unlock-icon" id="icon-lock-${prop.name}" icon="font-awesome-solid:lock-open"></vaadin-icon>
<vaadin-tooltip for="icon-lock-${prop.name}" text="Overridable at runtime"
position="top-start"></vaadin-tooltip>
`
}
}

Expand Down

0 comments on commit 5100417

Please sign in to comment.