From 7a46b2fd1b9622d1886558f878a349b119d9c132 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Wed, 8 Jul 2020 19:20:32 +0200 Subject: [PATCH] Improve user profile view --- BTCPayServer/Views/Manage/Index.cshtml | 65 ++++++++++++++------------ 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/BTCPayServer/Views/Manage/Index.cshtml b/BTCPayServer/Views/Manage/Index.cshtml index eb0a258f5..65146ccdc 100644 --- a/BTCPayServer/Views/Manage/Index.cshtml +++ b/BTCPayServer/Views/Manage/Index.cshtml @@ -6,38 +6,43 @@ -
-
-
+@if (!this.ViewContext.ModelState.IsValid) +{ +
+
+
+
-
-
-
-
-
- - -
-
- - @if(Model.IsEmailConfirmed) - { -
- - -
- } - else - { - - - } - -
- -
+} +
+
+
+ + +
-
+
+
+ + + +
+
+ @if(Model.IsEmailConfirmed) + { + + + confirmed + + } + else + { + + } +
+
+ + @section Scripts { @await Html.PartialAsync("_ValidationScriptsPartial")