-
+
Github
-
+
Mattermost
-
+
Twitter
@if (!string.IsNullOrEmpty(_env.OnionUrl) && !Context.Request.IsOnion())
{
-
+
Copy Tor URL
diff --git a/BTCPayServer/Views/Shared/_LayoutSignedOut.cshtml b/BTCPayServer/Views/Shared/_LayoutSignedOut.cshtml
new file mode 100644
index 000000000..665a7e326
--- /dev/null
+++ b/BTCPayServer/Views/Shared/_LayoutSignedOut.cshtml
@@ -0,0 +1,59 @@
+@{
+ Layout = "_LayoutSimple";
+ ViewBag.ShowLeadText ??= false;
+}
+
+@section PageHeadContent {
+
+ @await RenderSectionAsync("PageHeadContent", false)
+}
+
+@section PageFootContent {
+
+ @await RenderSectionAsync("PageFootContent", false)
+}
+
+
+
+
+
+
+
+
Welcome to your BTCPay Server
+ @if (ViewBag.ShowLeadText)
+ {
+
+ A self-hosted, open-source cryptocurrency payment processor.
+ It is secure, private, censorship-resistant and free.
+
+ }
+
+
+
+
+
+
+
@ViewData["Title"]
+ @RenderBody()
+
+
+
+
+
+
diff --git a/BTCPayServer/Views/UIAccount/ForgotPassword.cshtml b/BTCPayServer/Views/UIAccount/ForgotPassword.cshtml
index d87ac8ad1..ff08e6989 100644
--- a/BTCPayServer/Views/UIAccount/ForgotPassword.cshtml
+++ b/BTCPayServer/Views/UIAccount/ForgotPassword.cshtml
@@ -1,36 +1,26 @@
@model ForgotPasswordViewModel
@{
ViewData["Title"] = "Forgot your password?";
- Layout = "_LayoutSimple";
+ Layout = "_LayoutSignedOut";
}
-
+
+ We all forget passwords every now and then. Just provide email address tied to
+ your account and we'll start the process of helping you recover your account.
+
-
-
-
-
+
-@section PageFootContent {
-
-}
+
+ Log in
+
diff --git a/BTCPayServer/Views/UIAccount/ForgotPasswordConfirmation.cshtml b/BTCPayServer/Views/UIAccount/ForgotPasswordConfirmation.cshtml
index 7f26551b9..5441d34c7 100644
--- a/BTCPayServer/Views/UIAccount/ForgotPasswordConfirmation.cshtml
+++ b/BTCPayServer/Views/UIAccount/ForgotPasswordConfirmation.cshtml
@@ -1,12 +1,10 @@
@{
ViewData["Title"] = "Email sent!";
+ Layout = "_LayoutSignedOut";
}
-
-
-
@ViewData["Title"]
-
- Please check your email to reset your password.
-
-
-
+
Please check your email to reset your password.
+
+
+ Log in
+
diff --git a/BTCPayServer/Views/UIAccount/Login.cshtml b/BTCPayServer/Views/UIAccount/Login.cshtml
index cea914fc2..31494cbb5 100644
--- a/BTCPayServer/Views/UIAccount/Login.cshtml
+++ b/BTCPayServer/Views/UIAccount/Login.cshtml
@@ -1,80 +1,49 @@
@using BTCPayServer.Abstractions.Contracts
@model LoginViewModel
-@inject BTCPayServer.Services.BTCPayServerEnvironment env
@inject ISettingsRepository _settingsRepository
@{
- ViewData["Title"] = "Log in";
- Layout = "_LayoutSimple";
+ ViewData["Title"] = "Sign in";
+ Layout = "_LayoutSignedOut";
}
-
-
-
-
-
-
-
Welcome to your BTCPay Server
-
-
-
-
-
-