From 07f8ed4fedd2c21a7e9de200c95e5ba778f6c082 Mon Sep 17 00:00:00 2001 From: Vazhin Tayeb Date: Tue, 19 Jan 2021 00:05:47 +0300 Subject: [PATCH] Customizes Login page a bit --- .../Views/Account/Login.cshtml | 59 ++- .../Views/Shared/_Layout.cshtml | 9 +- .../Views/Shared/_Nav.cshtml | 40 +- .../wwwroot/images/logo.svg | 396 ++++++++++++++++++ CSharp/TaxApp/Pages/Shared/_Layout.cshtml | 2 +- 5 files changed, 454 insertions(+), 52 deletions(-) create mode 100644 CSharp/AuthorizationServer/wwwroot/images/logo.svg diff --git a/CSharp/AuthorizationServer/Views/Account/Login.cshtml b/CSharp/AuthorizationServer/Views/Account/Login.cshtml index d403eeb..1752eec 100644 --- a/CSharp/AuthorizationServer/Views/Account/Login.cshtml +++ b/CSharp/AuthorizationServer/Views/Account/Login.cshtml @@ -1,57 +1,58 @@ @model LoginViewModel
-
-

Login

-

Choose how to login

-
-
+
@if (Model.EnableLocalLogin) {
-
-
-

Local Account

-
+
+

Login

- +
+
+ + +
+
-
- - -
- +
@if (Model.AllowRememberLogin) { -
-
- - -
-
} - - +
+
+ + +
+
+ } + +
@@ -70,11 +71,9 @@ @foreach (var provider in Model.VisibleExternalProviders) {
  • - + @provider.DisplayName
  • diff --git a/CSharp/AuthorizationServer/Views/Shared/_Layout.cshtml b/CSharp/AuthorizationServer/Views/Shared/_Layout.cshtml index 867f1a9..f0a6c7b 100644 --- a/CSharp/AuthorizationServer/Views/Shared/_Layout.cshtml +++ b/CSharp/AuthorizationServer/Views/Shared/_Layout.cshtml @@ -15,13 +15,18 @@ + + + + - + -
    +
    @RenderBody()
    diff --git a/CSharp/AuthorizationServer/Views/Shared/_Nav.cshtml b/CSharp/AuthorizationServer/Views/Shared/_Nav.cshtml index 4f8ba39..70e1334 100644 --- a/CSharp/AuthorizationServer/Views/Shared/_Nav.cshtml +++ b/CSharp/AuthorizationServer/Views/Shared/_Nav.cshtml @@ -9,26 +9,28 @@ } diff --git a/CSharp/AuthorizationServer/wwwroot/images/logo.svg b/CSharp/AuthorizationServer/wwwroot/images/logo.svg new file mode 100644 index 0000000..5ba41df --- /dev/null +++ b/CSharp/AuthorizationServer/wwwroot/images/logo.svg @@ -0,0 +1,396 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CSharp/TaxApp/Pages/Shared/_Layout.cshtml b/CSharp/TaxApp/Pages/Shared/_Layout.cshtml index 6d451bd..4db09e7 100644 --- a/CSharp/TaxApp/Pages/Shared/_Layout.cshtml +++ b/CSharp/TaxApp/Pages/Shared/_Layout.cshtml @@ -17,7 +17,7 @@ class="navbar navbar-expand-sm justify-content-between navbar-toggleable-sm navbar-light bg-custom text-light border-bottom box-shadow mb-3">
    - + logo @* Tax Services *@