From e89a8cd3d059cb540b4db0a01e4b87d170f134a9 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Thu, 7 Aug 2025 22:49:05 -0700 Subject: [PATCH] Update to new angular style --- src/Client/src/app/app.html | 27 ++++++++++--------- .../forgotpassword.component.html | 11 +++++--- .../pages/account/login/login.component.html | 11 +++++--- .../account/register/register.component.html | 9 +++++-- .../resetpassword.component.html | 11 +++++--- 5 files changed, 46 insertions(+), 23 deletions(-) diff --git a/src/Client/src/app/app.html b/src/Client/src/app/app.html index 3ef2ad6..514c9e4 100644 --- a/src/Client/src/app/app.html +++ b/src/Client/src/app/app.html @@ -3,16 +3,19 @@ -
- - -
-
- - -
+ @if (auth.isLoggedIn) { +
+ {{ auth.loggedInUser.userName.toUpperCase() }} + LOGOUT +
+ } @else { +
+ LOGIN + REGISTER +
+ }
@@ -23,9 +26,9 @@ PRIVACY ABOUT
- +
Mistox LLC diff --git a/src/Client/src/app/pages/account/forgotpassword/forgotpassword.component.html b/src/Client/src/app/pages/account/forgotpassword/forgotpassword.component.html index ed2701b..134e496 100644 --- a/src/Client/src/app/pages/account/forgotpassword/forgotpassword.component.html +++ b/src/Client/src/app/pages/account/forgotpassword/forgotpassword.component.html @@ -16,8 +16,13 @@
- + @if(errorMsgs.length > 0){ + + } + \ No newline at end of file diff --git a/src/Client/src/app/pages/account/login/login.component.html b/src/Client/src/app/pages/account/login/login.component.html index 7b330cb..ee23245 100644 --- a/src/Client/src/app/pages/account/login/login.component.html +++ b/src/Client/src/app/pages/account/login/login.component.html @@ -28,8 +28,13 @@ - + @if(errorMsgs.length > 0){ + + } + \ No newline at end of file diff --git a/src/Client/src/app/pages/account/register/register.component.html b/src/Client/src/app/pages/account/register/register.component.html index e4a6914..443978d 100644 --- a/src/Client/src/app/pages/account/register/register.component.html +++ b/src/Client/src/app/pages/account/register/register.component.html @@ -28,8 +28,13 @@ -