diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js index 931ad190ec6be..d6162d2d9b7c9 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extension.js @@ -2,6 +2,7 @@ import { LitElement, html, css} from 'lit'; import '@vaadin/icon'; import '@vaadin/dialog'; import { dialogHeaderRenderer, dialogRenderer } from '@vaadin/dialog/lit.js'; +import 'qui-badge'; /** * This component represent one extension @@ -41,7 +42,6 @@ export class QwcExtension extends LitElement { display: flex; flex-direction: row; justify-content: space-between; - visibility:hidden; } .card-footer a { @@ -60,15 +60,15 @@ export class QwcExtension extends LitElement { color: var(--lumo-contrast-70pct); } - .active:hover .card-footer, .active:hover .guide { + .active:hover .config, .active:hover .more, .active:hover .guide { visibility:visible; } - .inactive:hover .card-footer, .inactive:hover .guide { + .inactive:hover .config, .inactive:hover .more, .inactive:hover .guide { visibility:visible; } - .guide{ + .guide, .more, .config { visibility:hidden; } @@ -141,14 +141,39 @@ export class QwcExtension extends LitElement { _footerTemplate() { return html`
`; } + _renderStatus(){ + var l = this._statusLevelOnCard(); + + if(l) { + return html`Status | -${this.status} | +|
Config Filter | diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extensions.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extensions.js index bbe779ac6069d..6b845302c3c86 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extensions.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-extensions.js @@ -5,7 +5,6 @@ import { devuiState } from 'devui-state'; import { observeState } from 'lit-element-state'; import 'qwc/qwc-extension.js'; import 'qwc/qwc-extension-link.js'; -import 'qui-badge'; /** @@ -115,7 +114,6 @@ export class QwcExtensions extends observeState(LitElement) { return html`