Finalized loc on login page

This commit is contained in:
Rick Falkvinge
2014-11-06 01:22:21 +01:00
parent e608bf6928
commit 2ab9b21c05
3 changed files with 11 additions and 4 deletions
@@ -178,6 +178,9 @@
<data name="Login_Info" xml:space="preserve">
<value>Login to Swarmops using your bitid-enabled bitcoin wallet. You do not need any funds in it. If you don't have a bitid-enabled bitcoin wallet, you can log in manually using a legacy username and password. (Your username is your name or email.)</value>
</data>
<data name="Login_LoggingIn" xml:space="preserve">
<value>Logging in, please wait...</value>
</data>
<data name="Login_ManualLogin" xml:space="preserve">
<value>Manual Login</value>
</data>
+4 -4
View File
@@ -78,7 +78,7 @@
dataType: "json",
success: function (msg) {
if (msg.d) {
alert('Logging in, please wait...');
alert("<asp:Literal ID="LiteralLoginSuccess" runat="server" />");
} else {
// do nothing
}
@@ -171,9 +171,9 @@
<div class="box">
<div class="content" style="line-height:24px">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td>User&nbsp;&nbsp;</td><td align="right"><input id="TextLogin" class="InputManualCredentials" type="text" /></td></tr>
<tr><td>Pass&nbsp;&nbsp;</td><td align="right"><input id="TextPass" class="InputManualCredentials" type="password" /></td></tr>
<tr style="display:none"><td>2FA&nbsp;&nbsp;</td><td><input id="Text2FA" class="InputManualCredentials" type="password" /></td></tr>
<tr><td><asp:Literal ID="LiteralCredentialsUser" runat="server" />&nbsp;&nbsp;</td><td align="right"><input id="TextLogin" class="InputManualCredentials" type="text" /></td></tr>
<tr><td><asp:Literal ID="LiteralCredentialsPass" runat="server" />&nbsp;&nbsp;</td><td align="right"><input id="TextPass" class="InputManualCredentials" type="password" /></td></tr>
<tr style="display:none"><td><asp:Literal id="LiteralCredentials2FA" runat="server" />&nbsp;&nbsp;</td><td><input id="Text2FA" class="InputManualCredentials" type="password" /></td></tr>
</table>
</div>
</div>
+4
View File
@@ -288,6 +288,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.LiteralCredentialsUser.Text = Resources.Pages_Security.Login_Username;
this.LiteralCredentialsPass.Text = Resources.Pages_Security.Login_Password;
this.LiteralCredentials2FA.Text = Resources.Pages_Security.Login_GoogleAuthenticatorCode;
this.LiteralLoginSuccess.Text = Resources.Pages_Security.Login_LoggingIn;
}