From 5b5d7e49970d70dad6dd605db434e15aa4ee4772 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 4 Apr 2021 13:44:57 +0200 Subject: [PATCH] web/admin: add edit button to application view page Signed-off-by: Jens Langhammer --- web/src/elements/buttons/ModalButton.ts | 1 + web/src/elements/forms/ConfirmationForm.ts | 16 +++--------- web/src/elements/forms/DeleteForm.ts | 20 +++++--------- .../pages/applications/ApplicationViewPage.ts | 26 ++++++++++++++++++- 4 files changed, 36 insertions(+), 27 deletions(-) diff --git a/web/src/elements/buttons/ModalButton.ts b/web/src/elements/buttons/ModalButton.ts index 7b902b857..f1773b34d 100644 --- a/web/src/elements/buttons/ModalButton.ts +++ b/web/src/elements/buttons/ModalButton.ts @@ -29,6 +29,7 @@ export class ModalButton extends LitElement { css` :host { text-align: left; + font-size: var(--pf-global--FontSize--md); } .pf-c-modal-box.pf-m-lg { overflow-y: auto; diff --git a/web/src/elements/forms/ConfirmationForm.ts b/web/src/elements/forms/ConfirmationForm.ts index 41d916382..e004154c8 100644 --- a/web/src/elements/forms/ConfirmationForm.ts +++ b/web/src/elements/forms/ConfirmationForm.ts @@ -57,18 +57,10 @@ export class ConfirmationForm extends ModalButton { -
-
-
-
-
-
- -
-
-
-
-
+
+
+ +
-
-
-
-
-
-
-

- ${t`Are you sure you want to delete ${this.objectLabel} '${this.obj?.name}'?`} -

-
-
-
-
-
+
+
+

+ ${t`Are you sure you want to delete ${this.objectLabel} '${this.obj?.name}'?`} +

+