diff --git a/Site/Security/Login.aspx b/Site/Security/Login.aspx index 119ac2b9..6746ba70 100644 --- a/Site/Security/Login.aspx +++ b/Site/Security/Login.aspx @@ -167,6 +167,23 @@ }); } + function toManualLogin() { + $('#divLoginQr').slideUp(); + $('#divLoginManual').slideDown(); + $('#TextLogin').focus(); + $('#paraSwitchManualLogin').hide(); + $('#paraSwitchBitIdLogin').show(); + + // return false; // says we handled the click, don't process further + } + + function toBitIdLogin() { + $('#divLoginQr').slideDown(); + $('#divLoginManual').slideUp(); + $('#paraSwitchManualLogin').show(); + $('#paraSwitchBitIdLogin').hide(); + } + var bitIdUri = ''; var bitIdNonce = ''; @@ -175,42 +192,43 @@ - - -
-
+
+
-
+


Using Manual Password Login?

+ + + + + -
-
- - - - -
  
  
  
-
-
- - - -
-
-

Dev's Cheat Button

-

Since we're running on localhost, on a nonstandard port, with a debugger attached, and under Windows, this is clearly not a production environment. Since it's unlikely that the outside Internet has access to this machine, which means you can't login with BitID, a cheat button has been provided for you.

Press the button below to log on as Sandbox Administrator.

- -
-
-
-
+
+
+

Dev's Cheat Button

+

Since we're running on localhost, on a nonstandard port, with a debugger attached, and under Windows, this is clearly not a production environment. Since it's unlikely that the outside Internet has access to this machine, which means you can't login with BitID, a cheat button has been provided for you.

Press the button below to log on as Sandbox Administrator.

+
+
+
+
+ + diff --git a/Site/Security/Login.aspx.designer.cs b/Site/Security/Login.aspx.designer.cs index 831cad3c..83b622a7 100644 --- a/Site/Security/Login.aspx.designer.cs +++ b/Site/Security/Login.aspx.designer.cs @@ -111,6 +111,15 @@ namespace Swarmops.Pages.Security { /// protected global::System.Web.UI.WebControls.Image ImageBitIdQr; + /// + /// LabelManualLoginHeader control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label LabelManualLoginHeader; + /// /// LiteralCredentialsUser control. /// @@ -138,6 +147,33 @@ namespace Swarmops.Pages.Security { /// protected global::System.Web.UI.WebControls.Literal LiteralCredentials2FA; + /// + /// LabelForgotPassword control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label LabelForgotPassword; + + /// + /// LabelManualLogin control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label LabelManualLogin; + + /// + /// Label1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label Label1; + /// /// PanelCheat control. ///