diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Login.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Login.razor index e82b2828..84834dd0 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Login.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Login.razor @@ -5,39 +5,14 @@ the form POSTs to /auth/login while ASP.NET still owns an unstarted HTTP response. Calling SignInAsync from an interactive circuit would be too late. - Uses LoginLayout (no side rail) so the page renders as a clean centred card. *@ + Uses LoginLayout (no side rail) so the page renders as a clean centred card. + The card itself is the shared kit's — it owns the .login-wrap centring + wrapper, the .panel shell, and the static form-POST (username/password/returnUrl). *@ @attribute [Microsoft.AspNetCore.Authorization.AllowAnonymous] -
-
-
-

OtOpcUa Admin — sign in

-
- @if (ReturnUrl is not null) - { - - } -
- - -
-
- - -
- - @if (!string.IsNullOrWhiteSpace(Error)) - { -
@Error
- } - - -
-
-
-
+ + + @code { /// Error message surfaced by /auth/login after a failed bind. diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/StatusBadge.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/StatusBadge.razor deleted file mode 100644 index 55096fa2..00000000 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/StatusBadge.razor +++ /dev/null @@ -1,7 +0,0 @@ -@* Status chip — wraps the theme.css .chip / .chip-ok / .chip-warn / .chip-bad / .chip-idle classes. *@ -@Text - -@code { - [Parameter] public string Text { get; set; } = ""; - [Parameter] public string CssClass { get; set; } = "chip-idle"; -}