From 164dfacab39d60f4bd2d2e27588c9b1e53c9f179 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Jun 2026 02:42:32 +0200 Subject: [PATCH] Improve signature UI and refactor ReportViewer.razor Updated the signature button text and SVG icon for clarity. Enhanced the `DxPopup` component with better interaction properties (`CloseOnEscape` and `CloseOnOutsideClick`). Disabled the "Close" button in the popup when no signature is captured. Reformatted and restructured constants and fields in the `@code` block for readability. Reintroduced previously removed fields, constants, and methods to ensure functionality. Added a conditional block in `LogoutAsync` to open the signature popup when the user has access. Performed general cleanup and code reorganization to improve maintainability. --- .../Pages/ReportViewer.razor | 78 ++++++++++--------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor b/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor index 3edb806e..6e9cb95d 100644 --- a/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor +++ b/EnvelopeGenerator.ReceiverUI/Pages/ReportViewer.razor @@ -54,7 +54,7 @@ Unterschrift gespeichert } else { - Unterschrift erstellen + Unterschrift ändern } @if (_annotations.Count > 0) { @@ -91,11 +91,11 @@ +CloseOnOutsideClick="false">