From 549d9d7e99084906aa027c278a6438ebe0ba28fd Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Sun, 23 May 2021 14:15:38 -0500 Subject: [PATCH] Updated some UI. Updated app loading UI. Updated UI for various authentication states. Updated authentication buttons in the client. --- src/MultiShop/Client/App.razor | 11 +++++- .../Client/Pages/Authentication.razor | 20 ++++++----- src/MultiShop/Client/Shared/NavMenu.razor | 36 ++++++++++++------- src/MultiShop/Client/wwwroot/index.html | 13 ++++++- 4 files changed, 57 insertions(+), 23 deletions(-) diff --git a/src/MultiShop/Client/App.razor b/src/MultiShop/Client/App.razor index 8ec7b44..826065d 100644 --- a/src/MultiShop/Client/App.razor +++ b/src/MultiShop/Client/App.razor @@ -25,7 +25,16 @@ } else { -

Loading modules...

+
+
+
+ Loading... +
+
+
+ Downloading shop modules... +
+
} diff --git a/src/MultiShop/Client/Pages/Authentication.razor b/src/MultiShop/Client/Pages/Authentication.razor index 9f262c7..d201654 100644 --- a/src/MultiShop/Client/Pages/Authentication.razor +++ b/src/MultiShop/Client/Pages/Authentication.razor @@ -5,21 +5,25 @@ -
-
- Loading... +
+
+
+ Loading... +
-
+
Hang on just a sec. We're sending you to go login!
-
-
- Loading... +
+
+
+ Loading... +
-
+
Hang on just a sec. We're sending you to go sign up!
diff --git a/src/MultiShop/Client/Shared/NavMenu.razor b/src/MultiShop/Client/Shared/NavMenu.razor index eca03cc..28c1761 100644 --- a/src/MultiShop/Client/Shared/NavMenu.razor +++ b/src/MultiShop/Client/Shared/NavMenu.razor @@ -29,19 +29,29 @@ - - - Hello, @auth.User.Identity.Name! - - - - @if (Configuration["IdentityServer:Registration"].Equals("enabled")) - { - Register - } - Log in - - +
diff --git a/src/MultiShop/Client/wwwroot/index.html b/src/MultiShop/Client/wwwroot/index.html index a0a0847..cfb0c45 100644 --- a/src/MultiShop/Client/wwwroot/index.html +++ b/src/MultiShop/Client/wwwroot/index.html @@ -12,7 +12,18 @@ -
Loading...
+
+
+
+
+ Loading... +
+
+
+ Loading app... +
+
+
An unhandled error has occurred.