From 796257b0ac66bbab6baa0ab5916b87e3b9610219 Mon Sep 17 00:00:00 2001 From: Falkvinge Date: Sat, 25 Feb 2017 14:00:25 +0100 Subject: [PATCH] Finalized clean login page --- .../Pages.Security.designer.cs | 26 ++++++++++++++++--- Site/App_GlobalResources/Pages.Security.resx | 15 ++++++++--- Site/Security/Login.aspx | 4 +-- Site/Security/Login.aspx.cs | 4 +++ Site/Security/Login.aspx.designer.cs | 8 +++--- todo.txt | 4 +-- 6 files changed, 46 insertions(+), 15 deletions(-) diff --git a/Site/App_GlobalResources/Pages.Security.designer.cs b/Site/App_GlobalResources/Pages.Security.designer.cs index 60a596fe..0391c621 100644 --- a/Site/App_GlobalResources/Pages.Security.designer.cs +++ b/Site/App_GlobalResources/Pages.Security.designer.cs @@ -314,11 +314,11 @@ namespace Resources.Pages { } /// - /// Looks up a localized string similar to Manual Login. + /// Looks up a localized string similar to Manual Password Login. /// - internal static string Login_ManualLogin { + internal static string Login_ManualLoginHeader { get { - return ResourceManager.GetString("Login_ManualLogin", resourceCulture); + return ResourceManager.GetString("Login_ManualLoginHeader", resourceCulture); } } @@ -341,7 +341,7 @@ namespace Resources.Pages { } /// - /// Looks up a localized string similar to Reset Password. + /// Looks up a localized string similar to Help, I forgot my password!. /// internal static string Login_ResetPassword { get { @@ -376,6 +376,24 @@ namespace Resources.Pages { } } + /// + /// Looks up a localized string similar to Use BitID two-factor authentication?. + /// + internal static string Login_UseBitIdLogin { + get { + return ResourceManager.GetString("Login_UseBitIdLogin", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Use manual password login?. + /// + internal static string Login_UseManualLogin { + get { + return ResourceManager.GetString("Login_UseManualLogin", resourceCulture); + } + } + /// /// Looks up a localized string similar to User. /// diff --git a/Site/App_GlobalResources/Pages.Security.resx b/Site/App_GlobalResources/Pages.Security.resx index 941d22d1..37e7e1e7 100644 --- a/Site/App_GlobalResources/Pages.Security.resx +++ b/Site/App_GlobalResources/Pages.Security.resx @@ -203,8 +203,9 @@ Logging in, please wait... - - Manual Login + + Manual Password Login + Header to manual username/password form Login @@ -213,7 +214,7 @@ Pass - Reset Password + Help, I forgot my password! Sign me up for {0}! @@ -225,6 +226,14 @@ Swarmops doesn't recognize this address. Please log in manually and activate your address before using it to login. + + Use BitID two-factor authentication? + Switches from manual to BitID + + + Use manual password login? + Switches from BitId to Username/Password form + User diff --git a/Site/Security/Login.aspx b/Site/Security/Login.aspx index 6746ba70..30703ea7 100644 --- a/Site/Security/Login.aspx +++ b/Site/Security/Login.aspx @@ -211,8 +211,8 @@ -


Using Manual Password Login?

- +


Using Manual Password Login?

+ diff --git a/Site/Security/Login.aspx.cs b/Site/Security/Login.aspx.cs index 4f0ebff9..2bce1668 100644 --- a/Site/Security/Login.aspx.cs +++ b/Site/Security/Login.aspx.cs @@ -397,6 +397,10 @@ namespace Swarmops.Pages.Security this.LabelSidebarManualLoginHeader.Text = Resources.Pages.Security.Login_ManualLogin; this.LabelHeader.Text = Resources.Pages.Security.Login_Header; this.LabelSidebarResetPassword.Text = Resources.Pages.Security.Login_ResetPassword; */ + this.LabelManualLoginHeader.Text = Resources.Pages.Security.Login_ManualLoginHeader; + this.LabelUseManualLogin.Text = Resources.Pages.Security.Login_UseManualLogin; + this.LabelUseBitIdLogin.Text = Resources.Pages.Security.Login_UseBitIdLogin; + this.LabelForgotPassword.Text = Resources.Pages.Security.Login_ResetPassword; this.LiteralCredentialsUser.Text = Resources.Pages.Security.Login_Username; this.LiteralCredentialsPass.Text = Resources.Pages.Security.Login_Password; this.LiteralCredentials2FA.Text = Resources.Pages.Security.Login_GoogleAuthenticatorCode; diff --git a/Site/Security/Login.aspx.designer.cs b/Site/Security/Login.aspx.designer.cs index 83b622a7..12e2a3a0 100644 --- a/Site/Security/Login.aspx.designer.cs +++ b/Site/Security/Login.aspx.designer.cs @@ -157,22 +157,22 @@ namespace Swarmops.Pages.Security { protected global::System.Web.UI.WebControls.Label LabelForgotPassword; /// - /// LabelManualLogin control. + /// LabelUseManualLogin control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Label LabelManualLogin; + protected global::System.Web.UI.WebControls.Label LabelUseManualLogin; /// - /// Label1 control. + /// LabelUseBitIdLogin control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Label Label1; + protected global::System.Web.UI.WebControls.Label LabelUseBitIdLogin; /// /// PanelCheat control. diff --git a/todo.txt b/todo.txt index 2d977912..5c7fb14f 100644 --- a/todo.txt +++ b/todo.txt @@ -45,7 +45,7 @@ SWARMOPS IV [ ] Icons for Validation [X] Favicon New [X] Inspect Ledger header bad -[ ] Clean Login +[X] Clean Login @@ -70,4 +70,4 @@ SWARMOPS VI [ ] Controlify financialtransaction to show on balancetx page [ ] Close ledger year -[ ] Internal TX account type \ No newline at end of file +[X] Internal TX account type \ No newline at end of file